tDOM compilation

From: Brian Hennessey <brian(at)hennesseyconsulting(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: tDOM compilation
Date: 2005-03-25 21:20:33
Message-ID: 424480A1.8020906@hennesseyconsulting.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hello -

Has anyone had a problem installing tDOM as a module for Aolserver 3.3?
I have edited the CONFIG file as instructed and sh CONFIG runs fine. But
when I run "make" I receive a bunch of parsing errors??

CONFIG file:
# AOLserver 3.X. It delivers its own patched Tcl lib.
# Also, this one builds tdom as AOLserver module.
# Please do not use "make install" after doing "make".
# You have to manually adjust AOLserver config file
# to load tdom module. See README.AOL for more info.
# ----------------------------------------------------
aolsrc="/home/brian/aolserver/aolserver"
../configure --enable-threads --disable-tdomalloc \
--with-aolserver=$aolsrc \
--with-tcl=$aolsrc/tcl8.3.2/unix

MAKE RESULTS:

gcc -pipe -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTCL_THREADS=1
-DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1
-DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1
-DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
-DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1
-DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1
-DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_MEMMOVE=1
-DHAVE_BCOPY=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long
-DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_UNISTD_H=1
-DHAVE_SYS_PARAM_H=1 -DVERSION=\"0.7.8\" -DUSE_THREAD_ALLOC=1
-D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1
-DHAVE_READDIR_R=1 -DTCL_THREADS=1 -DUSE_TCL_STUBS=1 -DNS_AOLSERVER=1
-DUSE_NORMAL_ALLOCATOR=1 -DXML_DTD=1 -DXML_NS=1 -DTDOM_NO_UNKNOWN_CMD=1
-DUSE_NORMAL_ALLOCATOR=1 -DWORDS_BIGENDIAN=1 -DBYTEORDER=4321
-I../generic -I../expat -I"/usr/local/include"
-I/home/brian/aolserver/aolserver/include -O -D__NO_STRING_INLINES
-D__NO_MATH_INLINES -fPIC -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES
-fPIC -c `echo ../generic/xmlsimple.c` -o xmlsimple.o
In file included from ../generic/xmlsimple.c:69:
../generic/dom.h:487: error: parse error before "Tcl_Obj"
../generic/dom.h:487: warning: no semicolon at end of struct or union
../generic/dom.h:495: error: parse error before '}' token
../generic/dom.h:495: warning: data definition has no type or storage class
../generic/dom.h:504: error: parse error before "domDocument"
../generic/dom.h:504: warning: no semicolon at end of struct or union
../generic/dom.h:509: error: parse error before "mutex"
../generic/dom.h:509: warning: data definition has no type or storage class
../generic/dom.h:510: error: parse error before "rcond"
../generic/dom.h:510: warning: data definition has no type or storage class
../generic/dom.h:511: error: parse error before "wcond"

Any ideas??

--
Brian Hennessey
Systems Analyst
hennessey consulting services LLC
(804) 673-7312 : www.hennesseyconsulting.com

Browse pgsql-novice by date

  From Date Subject
Next Message Brian Hennessey 2005-03-25 21:42:43 tDOM compilation
Previous Message Walker, Jed S 2005-03-25 19:50:27 Re: outputting everything from psql to a file