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 |