[xslt] Configuring libxslt with a different version of libxml than whats installed



Hey everyone,
I'm trying to configure libxslt version 1.1.15 using a libxml I installed to a different prefix since I don't want to affect the machine im on.


yet I keep getting:
...
checking for libxml libraries >= 2.6.17... configure: error: Could not find libxml2 anywhere, check ftp://xmlsoft.org/.
...
Or it finds the older version on the system and tells me thats too old and it fails.


Here is the command I was using...
./configure --prefix=/home/TOOLS/libxslt/libxslt-1.1.15_dst/ \
--with-libxml-prefix=/home/TOOLS/libxml2/libxml2-2.6.22_dst/bin/ \
--with-libxml-libs-prefix=/home/TOOLS/libxml2/libxml2-2.6.22_dst/lib/ \
--with-libxml-include-prefix=/home/TOOLS/libxml2/libxml2-2.6.22_dst/include/



The configure help also said though if I just point it to the src dir of libxml2, like below, then it'll find it all but that fails too. Like so:
./configure --prefix=/home/TOOLS/libxslt/libxslt-1.1.15_dst/ \
--with-libxml-src=/home/TOOLS/libxml2/libxml2-2.6.22_src/


Any suggestions?
Thanks,
Nick


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