|
From: Larry W. V. <lv...@ca...> - 2002-05-09 11:14:28
|
Just wanted to mention that the tcldom C code still does not compile on
SPARC Solaris 2.6. Yes, I can use the Tcl script version - I just thought
that if people are actually doing work on the C code they might want to know
it isn't compiling.
I also have one question - when doing the configure, I get a warning about not
being able to find "xml2" library - what is that? I don't see it mentioned
in the README file; if it is an external library, shouldn't it be mentioned?
I configure with this command:
$ cd tcldom
$ $PWD/configure --prefix=/usr/tcl84 --enable-symbols --enable-shared --enable-xml2
creating cache ./config.cache
checking for gcc... cc
checking whether the C compiler (cc ) works... yes
checking whether the C compiler (cc ) is a cross-compiler... no
checking whether we are using GNU C... 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 Cygwin environment... no
checking for object suffix... o
checking for mingw32 environment... no
checking for executable suffix... no
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 xml2 library file... configure: warning: Can't find xml2 library
checking for tclsh... /usr/tcl84/bin/tclsh8.4
checking for tclstub library... -L/usr/tcl84/lib -ltclstub8.4t
checking for building with threads... no (default)
checking how to build libraries... shared
checking for build with symbols... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src-libxml2/Makefile
creating library/pkgIndex.tcl
$ make all
cc -DVERSION=\"2.0\" -DUSE_TCL_STUBS=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTC
L_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_DIRENT64=1 -DHAVE_STRUCT_STAT64=1 -DHAV
E_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_UNI
STD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_T
ZNAME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_B
LKSIZE=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -DNEED_MATHERR=1 -DHAVE_SIGNED_CHAR=
1 -DHAVE_LANGINFO=1 -D_REENTRANT=1 -D_POSIX_PTHREAD_SEMANTICS=1 -DHAVE_SYS_IOCTL
_H=1 -DHAVE_SYS_FILIO_H=1 -I/usr/tcl84/include -g -KPIC -c `echo /vol/
tclsrcsol/tcl84/tcldom/tcldom.c` -o tcldom.o
"/vol/tclsrcsol/tcl84/tcldom/tcldom.c", line 210: warning: argument #3 is incomp
atible with prototype:
prototype: pointer to pointer to const char : "unknown", line 0
argument : pointer to pointer to char
"/vol/tclsrcsol/tcl84/tcldom/tcldom.c", line 285: warning: argument #3 is incomp
atible with prototype:
prototype: pointer to pointer to const char : "unknown", line 0
argument : pointer to pointer to char
rm -f libtcldom2.0.so
/usr/ccs/bin/ld -G -z text -o libtcldom2.0.so tcldom.o -L/usr/tcl84/lib -ltclst
ub8.4t
: libtcldom2.0.so
cd src-libxml2; make
make[1]: Entering directory `/vol/tclsrcsol/tcl84/tcldom/src-libxml2'
cc -DVERSION=\"2.0\" -DUSE_TCL_STUBS=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTC
L_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_DIRENT64=1 -DHAVE_STRUCT_STAT64=1 -DHAV
E_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_UNI
STD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_T
ZNAME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_B
LKSIZE=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -DNEED_MATHERR=1 -DHAVE_SIGNED_CHAR=
1 -DHAVE_LANGINFO=1 -D_REENTRANT=1 -D_POSIX_PTHREAD_SEMANTICS=1 -DHAVE_SYS_IOCTL
_H=1 -DHAVE_SYS_FILIO_H=1 -I/usr/local/include/libxml2 -g -KPIC -I/vol
/tclsrcsol/tcl84/tcldom -c `echo /vol/tclsrcsol/tcl84/tcldom/src-libxml2/tcldom-
libxml2.c` -o tcldom-libxml2.o
"/vol/tclsrcsol/tcl84/tcldom/tcldom.h", line 23: cannot find include file: <tcl.
h>
"/vol/tclsrcsol/tcl84/tcldom/tcldom.h", line 80: syntax error before or at: Tcl_
Obj
"/vol/tclsrcsol/tcl84/tcldom/tcldom.h", line 80: cannot recover from previous er
rors
cc: acomp failed for /vol/tclsrcsol/tcl84/tcldom/src-libxml2/tcldom-libxml2.c
make[1]: *** [tcldom-libxml2.o] Error 2
make[1]: Leaving directory `/vol/tclsrcsol/tcl84/tcldom/src-libxml2'
make: *** [libtcldom-libxml2-2.0.so] Error 2
--
Support Internet Radio <URL: http://saveinternetradio.org/ >
Larry W. Virden <mailto:lv...@ca...> <URL: http://www.purl.org/NET/lvirden/>
Even if explicitly stated to the contrary, nothing in this posting should
be construed as representing my employer's opinions.
-><-
|