[Koha] Question of sax parser

Samuel Desseaux samuel.desseaux at ecp.fr
Thu Sep 5 21:00:06 NZST 2013


During the install, when i run this command "./sax_parser_print.pl", 
i've  the following error

Koha wants something like:
You have:
Looks bad, check INSTALL.* documentation.

I check my ParserDetails.ini and something miss (Sax Parser)

http://xml.org/sax/features/namespaces = 1

http://xml.org/sax/features/namespaces = 1

http://xml.org/sax/features/namespaces = 1
http://xml.org/sax/features/external-general-entities = 1
http://xml.org/sax/features/external-parameter-entities = 1

I think the following lines give the main reason but i don't know how to do

root at kohadev:/home/koha/kohaclone# cpan XML::LibXML::SAX::Parser
Going to read '/root/.cpan/Metadata'
   Database was generated on Thu, 05 Sep 2013 04:29:04 GMT
Running install for module 'XML::LibXML::SAX::Parser'
Running make for S/SH/SHLOMIF/XML-LibXML-2.0104.tar.gz
Checksum for 
/root/.cpan/sources/authors/id/S/SH/SHLOMIF/XML-LibXML-2.0104.tar.gz ok

   CPAN.pm: Going to build S/SH/SHLOMIF/XML-LibXML-2.0104.tar.gz

enable native perl UTF8
running xml2-config...didn't manage to get libxml2 config, guessing
   LIBS='-L/usr/local/lib -L/usr/lib -lxml2 -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' 

Checking for ability to link against xml2...no
Checking for ability to link against libxml2...libxml2, zlib, and/or the 
Math library (-lm) have not been found.
Try setting LIBS and INC values on the command line
Or get libxml2 from
If you install via RPMs, make sure you also install the -devel
RPMs, as this is where the headers (.h files) are.

Also, you may try to run perl Makefile.PL with the DEBUG=1 parameter
to see the exact reason why the detection of libxml2 installation
failed or why Makefile.PL was not able to compile a test program.
No 'Makefile' created  SHLOMIF/XML-LibXML-2.0104.tar.gz
   /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK
Running make test
   Make had some problems, won't test
Running make install
   Make had some problems, won't install
Could not read metadata file. Falling back to other methods to determine 

Thank you for your help

Best regards,


More information about the Koha mailing list