From: Forest W <lyr...@ww...> - 2003-03-25 22:30:13
|
I am trying to build the compiled version of tclxml (using expat) on red hat linux 7.3. Following the instructions in the README file, I am able to configure, make, and install from the tclxml-2.6 directory. I then change to the tclxml-2.6/expat directory, and configure (using the same args as the previous configure) runs just fine, but make produces this error: make: *** No rule to make target `tclexpat.o', needed by `libTclexpat2.6.so'. Stop. The expat Makefile appears to expect tclexpat.c to be in the current directory, when it is actually in the parent dir. I have tried to work around this problem, but just ran into other errors. How do I get the expat part of tclxml to build? |
From: Andreas K. <and...@Ac...> - 2003-03-25 22:40:15
|
> -----Original Message----- > From: tcl...@li... > [mailto:tcl...@li...]On Behalf Of Forest W > Sent: Tuesday, March 25, 2003 2:30 PM > To: tcl...@li... > Subject: [Tclxml-users] Problems building tclxml with expat on linux > > > I am trying to build the compiled version of tclxml (using expat) on > red hat linux 7.3. Following the instructions in the README file, I > am able to configure, make, and install from the tclxml-2.6 directory. > I then change to the tclxml-2.6/expat directory, and configure (using > the same args as the previous configure) runs just fine, but make > produces this error: > > make: *** No rule to make target `tclexpat.o', needed by > `libTclexpat2.6.so'. Stop. > > The expat Makefile appears to expect tclexpat.c to be in the current > directory, when it is actually in the parent dir. I have tried to > work around this problem, but just ran into other errors. How do I > get the expat part of tclxml to build? Excerpt of ActiveState ActiveTcl build done last night, linux. Some commands are intentionally broken over several lines to make them more readable. First tclxml, then tclxml/expat. For comparison with your logs. As you can see I did not have the problem you saw. /nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86/ is the main build directory and can be replaced with something shorter for readability. ][ /// 8.4 | unix BUILDING MODULES tclxml START tclxml 00:16:18 [/nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86 /tclxml/linux-ix86]: executing ../configure --prefix=/nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/li nux-ix86/out --exec-prefix=/nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/buil ds/linux-ix86/out/linux-ix86 --with-tcl=/nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/ linux-ix86/tcl/unix/linux-ix86 --with-tk=/nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/l inux-ix86/tk/unix/linux-ix86 --with-tkinclude=/nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/b uilds/linux-ix86/tk/generic --enable-shared creating cache ./config.cache checking for correct TEA configuration... ok checking for Tcl configuration... found /nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86/ tcl/unix/linux-ix86/tclConfig.sh checking for existence of /nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86/ tcl/unix/linux-ix86/tclConfig.sh... loading checking for Cygwin environment... no checking for mingw32 environment... no checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking if the compiler understands -pipe... yes checking for a BSD compatible install... /usr/bin/install -c checking whether make sets ${MAKE}... yes checking for ranlib... ranlib checking for object suffix... o checking for executable suffix... no checking for Tcl public headers... /nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86/ out/include checking for building with threads... no (default) checking how to build libraries... shared checking how to run the C preprocessor... gcc -pipe -E checking if 64bit support is enabled... no checking if 64bit Sparc VIS support is requested... no checking system version (for dynamic loading)... Linux-2.2.18 checking for dlopen in -ldl... yes checking for ar... ar checking for build with symbols... no checking for tclsh... /nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86/ tcl/unix/linux-ix86/tclsh updating cache ./config.cache creating ./config.status creating Makefile creating library/pkgIndex.tcl creating TclxmlConfig.sh [/nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86 /tclxml/linux-ix86]: executing make all install gcc -pipe -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=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_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DPEEK_XCLOSEIM=1 -DHAVE_SYS_IOCTL_H=1 -DVERSION=\"2.6\" -DTCLXML_VERSION=\"2.6\" -DUSE_TCL_STUBS=1 -I"/nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix 86/out/include" -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -fPIC -c `echo ../tclxml.c` -o tclxml.o gcc -pipe -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE64_SOURCE=1 -DTCL_ WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPE NDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -D HAVE_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 _GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -D HAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -D PEEK_XCLOSEIM=1 -DHAVE_SYS_IOCTL_H=1 -DVERSION=\"2.6\" -DTCLXML_VERSION=\" 2.6\" -DUSE_TCL_STUBS=1 -I"/nfs/crimper/home/andreask/activetcl/dbn/lba/p liers/night/builds/linux-ix86/out/include" -O -D__NO_STRING_INLINES -D__N O_MATH_INLINES -fPIC -c `echo ../tclxmlStubInit.c` -o tclxmlStubInit.o gcc -pipe -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE64_SOURCE=1 -DTCL_ WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPE NDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -D HAVE_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 _GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -D HAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -D PEEK_XCLOSEIM=1 -DHAVE_SYS_IOCTL_H=1 -DVERSION=\"2.6\" -DTCLXML_VERSION=\" 2.6\" -DUSE_TCL_STUBS=1 -I"/nfs/crimper/home/andreask/activetcl/dbn/lba/p liers/night/builds/linux-ix86/out/include" -O -D__NO_STRING_INLINES -D__N O_MATH_INLINES -fPIC -c `echo ../tclxmlStubLib.c` -o tclxmlStubLib.o rm -f libTclxml2.6.so gcc -pipe -shared -o libTclxml2.6.so tclxml.o tclxmlStubInit.o tclxmlStubLib.o -L/nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/nig ht/builds/linux-ix86/tcl/unix/linux-ix86 -ltclstub8.4 : libTclxml2.6.so rm -f libTclxmlstub2.6.a ar cr libTclxmlstub2.6.a tclxmlStubLib.o : libTclxmlstub2.6.a /usr/bin/install -c libTclxml2.6.so /nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86/ out/linux-ix86/lib/Tclxml2.6/libTclxml2.6.so : /nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86/ out/linux-ix86/lib/Tclxml2.6/libTclxml2.6.so /usr/bin/install -c libTclxmlstub2.6.a /nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86/ out/linux-ix86/lib/Tclxml2.6/libTclxmlstub2.6.a : /nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86/ out/linux-ix86/lib/Tclxml2.6/libTclxmlstub2.6.a /usr/bin/install -c -m 644 TclxmlConfig.sh /nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86/ out/linux-ix86/lib if test "x1" = "x1"; then \ /usr/bin/install -c -m 644 library/pkgIndex.tcl /nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86/ out/linux-ix86/lib/Tclxml2.6; \ fi Installing header files in /nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86/ out/include Installing ../tclxml.h Installing ../library/xml__tcl.tcl Installing ../library/sgml-8.0.tcl Installing ../library/sgml-8.1.tcl Installing ../library/xml-8.0.tcl Installing ../library/xml-8.1.tcl Installing ../library/sgmlparser.tcl Installing ../library/tclparser-8.0.tcl Installing ../library/tclparser-8.1.tcl Installing ../library/xpath.tcl libraries done FINISHED tclxml 00:16:22 BUILDING MODULES tclxml/expat START tclxml/expat 00:16:22 [/nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86 /tclxml/expat/linux-ix86]: executing ../configure --prefix=/nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/li nux-ix86/out --exec-prefix=/nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/buil ds/linux-ix86/out/linux-ix86 --with-tcl=/nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/ linux-ix86/tcl/unix/linux-ix86 --with-tk=/nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/l inux-ix86/tk/unix/linux-ix86 --with-tkinclude=/nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/b uilds/linux-ix86/tk/generic --enable-shared creating cache ./config.cache checking for correct TEA configuration... ok checking for Tcl configuration... found /nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86/ tcl/unix/linux-ix86/tclConfig.sh checking for existence of /nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86/ tcl/unix/linux-ix86/tclConfig.sh... loading checking for Cygwin environment... no checking for mingw32 environment... no checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking if the compiler understands -pipe... yes checking for a BSD compatible install... /usr/bin/install -c checking whether make sets ${MAKE}... yes checking for ranlib... ranlib checking for object suffix... o checking for executable suffix... no checking for Tclxml configuration... found /nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86/ out/linux-ix86/lib/TclxmlConfig.sh checking for existence of /nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86/ out/linux-ix86/lib/TclxmlConfig.sh... loading checking for Tcl public headers... /nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86/ out/include checking for building with threads... no (default) checking how to build libraries... shared checking how to run the C preprocessor... gcc -pipe -E checking if 64bit support is enabled... no checking if 64bit Sparc VIS support is requested... no checking system version (for dynamic loading)... Linux-2.2.18 checking for dlopen in -ldl... yes checking for ar... ar checking for build with symbols... no checking for tclsh... /nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86/ tcl/unix/linux-ix86/tclsh updating cache ./config.cache creating ./config.status creating Makefile [/nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86 /tclxml/expat/linux-ix86]: executing make all install gcc -pipe -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=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_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DPEEK_XCLOSEIM=1 -DHAVE_SYS_IOCTL_H=1 -DVERSION=\"2.6\" -DTCLEXPAT_VERSION=\"2.6\" -DUSE_TCL_STUBS=1 -DUSE_TCLXML_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -I"/nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix 86/out/include" -I../xmltok -I../xmlparse -I../xmlwf -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -fPIC -c `echo ../../tclexpat.c` -o tclexpat.o gcc -pipe -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE64_SOURCE=1 -DTCL_ WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPE NDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -D HAVE_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 _GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -D HAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -D PEEK_XCLOSEIM=1 -DHAVE_SYS_IOCTL_H=1 -DVERSION=\"2.6\" -DTCLEXPAT_VERSION= \"2.6\" -DUSE_TCL_STUBS=1 -DUSE_TCLXML_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -I" /nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86/ out/include" -I../xmltok -I../xmlparse -I../xmlwf -O -D__NO_STRING_INLINE S -D__NO_MATH_INLINES -fPIC -c `echo ../xmltok/xmltok.c` -o xmltok.o gcc -pipe -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE64_SOURCE=1 -DTCL_ WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPE NDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -D HAVE_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 _GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -D HAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -D PEEK_XCLOSEIM=1 -DHAVE_SYS_IOCTL_H=1 -DVERSION=\"2.6\" -DTCLEXPAT_VERSION= \"2.6\" -DUSE_TCL_STUBS=1 -DUSE_TCLXML_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -I" /nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86/ out/include" -I../xmltok -I../xmlparse -I../xmlwf -O -D__NO_STRING_INLINE S -D__NO_MATH_INLINES -fPIC -c `echo ../xmltok/xmlrole.c` -o xmlrole.o gcc -pipe -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE64_SOURCE=1 -DTCL_ WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPE NDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -D HAVE_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 _GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -D HAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -D PEEK_XCLOSEIM=1 -DHAVE_SYS_IOCTL_H=1 -DVERSION=\"2.6\" -DTCLEXPAT_VERSION= \"2.6\" -DUSE_TCL_STUBS=1 -DUSE_TCLXML_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -I" /nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86/ out/include" -I../xmltok -I../xmlparse -I../xmlwf -O -D__NO_STRING_INLINE S -D__NO_MATH_INLINES -fPIC -c `echo ../xmlwf/xmlwf.c` -o xmlwf.o gcc -pipe -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE64_SOURCE=1 -DTCL_ WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPE NDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -D HAVE_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 _GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -D HAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -D PEEK_XCLOSEIM=1 -DHAVE_SYS_IOCTL_H=1 -DVERSION=\"2.6\" -DTCLEXPAT_VERSION= \"2.6\" -DUSE_TCL_STUBS=1 -DUSE_TCLXML_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -I" /nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86/ out/include" -I../xmltok -I../xmlparse -I../xmlwf -O -D__NO_STRING_INLINE S -D__NO_MATH_INLINES -fPIC -c `echo ../xmlwf/xmlfile.c` -o xmlfile.o gcc -pipe -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE64_SOURCE=1 -DTCL_ WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPE NDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -D HAVE_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 _GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -D HAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -D PEEK_XCLOSEIM=1 -DHAVE_SYS_IOCTL_H=1 -DVERSION=\"2.6\" -DTCLEXPAT_VERSION= \"2.6\" -DUSE_TCL_STUBS=1 -DUSE_TCLXML_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -I" /nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86/ out/include" -I../xmltok -I../xmlparse -I../xmlwf -O -D__NO_STRING_INLINE S -D__NO_MATH_INLINES -fPIC -c `echo ../xmlwf/codepage.c` -o codepage.o gcc -pipe -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE64_SOURCE=1 -DTCL_ WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPE NDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -D HAVE_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 _GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -D HAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -D PEEK_XCLOSEIM=1 -DHAVE_SYS_IOCTL_H=1 -DVERSION=\"2.6\" -DTCLEXPAT_VERSION= \"2.6\" -DUSE_TCL_STUBS=1 -DUSE_TCLXML_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -I" /nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86/ out/include" -I../xmltok -I../xmlparse -I../xmlwf -O -D__NO_STRING_INLINE S -D__NO_MATH_INLINES -fPIC -c `echo ../xmlparse/hashtable.c` -o hashtable.o gcc -pipe -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE64_SOURCE=1 -DTCL_ WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPE NDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -D HAVE_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 _GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -D HAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -D PEEK_XCLOSEIM=1 -DHAVE_SYS_IOCTL_H=1 -DVERSION=\"2.6\" -DTCLEXPAT_VERSION= \"2.6\" -DUSE_TCL_STUBS=1 -DUSE_TCLXML_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -I" /nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86/ out/include" -I../xmltok -I../xmlparse -I../xmlwf -O -D__NO_STRING_INLINE S -D__NO_MATH_INLINES -fPIC -c `echo ../xmlwf/unixfilemap.c` -o unixfilemap.o gcc -pipe -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE64_SOURCE=1 -DTCL_ WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPE NDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -D HAVE_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 _GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -D HAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -D PEEK_XCLOSEIM=1 -DHAVE_SYS_IOCTL_H=1 -DVERSION=\"2.6\" -DTCLEXPAT_VERSION= \"2.6\" -DUSE_TCL_STUBS=1 -DUSE_TCLXML_STUBS=1 -DXML_DTD=1 -DXML_NS=1 -I" /nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86/ out/include" -I../xmltok -I../xmlparse -I../xmlwf -O -D__NO_STRING_INLINE S -D__NO_MATH_INLINES -fPIC -c `echo ../xmlparse/xmlparse.c` -o xmlparse.o rm -f libTclexpat2.6.so gcc -pipe -shared -o libTclexpat2.6.so tclexpat.o xmltok.o xmlrole.o xmlwf.o xmlfile.o codepage.o hashtable.o unixfilemap.o parse.o -L/nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/build s/linux-ix86/tcl/unix/linux-ix86 -ltclstub8.4 -L/nfs/crimper/home/andreask/a ctivetcl/dbn/lba/pliers/night/builds/linux-ix86/out/linux-ix86/lib/Tclxml2.6 -lTclxmlstub2.6 : libTclexpat2.6.so (echo 'package ifneeded xml::expat 2.6 \ [list load [file join $dir libTclexpat2.6.so]]'\ ) > pkgIndex.tcl /usr/bin/install -c libTclexpat2.6.so /nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86/ out/linux-ix86/lib/Tclexpat2.6/libTclexpat2.6.so : /nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86/ out/linux-ix86/lib/Tclexpat2.6/libTclexpat2.6.so if test "x1" = "x1"; then \ /usr/bin/install -c -m 644 pkgIndex.tcl /nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86/ out/linux-ix86/lib/Tclexpat2.6; \ fi Installing header files in /nfs/crimper/home/andreask/activetcl/dbn/lba/pliers/night/builds/linux-ix86/ out/include Installing ../xmltok/xmltok.h Installing ../xmltok/xmlrole.h Installing ../xmlparse/xmlparse.h libraries done FINISHED tclxml/expat 00:16:29 -- Andreas Kupries <and...@Ac...> Developer @ http://www.ActiveState.com Join the community at the 10th Tcl conference http://wiki.tcl.tk/6274 |
From: Forest W <lyr...@ti...> - 2003-03-27 19:45:29
|
Now that I have tclxml building, I am trying to build a compiled implementation of tcldom on red hat linux 7.3. =46ollowing the instructions in the README file, I am able to configure, make, and install from the tcldom-2.6 directory. However, the libxml2 build fails, as does the TclDOMPro build. Within the tcldom/src-libxml2 directory, the configure script appears to run okay, finding my tcl and libxml2 directories in the places I specify. However, running make results in a mess of errors, beginning with this one: In file included from tcldom-libxml2.c:21: tcldom-libxml2.h:23:20: tcldom.h: No such file or directory tcldom.h exists in the tcldom directory (which is the parent of my build dir) and in ${prefix}/include, but it isn't being found. This occurs even when I use the --with-Tcldom configure switch. How do I get a successful build in tcldom/src-libxml2? As an alternative, I tried building TclDOMPro (in tcldom/src). That doesn't work either, because it requires expat, yet doesn't look for it correctly. The source files in tcldom/src are trying to #include <xmlparse.h>, which is a header file in the tclxml distribution of expat. That's fine, because that's the version I just built and want to use. However, tcldom/src/configure looks for an expat library matching a pattern like "libexpat*", which is the library built by the stand-alone distribution of expat. The library built by the tclxml distribution is called libTclexpat2.6, so it is not found. Other than the file name, are these libraries compatible? Wouldn't it make sense to have the tcldompro configure script and source files recognize the same distribution of expat? |