[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.