I am installing a perl module XML::LibXML
when i executed perl Makefile.PL
i got below errors:
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
libxml2 not found
Try setting LIBS and INC values on the command line
Or get libxml2 from
http://www.libxml.org/
If you install via RPMs, make sure you also install the -devel
RPMs, as this is where the headers (.h files) are.
#################################################
I have downloaded libxml2
and executing
/usr/bin/perl Makefile.PL LIBS='-L/usr/lib/vmware-tools/lib64/ -lxml2' INC='-I/home/vse/gaurav/test/libxml2-2.9.2/include'
But again i got the same error.
Please guide me.