Skip Menu |
 

This queue is for tickets about the XML-LibXML CPAN distribution.

Report information
The Basics
Id: 19315
Status: rejected
Priority: 0/
Queue: XML-LibXML

People
Owner: Nobody in particular
Requestors: dustin.harriman [...] businessobjects.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.58
Fixed in: (no value)



Subject: Can't compile in Solaris 5.8: Makefile.PL can't find libxml2 which IS installed
Download (untitled) / with headers
text/plain 1.8k
I'm trying to install XML::LibXML from Activeperl 5.7.8's CPAN on Solaris 5.8. It failed with this mesage: (....) CPAN.pm: Going to build P/PH/PHISH/XML-LibXML-1.58.tar.gz enable native perl UTF8 looking for -lxml2... no looking for -llibxml2... no libxml2 not found Try setting LIBS and INC values on the command line Or get libxml2 from http://xmlsoft.org/ If you install via RPMs, make sure you also install the -devel RPMs, as this is where the headers (.h files) are. Running make test Make had some problems, maybe interrupted? Won't test Running make install Make had some problems, maybe interrupted? Won't install --------------- Ok, so I sucessfully compiled libxml2 from source, using Sun's C compiler like this: (I'm installing libxml2 to /home4/thirdparty/software/libxml2/2.4.22/SunOS/5.8) CC=/opt/SUNWspro/bin/cc ./configure \ --prefix=/home4/thirdparty/software/libxml2/2.4.22/SunOS/5.8 make make install -------- Then I added /home4/thirdparty/software/libxml2/2.4.22/SunOS/5.8/bin to my PATH, so when I compiled XML::LibXML, libxml2 could be found, using these commands: cd /home4/thirdparty/software/activeperl/5.8.7/SunOS/5.8 cd .cpan/build/XML-LibXML-1.58 CC=/opt/SUNWspro/bin/cc \ /home4/thirdparty/software/activeperl/5.8.7/SunOS/5.8/bin/perl \ Makefile.PL \ LIBS='-L/home4/thirdparty/software/libxml2/2.6.7/SunOS/5.8/lib' \ INC='-I/home4/thirdparty/software/libxml2/2.6.7/SunOS/5.8/include' \ XMLPREFIX=/home4/thirdparty/software/libxml2/2.6.7/SunOS/5.8 ...but the same error message persists! libxml2 is still "not found"! Any advice to get around this? The checking for libxml2 seems to be buggy somehow. Yes, I've scoured the included README file for help. It seems like the version of libxml2 this has been tested against is 2.6.8, which is back from 2004. What about supporting/finding the latest version of libxml2, which is 2.6.24?
Download (untitled) / with headers
text/plain 2.2k
Hi, I had exactly the same problem (which is present on each verison of the module), but I succeed to compile it by installing a newer version of perl (5.8.7 in replacement of 5.6.1 provided by default in solaris9) Hope it can help... On Wed May 17 16:38:39 2006, guest wrote: Show quoted text
> I'm trying to install XML::LibXML from Activeperl 5.7.8's CPAN on > Solaris 5.8. It failed with this mesage: > > (....) > CPAN.pm: Going to build P/PH/PHISH/XML-LibXML-1.58.tar.gz > > enable native perl UTF8 > looking for -lxml2... no > looking for -llibxml2... no > libxml2 not found > Try setting LIBS and INC values on the command line > Or get libxml2 from > http://xmlsoft.org/ > If you install via RPMs, make sure you also install the -devel > RPMs, as this is where the headers (.h files) are. > Running make test > Make had some problems, maybe interrupted? Won't test > Running make install > Make had some problems, maybe interrupted? Won't install > --------------- > Ok, so I sucessfully compiled libxml2 from source, using Sun's C > compiler like this: > (I'm installing libxml2 to > /home4/thirdparty/software/libxml2/2.4.22/SunOS/5.8) > > CC=/opt/SUNWspro/bin/cc ./configure \ > --prefix=/home4/thirdparty/software/libxml2/2.4.22/SunOS/5.8 > make > make install > > -------- > Then I added /home4/thirdparty/software/libxml2/2.4.22/SunOS/5.8/bin to > my PATH, so when I compiled XML::LibXML, libxml2 could be found, using > these commands: > > cd /home4/thirdparty/software/activeperl/5.8.7/SunOS/5.8 > cd .cpan/build/XML-LibXML-1.58 > CC=/opt/SUNWspro/bin/cc \ > /home4/thirdparty/software/activeperl/5.8.7/SunOS/5.8/bin/perl \ > Makefile.PL \ > LIBS='-L/home4/thirdparty/software/libxml2/2.6.7/SunOS/5.8/lib' \ > INC='-I/home4/thirdparty/software/libxml2/2.6.7/SunOS/5.8/include' \ > XMLPREFIX=/home4/thirdparty/software/libxml2/2.6.7/SunOS/5.8 > > ...but the same error message persists! libxml2 is still "not found"! > > Any advice to get around this? The checking for libxml2 seems to be > buggy somehow. Yes, I've scoured the included README file for help. It > seems like the version of libxml2 this has been tested against is 2.6.8, > which is back from 2004. What about supporting/finding the latest > version of libxml2, which is 2.6.24?
Download (untitled) / with headers
text/plain 121b
First of all, use 1.58_1 (XML-LibXML-1.58_1.tar.gz on CPAN) not 1.58. What's the output of perl Makefile.PL DEBUG=1 ?
Resolving as rejected due to inactivity.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.