From: Steve B. <Ste...@zv...> - 2002-10-15 21:24:00
|
Hi Larry, Wait a day or two (at least) for the CVS snapshot to catch up with changes to the code. Yesterday I updated all of the packages to v2.4 and at one point TclDOM wouldn't load because it was looking for TclXML v2.4, which hadn't yet been updated (it is now). There are now three people working on the build/install system, so hopefully it won't take too long to get these problems sorted out. Cheers, Steve Ball You wrote: > I have the latest TclDOM code from the cvs (the > snapshot tar file that ActiveState creates for > us daily). > > $ gtar xfz Tars/tcldom-20021014.tar.gz > $ cd tcldom > $ autoconf > configure:3904: error: do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs. LIBOBJS' > $ $PWD/configure --prefix=/usr/tcl84 --enable-symbols --enable-shared --with-xml2 > checking for correct TEA configuration... ok > checking for Tcl configuration... found /vol/tclsrcsol/tcl84/tcl/unix/tclConfig.sh > checking for existence of /vol/tclsrcsol/tcl84/tcl/unix/tclConfig.sh... loading > checking for gcc... cc > checking for C compiler default output... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... no > checking whether cc accepts -g... yes > checking for a BSD-compatible install... /projects/gnu/sparc-sun-solaris2.6/bin/ginstall -c > checking whether make sets ${MAKE}... yes > checking for ranlib... ranlib > checking for Tcl public headers... /usr/tcl84/include > checking for building with threads... no (default) > checking how to build libraries... shared > checking how to run the C preprocessor... cc -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... no > checking for unistd.h... yes > checking if 64bit support is enabled... no > checking if 64bit Sparc VIS support is requested... no > checking system version (for dynamic loading)... SunOS-5.6 > checking for dlopen in -ldl... yes > checking for ar... ar > checking for build with symbols... yes > checking for tclsh... /vol/tclsrcsol/tcl84/tcl/unix/tclsh > configure: creating ./config.status > config.status: creating Makefile > config.status: creating library/pkgIndex.tcl > cc -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STR > UCT_DIRENT64=1 -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DWORDS_BIGENDIAN=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_SY > S_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZ > NAME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BL > KSIZE=1 -Dstrtod=fixstrtod -DSTDC_HEADERS=1 -Dsocklen_t=unsigned -DNO_UNION_WAIT > =1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -D_REENTRANT=1 -D_POSIX_PTHREAD_SEMANT > ICS=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DPACKAGE_NAME=\"\" -DPACKAGE_T > ARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\ > " -DVERSION=\"2.4\" -DTCLDOM_VERSION=\"2.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H > =1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DH > AVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -D_REENTRANT=1 -D_POSIX_PT > HREAD_SEMANTICS=1 -DUSE_TCL_STUBS=1 -I"/usr/tcl84/include" -g -KPIC -c `e > cho tcldom.c` -o tcldom.o > "tcldom.c", line 210: warning: argument #3 is incompatible with prototype: > prototype: pointer to pointer to const char : "unknown", line 0 > argument : pointer to pointer to char > "tcldom.c", line 285: warning: argument #3 is incompatible with prototype: > prototype: pointer to pointer to const char : "unknown", line 0 > argument : pointer to pointer to char > rm -f libTcldom2.4g.so > /usr/ccs/bin/ld -G -z text -o libTcldom2.4g.so tcldom.o -L/vol/tclsrcsol/tcl8 > 4/tcl/unix -ltclstub8.4g > : libTcldom2.4g.so > $make install > /projects/gnu/sparc-sun-solaris2.6/bin/ginstall -c libTcldom2.4g.so /usr/tcl84/lib/Tcldom2.4/libTcldom2.4g.so > : /usr/tcl84/lib/Tcldom2.4/libTcldom2.4g.so > if test "x1" = "x1"; then \ > /projects/gnu/sparc-sun-solaris2.6/bin/ginstall -c -m 644 library/pkgIndex.tcl /usr/tcl84/lib/Tcldom2.4; \ > fi > Installing header files in /usr/tcl84/include > Installing /vol/tclsrcsol/tcl84/tcldom/tcldom.h > Installing /vol/tclsrcsol/tcl84/tcldom/library/dom.tcl > Installing /vol/tclsrcsol/tcl84/tcldom/library/domimpl.tcl > Installing /vol/tclsrcsol/tcl84/tcldom/library/dommap.tcl > Installing /vol/tclsrcsol/tcl84/tcldom/library/xmlswitch.tcl > libraries done > $ wish ./install.tcl > Build data file is missing. > Attempting to build from /vol/tclsrcsol/tcl84/tcldom/config.status > > with a dialog box that says "Warning: An error occurred > while parsing the build config > status data. > No macros > found > > then the TclDOM 2.4 Installer appears with a warning > that > No files matching pattern "./docs/*.html" were found > > > > After I complete the process, I then type: > > $ tclsh > % package require TclDOM > error reading package index file /usr/tcl84/lib/tcldom-2.4/pkgIndex.tcl: expected version number but got "@VERSION@" > error reading package index file /usr/tcl84/lib/tcldom-2.4/pkgIndex.tcl: expected version number but got "@VERSION@" > can't find package TclDOM > % > > > I tried to follow the README file - is there some step I missed? -- Steve Ball | XSLT Standard Library | Training & Seminars Zveno Pty Ltd | Web Tcl Complete | XML XSL Schemas http://www.zveno.com/ | TclXML TclDOM | Tcl, Web Development Ste...@zv... +---------------------------+--------------------- Ph. +61 2 6242 4099 | Mobile (0413) 594 462 | Fax +61 2 6242 4099 |