Source

perl-XML-LibXML / README

Diff from to
 XMLPREFIX=$YOURLIBXMLPREFIX parameter to Makefile.PL determining the correct
 libxml2 version in use. e.g.
 
->  perl Makefile.PL XMLPREFIX=/usr/brand-new 
+>  perl Makefile.PL XMLPREFIX=/usr/brand-new
 
 will ask '/usr/brand-new/bin/xml2-config' about your real libxml2
 configuration.
 Additionally I received the following Note from Rozi Kovesdi:
 
 > Here is my report if someone else runs into the same problem:
-> 
+>
 > Finally I am done with installing all the libraries and XML Perl
 > modules
-> 
+>
 > The combination that worked best for me was:
 > gcc
 > GNU make
-> 
+>
 > Most importantly - before trying to install Perl modules that depend on
 > libxml2:
-> 
+>
 > must set SHLIB_PATH  to include  the path to  libxml2 shared library
-> 
+>
 > assuming that you used the default:
-> 
+>
 > export  SHLIB=/usr/local/lib
-> 
+>
 > also, make sure that the config  files have execute permission:
-> 
+>
 > /usr/local/bin/xml2-config
 > /usr/local/bin/xslt-config
-> 
+>
 > they did not have +x after they were installed by 'make install'
 > and it took me a while to realize that this was my problem
-> 
+>
 > or one can use:
-> 
+>
 > perl Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include'