Subject: | 1.70 Won't make or Test |
I can't seem to get version 1.70 to install make/test. It seems like
this bug may have been around for a couple of versions.
I'm running Linux Mint 7 x64(based on Ubuntu Jaunty Jackalope, Lernal
2.6.28-11-generic). I'm using Perl 5.10.0. I'm moderately new to
Linux, and (it seems) not suite sharp enough to sort this out.
It seems like the issue has something to do with libxml2 (which I'm
fairly sure is installed correctly, but maybe not?) and META.yml. I'm
pretty sure YAML is installed correctly also.
Here are the CPAN install errors I've been consistently reproducing:
cpan[1]> install XML::LibXML
CPAN: Storable loaded ok (v2.18)
Going to read '/home/mlm/.cpan/Metadata'
Database was generated on Tue, 26 Jan 2010 19:41:29 GMT
CPAN: YAML loaded ok (v0.71)
Going to read 8 yaml files from /home/mlm/.cpan/build/
CPAN: Time::HiRes loaded ok (v1.9711)
DONE
Restored the state of none (in 0.3225 secs)
Running install for module 'XML::LibXML'
Running make for P/PA/PAJAS/XML-LibXML-1.70.tar.gz
CPAN: Digest::SHA loaded ok (v5.45)
CPAN: LWP::UserAgent loaded ok (v5.834)
Fetching with LWP:
ftp://ftp.perl.org/pub/CPAN/authors/id/P/PA/PAJAS/CHECKSUMS
CPAN: Compress::Zlib loaded ok (v2.015)
Checksum for /home/mlm/.cpan/sources/authors/id/P/PA/PAJAS/XML-LibXML-
1.70.tar.gz ok
Scanning cache /home/mlm/.cpan/build for sizes
........................................................................
....DONE
CPAN: Archive::Tar loaded ok (v1.38)
Will not use Archive::Tar, need 1.00
XML-LibXML-1.70/
XML-LibXML-1.70/lib/
XML-LibXML-1.70/lib/XML/
XML-LibXML-1.70/lib/XML/LibXML/
XML-LibXML-1.70/lib/XML/LibXML/DOM.pod
XML-LibXML-1.70/lib/XML/LibXML/Reader.pm
XML-LibXML-1.70/lib/XML/LibXML/InputCallback.pod
XML-LibXML-1.70/lib/XML/LibXML/SAX/
XML-LibXML-1.70/lib/XML/LibXML/SAX/Builder.pod
XML-LibXML-1.70/lib/XML/LibXML/SAX/Parser.pm
XML-LibXML-1.70/lib/XML/LibXML/SAX/Builder.pm
XML-LibXML-1.70/lib/XML/LibXML/SAX/Generator.pm
XML-LibXML-1.70/lib/XML/LibXML/Common.pod
XML-LibXML-1.70/lib/XML/LibXML/XPathExpression.pod
XML-LibXML-1.70/lib/XML/LibXML/Parser.pod
XML-LibXML-1.70/lib/XML/LibXML/Text.pod
XML-LibXML-1.70/lib/XML/LibXML/RegExp.pod
XML-LibXML-1.70/lib/XML/LibXML/ErrNo.pod
XML-LibXML-1.70/lib/XML/LibXML/Document.pod
XML-LibXML-1.70/lib/XML/LibXML/CDATASection.pod
XML-LibXML-1.70/lib/XML/LibXML/Reader.pod
XML-LibXML-1.70/lib/XML/LibXML/Comment.pod
XML-LibXML-1.70/lib/XML/LibXML/Number.pm
XML-LibXML-1.70/lib/XML/LibXML/Node.pod
XML-LibXML-1.70/lib/XML/LibXML/SAX.pod
XML-LibXML-1.70/lib/XML/LibXML/XPathContext.pm
XML-LibXML-1.70/lib/XML/LibXML/Boolean.pm
XML-LibXML-1.70/lib/XML/LibXML/Schema.pod
XML-LibXML-1.70/lib/XML/LibXML/Namespace.pod
XML-LibXML-1.70/lib/XML/LibXML/ErrNo.pm
XML-LibXML-1.70/lib/XML/LibXML/PI.pod
XML-LibXML-1.70/lib/XML/LibXML/Error.pod
XML-LibXML-1.70/lib/XML/LibXML/Dtd.pod
XML-LibXML-1.70/lib/XML/LibXML/Common.pm
XML-LibXML-1.70/lib/XML/LibXML/Error.pm
XML-LibXML-1.70/lib/XML/LibXML/NodeList.pm
XML-LibXML-1.70/lib/XML/LibXML/DocumentFragment.pod
XML-LibXML-1.70/lib/XML/LibXML/XPathContext.pod
XML-LibXML-1.70/lib/XML/LibXML/Attr.pod
XML-LibXML-1.70/lib/XML/LibXML/RelaxNG.pod
XML-LibXML-1.70/lib/XML/LibXML/SAX.pm
XML-LibXML-1.70/lib/XML/LibXML/Literal.pm
XML-LibXML-1.70/lib/XML/LibXML/Element.pod
XML-LibXML-1.70/lib/XML/LibXML/Pattern.pod
XML-LibXML-1.70/Changes
XML-LibXML-1.70/example/
XML-LibXML-1.70/example/test.html
XML-LibXML-1.70/example/complex/
XML-LibXML-1.70/example/complex/dtd/
XML-LibXML-1.70/example/complex/dtd/g.dtd
XML-LibXML-1.70/example/complex/dtd/f.dtd
XML-LibXML-1.70/example/complex/complex2.xml
XML-LibXML-1.70/example/complex/complex.xml
XML-LibXML-1.70/example/complex/complex.dtd
XML-LibXML-1.70/example/test.dtd
XML-LibXML-1.70/example/article_internal_bad.xml
XML-LibXML-1.70/example/dtd.xml
XML-LibXML-1.70/example/utf-16-1.html
XML-LibXML-1.70/example/enc2_latin2.html
XML-LibXML-1.70/example/ns.xml
XML-LibXML-1.70/example/article_external_bad.xml
XML-LibXML-1.70/example/xmlns/
XML-LibXML-1.70/example/xmlns/badguy.xml
XML-LibXML-1.70/example/xmlns/goodguy.xml
XML-LibXML-1.70/example/article.xml
XML-LibXML-1.70/example/xmllibxmldocs.pl
XML-LibXML-1.70/example/test4.xml
XML-LibXML-1.70/example/enc_latin2.html
XML-LibXML-1.70/example/test3.xml
XML-LibXML-1.70/example/ext_ent.dtd
XML-LibXML-1.70/example/article_internal.xml
XML-LibXML-1.70/example/catalog.xml
XML-LibXML-1.70/example/xpath.pl
XML-LibXML-1.70/example/utf-16-2.html
XML-LibXML-1.70/example/cb_example.pl
XML-LibXML-1.70/example/test.xhtml
XML-LibXML-1.70/example/test.xml
XML-LibXML-1.70/example/bad.dtd
XML-LibXML-1.70/example/bad.xml
XML-LibXML-1.70/example/article_bad.xml
XML-LibXML-1.70/example/dromeds.xml
XML-LibXML-1.70/example/test2.xml
XML-LibXML-1.70/example/utf-16-2.xml
XML-LibXML-1.70/test/
XML-LibXML-1.70/test/schema/
XML-LibXML-1.70/test/schema/demo.xml
XML-LibXML-1.70/test/schema/badschema.xsd
XML-LibXML-1.70/test/schema/schema.xsd
XML-LibXML-1.70/test/schema/invaliddemo.xml
XML-LibXML-1.70/test/relaxng/
XML-LibXML-1.70/test/relaxng/invaliddemo.xml
XML-LibXML-1.70/test/relaxng/demo.rng
XML-LibXML-1.70/test/relaxng/badschema.rng
XML-LibXML-1.70/test/relaxng/demo.xml
XML-LibXML-1.70/test/relaxng/schema.rng
XML-LibXML-1.70/test/relaxng/demo3.rng
XML-LibXML-1.70/test/relaxng/demo2.rng
XML-LibXML-1.70/test/relaxng/demo4.rng
XML-LibXML-1.70/test/xinclude/
XML-LibXML-1.70/test/xinclude/xinclude.xml
XML-LibXML-1.70/test/xinclude/entity.txt
XML-LibXML-1.70/test/xinclude/test.xml
XML-LibXML-1.70/test/textReader/
XML-LibXML-1.70/test/textReader/countries.xml
XML-LibXML-1.70/debian/
XML-LibXML-1.70/debian/rules
XML-LibXML-1.70/debian/copyright
XML-LibXML-1.70/debian/libxml-libxml-perl.postinst
XML-LibXML-1.70/debian/control
XML-LibXML-1.70/debian/libxml-libxml-perl.install
XML-LibXML-1.70/debian/changelog
XML-LibXML-1.70/debian/libxml-libxml-perl.examples
XML-LibXML-1.70/debian/libxml-libxml-perl.docs
XML-LibXML-1.70/debian/libxml-libxml-perl.prerm
XML-LibXML-1.70/debian/compat
XML-LibXML-1.70/t/
XML-LibXML-1.70/t/25relaxng.t
XML-LibXML-1.70/t/40reader.t
XML-LibXML-1.70/t/32xpc_variables.t
XML-LibXML-1.70/t/10ns.t
XML-LibXML-1.70/t/14sax.t
XML-LibXML-1.70/t/06elements.t
XML-LibXML-1.70/t/20extras.t
XML-LibXML-1.70/t/04node.t
XML-LibXML-1.70/t/03doc.t
XML-LibXML-1.70/t/18docfree.t
XML-LibXML-1.70/t/07dtd.t
XML-LibXML-1.70/t/45regex.t
XML-LibXML-1.70/t/24c14n.t
XML-LibXML-1.70/t/23rawfunctions.t
XML-LibXML-1.70/t/12html.t
XML-LibXML-1.70/t/19encoding.t
XML-LibXML-1.70/t/11memory.t
XML-LibXML-1.70/t/43options.t
XML-LibXML-1.70/t/27new_callbacks_simple.t
XML-LibXML-1.70/t/01basic.t
XML-LibXML-1.70/t/80registryleak.t
XML-LibXML-1.70/t/17callbacks.t
XML-LibXML-1.70/t/26schema.t
XML-LibXML-1.70/t/61error.t
XML-LibXML-1.70/t/44extent.t
XML-LibXML-1.70/t/13dtd.t
XML-LibXML-1.70/t/21catalog.t
XML-LibXML-1.70/t/30xpathcontext.t
XML-LibXML-1.70/t/16docnodes.t
XML-LibXML-1.70/t/08findnodes.t
XML-LibXML-1.70/t/42common.t
XML-LibXML-1.70/t/31xpc_functions.t
XML-LibXML-1.70/t/60struct_error.t
XML-LibXML-1.70/t/41xinclude.t
XML-LibXML-1.70/t/02parse.t
XML-LibXML-1.70/t/05text.t
XML-LibXML-1.70/t/15nodelist.t
XML-LibXML-1.70/t/28new_callbacks_multiple.t
XML-LibXML-1.70/t/90threads.t
XML-LibXML-1.70/t/09xpath.t
XML-LibXML-1.70/t/29id.t
XML-LibXML-1.70/xpath.c
XML-LibXML-1.70/ppport.h
XML-LibXML-1.70/xpath.h
XML-LibXML-1.70/README
XML-LibXML-1.70/perl-libxml-sax.c
XML-LibXML-1.70/dom.c
XML-LibXML-1.70/LibXML.pod
XML-LibXML-1.70/LibXML.pm
XML-LibXML-1.70/perl-libxml-sax.h
XML-LibXML-1.70/Makefile.PL
XML-LibXML-1.70/perl-libxml-mm.h
XML-LibXML-1.70/Av_CharPtrPtr.h
XML-LibXML-1.70/MANIFEST
XML-LibXML-1.70/TODO
XML-LibXML-1.70/typemap
XML-LibXML-1.70/xpathcontext.h
XML-LibXML-1.70/Av_CharPtrPtr.c
XML-LibXML-1.70/dom.h
XML-LibXML-1.70/docs/
XML-LibXML-1.70/docs/libxml.dbk
XML-LibXML-1.70/LICENSE
XML-LibXML-1.70/perl-libxml-mm.c
XML-LibXML-1.70/LibXML.xs
XML-LibXML-1.70/META.yml
CPAN: File::Temp loaded ok (v0.18)
CPAN.pm: Going to build P/PA/PAJAS/XML-LibXML-1.70.tar.gz
enable native perl UTF8
running xml2-config...
using fallback values for LIBS and INC
options:
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' INC='-
I/path/to/include'
looking for -lxml2... no
looking for -llibxml2... no
libxml2 not found
Try setting LIBS and INC values on the command line
Or get libxml2 from
http://xmlsoft.org/
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 PAJAS/XML-LibXML-1.70.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
Failed during this command:
PAJAS/XML-LibXML-1.70.tar.gz : writemakefile NO -- No
'Makefile' created
cpan[2]> install XML::LibXML
Running install for module 'XML::LibXML'
Running make for P/PA/PAJAS/XML-LibXML-1.70.tar.gz
Has already been unwrapped into directory /home/mlm/.cpan/build/XML-
LibXML-1.70-Gg7q7f
No 'Makefile' created
, won't make
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install