Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

XML::OPML::LibXML module, installing problem.

66 views
Skip to first unread message

zhou...@hotmail.com

unread,
Dec 14, 2012, 2:40:00 PM12/14/12
to
Hi everyone,


I got some problem with this module and will appreciate your help. I'm new to Perl modules and installation stuff.

When I run a perl script, got the following error :

Can't locate XML/LibXML.pm in @INC ......

So I tried to install module XML::OPML::LibXML.

First I tried to run
cpan XML::OPML::LibXML
as root user and accept all the default, it seems running forever if I do not cancel it. Here is the output before cancelling.
root@cell ~ # cpan XML::OPML::LibXML

-------------------------------------------------------------
CPAN: File::HomeDir loaded ok (v0.80)
Sorry, we have to rerun the configuration dialog for CPAN.pm due to
some missing parameters...

Normally CPAN.pm keeps config variables in memory and changes need to
be saved in a separate 'o conf commit' command to make them permanent
between sessions. If you set the 'auto_commit' option to true, changes
to a config variable are always automatically committed to disk.

<auto_commit>
Always commit changes to config variables to disk? [no]

A Build.PL is run by perl in a separate process. Likewise we run
'./Build' and './Build install' in separate processes. If you have any
parameters you want to pass to the calls, please specify them here.

Typical frequently used settings:

--install_base /home/xxx # different installation directory

<mbuildpl_arg>
Parameters for the 'perl Build.PL' command? []

Parameters for the './Build' command? Setting might be:

--extra_linker_flags -L/usr/foo/lib # non-standard library location

<mbuild_arg>
Your choice: []

Do you want to use a different command for './Build install'? Sudo
users will probably prefer:

su root -c ./Build
or
sudo ./Build
or
/path1/to/sudo -u admin_account ./Build

<mbuild_install_build_command>
or some such. Your choice: [./Build]

Parameters for the './Build install' command? Typical frequently used
setting:

--uninst 1 # uninstall conflicting files

<mbuild_install_arg>
Your choice: []



Please remember to call 'o conf commit' to make the config permanent!

CPAN: Storable loaded ok (v2.15)
Going to read /root/.cpan/Metadata

Database was generated on Wed, 29 Oct 2008 09:28:05 GMT
CPAN: LWP::UserAgent loaded ok (v2.036)
CPAN: Time::HiRes loaded ok (v1.86)
Fetching with LWP:
ftp://carroll.cac.psu.edu/pub/CPAN/authors/01mailrc.txt.gz
LWP failed with code[500] message[LWP::Protocol::MyFTP: connect: timeout]
Fetching with Net::FTP:
ftp://carroll.cac.psu.edu/pub/CPAN/authors/01mailrc.txt.gz
Could not connect to host 'carroll.cac.psu.edu' with Net::FTP
Fetching with Net::FTP
ftp://carroll.cac.psu.edu/pub/CPAN/authors/01mailrc.txt.gz.gz
Could not connect to host 'carroll.cac.psu.edu' with Net::FTP

Trying with "/usr/bin/wget -O /root/.cpan/sources/authors/01mailrc.txt.tmp31957" to get
ftp://carroll.cac.psu.edu/pub/CPAN/authors/01mailrc.txt.gz
--19:06:51-- ftp://carroll.cac.psu.edu/pub/CPAN/authors/01mailrc.txt.gz
=> `/root/.cpan/sources/authors/01mailrc.txt.tmp31957'
Resolving carroll.cac.psu.edu... 128.118.2.96, 2610:8:4000:20:128:118:2:96
Connecting to carroll.cac.psu.edu|128.118.2.96|:21... failed: Connection timed out.
Connecting to carroll.cac.psu.edu|2610:8:4000:20:128:118:2:96|:21... failed: Network is unreachable.

System call "/usr/bin/wget -O /root/.cpan/sources/authors/01mailrc.txt.tmp31957 "ftp://carroll.cac.psu.edu/pub/CPAN/authors/01mailrc.txt.gz" "
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz.tmp31957] doesn't exist
Fetching with LWP:
ftp://cpan-du.viaverio.com/pub/CPAN/authors/01mailrc.txt.gz
LWP failed with code[500] message[LWP::Protocol::MyFTP: connect: timeout]
Fetching with Net::FTP:
ftp://cpan-du.viaverio.com/pub/CPAN/authors/01mailrc.txt.gz
Could not connect to host 'cpan-du.viaverio.com' with Net::FTP
Fetching with Net::FTP
ftp://cpan-du.viaverio.com/pub/CPAN/authors/01mailrc.txt.gz.gz
Could not connect to host 'cpan-du.viaverio.com' with Net::FTP

Trying with "/usr/bin/wget -O /root/.cpan/sources/authors/01mailrc.txt.tmp31957" to get
ftp://cpan-du.viaverio.com/pub/CPAN/authors/01mailrc.txt.gz
--19:17:01-- ftp://cpan-du.viaverio.com/pub/CPAN/authors/01mailrc.txt.gz
=> `/root/.cpan/sources/authors/01mailrc.txt.tmp31957'
Resolving cpan-du.viaverio.com... 168.143.19.69, 2001:418:8c00:21::221a
Connecting to cpan-du.viaverio.com|168.143.19.69|:21... failed: Connection timed out.
Connecting to cpan-du.viaverio.com|2001:418:8c00:21::221a|:21... failed: Network is unreachable.

System call "/usr/bin/wget -O /root/.cpan/sources/authors/01mailrc.txt.tmp31957 "ftp://cpan-du.viaverio.com/pub/CPAN/authors/01mailrc.txt.gz" "
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz.tmp31957] doesn't exist
Fetching with LWP:
ftp://cpan-sj.viaverio.com/pub/CPAN/authors/01mailrc.txt.gz
LWP failed with code[500] message[LWP::Protocol::MyFTP: connect: timeout]
Fetching with Net::FTP:
ftp://cpan-sj.viaverio.com/pub/CPAN/authors/01mailrc.txt.gz
Could not connect to host 'cpan-sj.viaverio.com' with Net::FTP
Fetching with Net::FTP
ftp://cpan-sj.viaverio.com/pub/CPAN/authors/01mailrc.txt.gz.gz
Could not connect to host 'cpan-sj.viaverio.com' with Net::FTP

Trying with "/usr/bin/wget -O /root/.cpan/sources/authors/01mailrc.txt.tmp31957" to get
ftp://cpan-sj.viaverio.com/pub/CPAN/authors/01mailrc.txt.gz
--19:27:10-- ftp://cpan-sj.viaverio.com/pub/CPAN/authors/01mailrc.txt.gz
=> `/root/.cpan/sources/authors/01mailrc.txt.tmp31957'
Resolving cpan-sj.viaverio.com... 207.57.106.5, 2001:418:a001:17::20d3
Connecting to cpan-sj.viaverio.com|207.57.106.5|:21... failed: Connection timed out.
Connecting to cpan-sj.viaverio.com|2001:418:a001:17::20d3|:21... failed: Network is unreachable.

System call "/usr/bin/wget -O /root/.cpan/sources/authors/01mailrc.txt.tmp31957 "ftp://cpan-sj.viaverio.com/pub/CPAN/authors/01mailrc.txt.gz" "
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz.tmp31957] doesn't exist
Fetching with LWP:
ftp://cpan.calvin.edu/pub/CPAN/authors/01mailrc.txt.gz
----------------------------------------------------------------


Next I tried to use the downloaded file : XML-OPML-LibXML-0.04.tar.gz

and run % perl Makefile.PL
% make && make test

Here is the output:

glgps@cell XML-OPML-LibXML-0.04 $ perl Makefile.PL
Cannot determine perl version info from lib/XML/OPML/LibXML.pm
Warning: prerequisite XML::LibXML 1.6 not found.
Writing Makefile for XML::OPML::LibXML
glgps@cell XML-OPML-LibXML-0.04 $ make
Manifying blib/man3/XML::OPML::LibXML.3pm
glgps@cell XML-OPML-LibXML-0.04 $ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/00_compile....1/1
# Failed test 'use XML::OPML::LibXML;'
# in t/00_compile.t at line 4.
# Tried to use 'XML::OPML::LibXML'.
# Error: Can't locate XML/LibXML.pm in @INC (@INC contains: /home/glgps/zhouping/XML-OPML-LibXML-0.04/inc /home/glgps/zhouping/XML-OPML-LibXML-0.04/blib/lib /home/glgps/zhouping/XML-OPML-LibXML-0.04/blib/arch /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /home/glgps/zhouping/XML-OPML-LibXML-0.04/blib/lib/XML/OPML/LibXML.pm line 6.
# BEGIN failed--compilation aborted at t/00_compile.t line 4.
# Compilation failed in require at (eval 3) line 2.
# BEGIN failed--compilation aborted at (eval 3) line 2.
# Looks like you failed 1 test of 1.
t/00_compile.... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
t/01_simple.....Can't locate XML/LibXML.pm in @INC (@INC contains: /home/glgps/zhouping/XML-OPML-LibXML-0.04/inc /home/glgps/zhouping/XML-OPML-LibXML-0.04/blib/lib /home/glgps/zhouping/XML-OPML-LibXML-0.04/blib/arch /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /home/glgps/zhouping/XML-OPML-LibXML-0.04/blib/lib/XML/OPML/LibXML.pm line 6.
BEGIN failed--compilation aborted at /home/glgps/zhouping/XML-OPML-LibXML-0.04/blib/lib/XML/OPML/LibXML.pm line 6.
Compilation failed in require at t/01_simple.t line 3.
BEGIN failed--compilation aborted at t/01_simple.t line 3.
t/01_simple..... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/02_nested.....Can't locate XML/LibXML.pm in @INC (@INC contains: /home/glgps/zhouping/XML-OPML-LibXML-0.04/inc /home/glgps/zhouping/XML-OPML-LibXML-0.04/blib/lib /home/glgps/zhouping/XML-OPML-LibXML-0.04/blib/arch /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /home/glgps/zhouping/XML-OPML-LibXML-0.04/blib/lib/XML/OPML/LibXML.pm line 6.
BEGIN failed--compilation aborted at /home/glgps/zhouping/XML-OPML-LibXML-0.04/blib/lib/XML/OPML/LibXML.pm line 6.
Compilation failed in require at t/02_nested.t line 3.
BEGIN failed--compilation aborted at t/02_nested.t line 3.
t/02_nested..... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/99_pod........ok

Test Summary Report
-------------------
t/00_compile (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
t/01_simple (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/02_nested (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=4, Tests=4, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.25 cusr 0.03 csys = 0.32 CPU)
Result: FAIL
Failed 3/4 test programs. 1/4 subtests failed.
make: *** [test_dynamic] Error 255


What is wrong here and what other options do I have?

Thanks in advance for your help!

Ping








Bjoern Hoehrmann

unread,
Dec 14, 2012, 3:28:57 PM12/14/12
to
* zhou...@hotmail.com wrote in comp.lang.perl.modules:
>When I run a perl script, got the following error :
>
>Can't locate XML/LibXML.pm in @INC ......
>
>So I tried to install module XML::OPML::LibXML.

That would be "Can't locate XML/OPML/LibXML.pm in @INC ..." but there is
no "OPML" in your error message. Install XML::LibXML instead.
--
Björn Höhrmann · mailto:bjo...@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/

zhou...@hotmail.com

unread,
Dec 14, 2012, 4:24:19 PM12/14/12
to
Thanks Bjoem.
I downloaded XML-LibXML-2.0014.tar.gz.

I the follow messages:

glgps@cell XML-LibXML-2.0014 $ perl Makefile.PL
enable native perl UTF8
running xml2-config...ok (2.6.31)
Checking for ability to link against xml2...yes
WARNING: META_MERGE is not a known parameter.
Warning: prerequisite ExtUtils::MakeMaker 6.56 not found. We have 6.44.
Warning: prerequisite XML::NamespaceSupport 1.07 not found.
Warning: prerequisite XML::SAX 0.11 not found.
'META_MERGE' is not a known MakeMaker parameter name.
Writing Makefile for XML::LibXML

Are the above warning messages OK for me to proceed?

The next step 'make' seems run OK.

glgps@cell XML-LibXML-2.0014 $ make
gcc -c -I/usr/include/libxml2 -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DVERSION=\"2.0014\" -DXS_VERSION=\"2.0014\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" -DHAVE_UTF8 Av_CharPtrPtr.c
gcc -c -I/usr/include/libxml2 -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DVERSION=\"2.0014\" -DXS_VERSION=\"2.0014\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" -DHAVE_UTF8 Devel.c
Devel.c: In function ‘XS_XML__LibXML__Devel_node_to_perl’:
Devel.xs:65: warning: ‘o’ is used uninitialized in this function
gcc -c -I/usr/include/libxml2 -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DVERSION=\"2.0014\" -DXS_VERSION=\"2.0014\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" -DHAVE_UTF8 LibXML.c
gcc -c -I/usr/include/libxml2 -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DVERSION=\"2.0014\" -DXS_VERSION=\"2.0014\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" -DHAVE_UTF8 dom.c
gcc -c -I/usr/include/libxml2 -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DVERSION=\"2.0014\" -DXS_VERSION=\"2.0014\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" -DHAVE_UTF8 perl-libxml-mm.c
gcc -c -I/usr/include/libxml2 -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DVERSION=\"2.0014\" -DXS_VERSION=\"2.0014\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" -DHAVE_UTF8 perl-libxml-sax.c
gcc -c -I/usr/include/libxml2 -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DVERSION=\"2.0014\" -DXS_VERSION=\"2.0014\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" -DHAVE_UTF8 xpath.c
Running Mkbootstrap for XML::LibXML ()
chmod 644 LibXML.bs
rm -f blib/arch/auto/XML/LibXML/LibXML.so
LD_RUN_PATH="/usr/lib:/lib" gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -L/usr/local/lib Av_CharPtrPtr.o Devel.o LibXML.o dom.o perl-libxml-mm.o perl-libxml-sax.o xpath.o -o blib/arch/auto/XML/LibXML/LibXML.so \
-lxml2 -lz -lm \

chmod 755 blib/arch/auto/XML/LibXML/LibXML.so
cp LibXML.bs blib/arch/auto/XML/LibXML/LibXML.bs
chmod 644 blib/arch/auto/XML/LibXML/LibXML.bs
Manifying blib/man3/XML::LibXML::Devel.3pm
Manifying blib/man3/XML::LibXML::DOM.3pm
Manifying blib/man3/XML::LibXML::ErrNo.3pm
Manifying blib/man3/XML::LibXML::DocumentFragment.3pm
Manifying blib/man3/XML::LibXML::XPathContext.3pm
Manifying blib/man3/XML::LibXML::InputCallback.3pm
Manifying blib/man3/XML::LibXML::SAX::Builder.3pm
Manifying blib/man3/XML::LibXML::Namespace.3pm
Manifying blib/man3/XML::LibXML::Document.3pm
Manifying blib/man3/XML::LibXML::Attr.3pm
Manifying blib/man3/XML::LibXML::SAX::Generator.3pm
Manifying blib/man3/XML::LibXML::CDATASection.3pm
Manifying blib/man3/XML::LibXML::Reader.3pm
Manifying blib/man3/XML::LibXML.3pm
Manifying blib/man3/XML::LibXML::Common.3pm
Manifying blib/man3/XML::LibXML::RelaxNG.3pm
Manifying blib/man3/XML::LibXML::PI.3pm
Manifying blib/man3/XML::LibXML::Error.3pm
Manifying blib/man3/XML::LibXML::Comment.3pm
Manifying blib/man3/XML::LibXML::Dtd.3pm
Manifying blib/man3/XML::LibXML::Number.3pm
Manifying blib/man3/XML::LibXML::Node.3pm
Manifying blib/man3/XML::LibXML::Literal.3pm
Manifying blib/man3/XML::LibXML::Parser.3pm
Manifying blib/man3/XML::LibXML::XPathExpression.3pm
Manifying blib/man3/XML::LibXML::Element.3pm
Manifying blib/man3/XML::LibXML::SAX.3pm
Manifying blib/man3/XML::LibXML::AttributeHash.3pm
Manifying blib/man3/XML::LibXML::Text.3pm
Manifying blib/man3/XML::LibXML::Boolean.3pm
Manifying blib/man3/XML::LibXML::RegExp.3pm
Manifying blib/man3/XML::LibXML::Schema.3pm
Manifying blib/man3/XML::LibXML::Pattern.3pm
Manifying blib/man3/XML::LibXML::NodeList.3pm


The next step 'make test' failed.
glgps@cell XML-LibXML-2.0014 $ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01basic............................Can't locate XML/SAX/Exception.pm in @INC (@INC contains: /home/glgps/zhouping/XML-LibXML-2.0014/blib/lib /home/glgps/zhouping/XML-LibXML-2.0014/blib/arch /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /home/glgps/zhouping/XML-LibXML-2.0014/blib/lib/XML/LibXML.pm line 1995.
BEGIN failed--compilation aborted at /home/glgps/zhouping/XML-LibXML-2.0014/blib/lib/XML/LibXML.pm line 1995.
Compilation failed in require at t/01basic.t line 6.
BEGIN failed--compilation aborted at t/01basic.t line 6.
# Looks like your test died before it could output anything.

Bjoern Hoehrmann

unread,
Dec 14, 2012, 4:51:27 PM12/14/12
to
* zhou...@hotmail.com wrote in comp.lang.perl.modules:
>glgps@cell XML-LibXML-2.0014 $ perl Makefile.PL
>enable native perl UTF8
>running xml2-config...ok (2.6.31)
>Checking for ability to link against xml2...yes
>WARNING: META_MERGE is not a known parameter.
>Warning: prerequisite ExtUtils::MakeMaker 6.56 not found. We have 6.44.
>Warning: prerequisite XML::NamespaceSupport 1.07 not found.
>Warning: prerequisite XML::SAX 0.11 not found.
>'META_MERGE' is not a known MakeMaker parameter name.
>Writing Makefile for XML::LibXML
>
>Are the above warning messages OK for me to proceed?

You usually have to install "prerequisite" modules in order to test and
use the module you are trying to install. The `cpan` utility would do so
automatically for you if you configure it accordingly.

zhou...@hotmail.com

unread,
Dec 14, 2012, 6:40:32 PM12/14/12
to derh...@gmx.net
I installed several prerequisites and it worked. Thank you so much!
it took a while for me to install all of them. It would be nice if I know how to use cpan utility to automatically do it.
Do you know how to do it the using cpan?

Ping
Message has been deleted
0 new messages