prasanna1981 has asked for the wisdom of the Perl Monks concerning the following question:
When I tried compiling XML-LibXML-1.40 in Redhat Linux 5.9, I am getting the following error,
[prasanna@XML-LibXML-1.40]$ /opt/ActivePerl-5.12/bin/perl Makefile.PL 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: $ /opt/ActivePerl-5.12/bin/perl-static 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.
Please guide me here. How to check whether libxml2 is installed or not
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Not able to make XML-LibXML package
by marto (Cardinal) on Apr 08, 2013 at 08:47 UTC | |
|
Re: Not able to make XML-LibXML package
by Corion (Patriarch) on Apr 08, 2013 at 08:41 UTC | |
|
Re: Not able to make XML-LibXML package (install missing prerequisites, apt-get install libxml2 libxml2-dev zlib1g-dev, apt-get install libxml-libxml-perl )
by Anonymous Monk on Apr 08, 2013 at 19:44 UTC |