Docs say I need:
XML-LibXML (1.60)
I have perl-XML-LibXML-1.58-5
All I found on CPAN wass 1.63
That should be good.
Nope, can't build it.
perl Makefile.PL dies with:
enable native perl UTF8
running xml2-config...
using fallback values for LIBS and INC
options:
LIBS='-L/usr/local/lib -L/usr/lib -lxml2 -lm'
INC='-I/usr/local/include -I/usr/include'
If this is wrong, Re-run as:
$ /usr/bin/perl Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include'
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
If you install via RPMs, make sure you also install the -devel
RPMs, as this is where the headers (.h files) are.
Looking in /usr/lib I see:
ls -l /usr/lib/libxml2*
lrwxrwxrwx 1 root root 17 May 24 06:44 /usr/lib/libxml2.so.2 -> libxml2.so.2.6.26
-rwxr-xr-x 1 root root 1247808 Mar 14 13:46 /usr/lib/libxml2.so.2.6.26
That looks plausible. Don't know enough about libraries to be sure.
Let's try the 1.58 using the 1.58 version:
username and password are in the environment variables
vmcreate.pl --server 12.166.198.130 --filename /tmp/tmpLKhf3K
Can't locate XML/Parser.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /home/drew/Desktop/appliance/viperltoolkit/apps/vm/vmcreate.pl line 12.
BEGIN failed--compilation aborted at /home/drew/Desktop/appliance/viperltoolkit/apps/vm/vmcreate.pl line 12.
However there is a:
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/XML/LibXML/Parser.pod
Not sure where to go from here.
Forgot to mentions it's on a CentOS5 box with all current updates.
I'm having the same problem with libxml, libxml2, and libxml-devel, although they are all installed, it doesn't find them. I'm running on SLES 9 SP3.
d3t9069g:/tmp/viperltoolkit # perl Makefile.PL
Warning: prerequisite XML::LibXML 1.58 not found.
enable native perl UTF8
running xml2-config... failed
using fallback values for LIBS and INC
options:
LIBS='-L/usr/local/lib -L/usr/lib -lxml2 -lz -lm'
INC='-I/usr/local/include -I/usr/include'
If this is wrong, Re-run as:
$ /usr/bin/perl Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include'
looking for -lxml2... no
looking for -llibxml2... no
ERROR from evaluation of /tmp/viperltoolkit/XML-LibXML-Common-0.13/Makefile.PL: libxml2 not found
Try setting LIBS and INC values on the command line
Or get libxml2 from
If you install via RPMs, make sure you also install the -devel
RPMs, as this is where the headers (.h files) are.
d3t9069g:/tmp/viperltoolkit #