Re: [xslt] bug in xlst-config




Hi Simson,

Cinaed Simson wrote:
hi - if one builds xml2 and xslt from source, then the xml2 headers
are going into $prefix/include/libxml2/libxml2
hmm, no

a) headers are installed in $prefix/include/libxml2/libxml !

b ) xml2-config return $prefix/include/libxml2

c) expected is application to include libxml/FOO.h


and the xslt headers
are going into $prefix/include/libxslt (the paths are inconsistent.)
a) yep

b) xlst-config ... return -I[XSTPREFIX]/include -I[XMLPREFIX]/include/libxml2

c) expected is application to include libxstl/BAR.h and libxml/FOO.h

in addition, the xlst-config script is looking for it's headers in
$prefix/include/libxml2/libxml2 - wtf is up with that?

i hacked the xlst-config to look in  $prefix/include/libxslt/libxslt
for it's headers ( I added a link between libxslt and "." because
inconsistencies drive me bananas.)
As you wish, but see point c) in both cases.

cinaed
May be you play game with --includedir=XX during configure time, but you didn't say this, as you show to us use of --prefix.


Roumen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]