From: Andreas K. <and...@Ac...> - 2002-11-01 18:02:57
|
> -----Original Message----- > From: Andreas Kupries [mailto:aku...@sh...] > Sent: Friday, November 01, 2002 7:35 AM > To: Larry W. Virden > Cc: tcl...@li...; Andreas Kupries > Subject: Re: [Tclxml-users] ideas sought regarding tcldom's xml2 > configuration Additional notes and questions and the end. > > Currently I am using this configure invocation: > > /vol/tclsrcsol/tcl84/tcldom/src-libxml2/configure > --prefix=/usr/tcl84 --enabl > > e-shared --enable-symbols > --with-libxml2-include=/projects/intranet/include/libx > > ml2 --with-libxml2-lib=/projects/intranet/lib > --with-Tcldom=/usr/tcl84/lib --wit > > I do not remember to have added commands to configure.in to implement > the option --with-tcldom. From my POV this option does not exist and > is not supported. ... Hm ... Wait ... > > It could come from the TEA_LOAD_CONFIG(TclDom) call which is used to > load the configuration file of Tcldom. Or the immediately preceding > call to locate this configuration file (I do not remember the name of > that macro right now). > > This means that your problem indicates some bug in these two TEA 2 > macros themselves. > > Note: I didn't specify --with-tcldom in my own builds, but installed > tcldom before compiling the libxml2 sub-package. With that I had no > trouble. > > > h-tcl=/usr/tcl84/lib > > > > and during the make I get this error: > > > > /usr/ccs/bin/ld -G -z text -o libtcldomxml2.4g.so > tcldom-libxml2.o tcldomxmlStubInit.o tcldomxmlStubLib.o > -L/usr/tcl84/lib -ltclstub8.4g -L/projects/intranet/lib -lxml2 > -LNONE/lib/Tcldom2.4 -lTcldomstub2.4g > > > > ^^^^^^^^^^^^^^^^^^^^ > > ld: fatal: library -lTcldomstub2.4g: not found > > ld: fatal: File processing errors. No output written to > libtcldomxml2.4g.so > > make: *** [libtcldomxml2.4g.so] Error 1 > > > > > > notice the -LNONE/lib/Tcldom2.4 - NONE is not a directory that > I have specified. > > It looks with the --with-Tcldom=/usr/tcl84/lib is not working in the > > src-xml2 directory. > > > > I'm still trying to figure out the problem here - there doesn't _appear_ > > to be much use of the relevant variables in configure: Note: Of the three spellings in my answer (Tcldom, TclDom, tcldom) only the first is correct, and the others should have been like the first. I note: --with-Tcldom=/usr/tcl84/lib Is that the same directory we would get through --prefix/lib and/or --exec-prefix/lib ? Also, was the Tcldom base package installed before configuring the sub package in src-libxml2 ? -- Andreas Kupries <and...@Ac...> Developer @ http://www.ActiveState.com |