From: Larry W. V. <lv...@ca...> - 2002-11-01 16:18:22
|
From: Andreas Kupries <aku...@sh...> > >> 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). I know I had to add that flag or my configure failed - for some reason, TEA and TEA 2 based extensions do not, by default look for what they need in $prefix and $exec_prefix - in my opinion, they should look there before reporting that a flag is needed. > 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. I installed it first myself - but as I mention above, the configure doesn't appear to look in the directory where things are installed... -- Tcl - The glue of a new generation. <URL: http://wiki.tcl.tk/ > 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. -><- |
From: Larry W. V. <lv...@ca...> - 2002-11-01 18:21:36
|
Hopefully I haven't trimmed too much off From: "Andreas Kupries" <and...@ac...> > > > 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 ? > > All the Tcl 8.4 related extensions, etc. that I install go into /usr/tcl84. All my extensions are configured with a --prefix=/usr/tcl84 . I built tcldom with that, did a make and then a make install. Then I went to the src-xml2 directory attempted a configure, and found that it generated a series of error msgs because I had not supplied various --with flags, etc. It seems to me that the configures should look first in the $exec_prefix, and then, if $prefix is different, in that directory, for the things it is seeking before erroring. -- Tcl - The glue of a new generation. <URL: http://wiki.tcl.tk/ > 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. -><- |
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 |
From: Andreas K. <and...@Ac...> - 2002-11-01 18:29:32
|
> -----Original Message----- > From: Larry W. Virden [mailto:lv...@ca...] > Sent: Friday, November 01, 2002 10:21 AM > To: Andreas Kupries > Cc: tcl...@li...; Jeff Hobbs > Subject: Re: [Tclxml-users] ideas sought regarding tcldom's xml2 > configuration > > > > Hopefully I haven't trimmed too much off > > From: "Andreas Kupries" <and...@ac...> > > > > > 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 ? > > > > > > All the Tcl 8.4 related extensions, etc. that I install go into > /usr/tcl84. > All my extensions are configured with a --prefix=/usr/tcl84 . > I built tcldom with that, did a make and then a make install. Then I > went to the src-xml2 directory attempted a configure, and found that > it generated a series of error msgs because I had not supplied various > --with flags, --with-xml2-* I believe ? > etc. It seems to me that the configures should look > first in the $exec_prefix, and then, if $prefix is different, in that > directory, for the things it is seeking before erroring. The --with-xml2-* code looks in Headers Shared libs ------------------------------------------- --with-xml2-include --with-xml2-lib prefix/include exec_prefix/lib /usr/include /usr/lib /usr/local/include /usr/local/lib ------------------------------------------- I do not believe that the system should search shared libs in prefix/lib. We are talking about platform dependent files here, and prefix is platform independent. Doesn't standard code in configure set exec_prefix to prefix if only prefix is specified ? -- Andreas Kupries <and...@Ac...> Developer @ http://www.ActiveState.com |