|
From: Andreas K. <aku...@sh...> - 2002-11-01 15:56:50
|
> 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:
>
> $ gegrep Tcldom_STUB_LIB_SPEC configure
> Tcldom_STUB_LIB_SPEC=${Tcldom_BUILD_STUB_LIB_SPEC}
> SHLIB_LD_LIBS="${SHLIB_LD_LIBS} ${Tcldom_STUB_LIB_SPEC}"
> s%@Tcldom_STUB_LIB_SPEC@%$Tcldom_STUB_LIB_SPEC%g
> $ gegrep -i Tcldom_BUILD_STUB_LIB_SPEC configure
> Tcldom_STUB_LIB_SPEC=${Tcldom_BUILD_STUB_LIB_SPEC}
> $ gegrep NONE configure
> build=NONE
> exec_prefix=NONE
> host=NONE
> nonopt=NONE
> prefix=NONE
> program_prefix=NONE
> program_suffix=NONE
> target=NONE
> x_includes=NONE
> x_libraries=NONE
> if test "x$nonopt" != xNONE; then
> if test "x$prefix" != xNONE; then
> if test "${prefix}" = "NONE"; then
> if test "${exec_prefix}" = "NONE" -a x"${prefix_default}" = x"yes" ; then
> with_xml2include=NONE
> with_xml2lib=NONE
> with_iconvlib=NONE
> test "x$prefix" = xNONE && prefix=$ac_default_prefix
> test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
>
> I don't see any of these variables in use above in initializing the
> STUB_LIB_SPEC...
--
So long,
Andreas Kupries <aku...@sh...>
<http://www.purl.org/NET/akupries/>
Developer @ <http://www.activestate.com/>
-------------------------------------------------------------------------------
|