<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body ><div>Bonjour Sam,</div><div><br></div><div>You can simply move the following block at the end of your ParserDetails.ini file</div><div><br></div><div>[XML::LibXML::SAX]<br>http://xml.org/sax/features/namespaces = 1</div><div><br></div><div>Eric</div><div><div><span class="Apple-style-span" style="font-size: 10px;">www.inLibro.com</span></div></div><br><br><br>-------- Message d'origine --------<br>De : Samuel Desseaux <samuel.desseaux@ecp.fr> <br>Date : 05/09/2013  5:00  (GMT-05:00) <br>À : koha-devel@lists.koha-community.org,koha@lists.katipo.co.nz <br>Objet : [Koha] Question of sax parser <br> <br><br>Hi,<br><br>During the install, when i run this command "./sax_parser_print.pl", <br>i've  the following error<br><br>Koha wants something like:<br>     XML::LibXML::SAX::Parser=HASH(0x81fe220)<br>You have:<br>     XML::SAX::Expat=HASH(0x99127b0)<br>Looks bad, check INSTALL.* documentation.<br><br>I check my ParserDetails.ini and something miss (Sax Parser)<br><br>[XML::SAX::PurePerl]<br>http://xml.org/sax/features/namespaces = 1<br><br><br>[XML::LibXML::SAX]<br>http://xml.org/sax/features/namespaces = 1<br><br><br><br>[XML::SAX::Expat]<br>http://xml.org/sax/features/namespaces = 1<br>http://xml.org/sax/features/external-general-entities = 1<br>http://xml.org/sax/features/external-parameter-entities = 1<br><br>I think the following lines give the main reason but i don't know how to do<br><br><br><br>root@kohadev:/home/koha/kohaclone# cpan XML::LibXML::SAX::Parser<br>Going to read '/root/.cpan/Metadata'<br>   Database was generated on Thu, 05 Sep 2013 04:29:04 GMT<br>Running install for module 'XML::LibXML::SAX::Parser'<br>Running make for S/SH/SHLOMIF/XML-LibXML-2.0104.tar.gz<br>Checksum for <br>/root/.cpan/sources/authors/id/S/SH/SHLOMIF/XML-LibXML-2.0104.tar.gz ok<br><br>   CPAN.pm: Going to build S/SH/SHLOMIF/XML-LibXML-2.0104.tar.gz<br><br>enable native perl UTF8<br>running xml2-config...didn't manage to get libxml2 config, guessing<br>options:<br>   LIBS='-L/usr/local/lib -L/usr/lib -lxml2 -lm'<br>   INC='-I/usr/local/include -I/usr/include'<br>If this is wrong, Re-run as:<br>   $ /usr/bin/perl Makefile.PL LIBS='-L/path/to/lib' <br>INC='-I/path/to/include'<br><br>Checking for ability to link against xml2...no<br>Checking for ability to link against libxml2...libxml2, zlib, and/or the <br>Math library (-lm) have not been found.<br>Try setting LIBS and INC values on the command line<br>Or get libxml2 from<br>   http://xmlsoft.org/<br>If you install via RPMs, make sure you also install the -devel<br>RPMs, as this is where the headers (.h files) are.<br><br>Also, you may try to run perl Makefile.PL with the DEBUG=1 parameter<br>to see the exact reason why the detection of libxml2 installation<br>failed or why Makefile.PL was not able to compile a test program.<br>No 'Makefile' created  SHLOMIF/XML-LibXML-2.0104.tar.gz<br>   /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK<br>Running make test<br>   Make had some problems, won't test<br>Running make install<br>   Make had some problems, won't install<br>Could not read metadata file. Falling back to other methods to determine <br>prerequisites<br><br>Thank you for your help<br><br>Best regards,<br><br>Samuel<br><br><br>_______________________________________________<br>Koha mailing list  http://koha-community.org<br>Koha@lists.katipo.co.nz<br>http://lists.katipo.co.nz/mailman/listinfo/koha<br></body>