Inline::Python problem while installing HTML::HTML5::Parser
Neubert Joachim
J.Neubert at zbw.eu
Tue Dec 8 18:49:48 CET 2009
When I try to install HTML::HTML5::Parser, I strand on the required
module Inline:Python. I'm in a CentOS/Redhat 5.4 environment, Python
2.4.3 is part of the distribution (and used by the OS itself), so I
hesitate to change this.
Do you have any ideas how to work arround?
Cheers, Joachim
CPAN Terminal> i HTML::HTML5::Parser
Installing HTML::HTML5::Parser (0.01)
==> MISSING Signature file! <==
Running [/usr/bin/perl /usr/bin/cpanp-run-perl
/root/.cpanplus/5.8.8/build/HTML-HTML5-Parser-0.01/Makefile.PL]...
*** Module::AutoInstall version 1.03
*** Checking for Perl dependencies...
*** Since we're running under CPANPLUS, I'll just let it take care
of the dependency's installation later.
[Core Features]
- Test::More ...loaded. (0.62 >= 0.61)
- Inline::Python ...missing.
- LWP::UserAgent ...loaded. (5.816)
- XML::LibXML ...loaded. (1.70)
- Error ...loaded. (0.17015)
*** Module::AutoInstall configuration finished.
Checking if your kit is complete...
Looks good
Warning: prerequisite Inline::Python 0 not found.
Writing Makefile for HTML::HTML5::Parser
==> MISSING Signature file! <==
Running [/usr/bin/perl /usr/bin/cpanp-run-perl
/root/.cpanplus/5.8.8/build/Inline-Python-0.31/Makefile.PL]...
Found these python executables on your PATH:
1. /usr/bin/python
Use which? [1]
Using /usr/bin/python
Using These Settings:
Extra Libs: -lpthread -ldl -lutil
Python Lib: -L/usr/lib/python2.4/config -lpython2.4
Includes: -I/usr/include/python2.4
Extra Flags: none (perl Makefile.PL --help for details)
Checking if your kit is complete...
Looks good
Writing Makefile for Inline::Python
[ERROR] MAKE failed: No such file or directory cp Python.pm
blib/lib/Inline/Python.pm
cp Python.pod blib/lib/Inline/Python.pod
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.8.8/ExtUtils/typemap Python.xs > Python.xsc && mv
Python.xsc Python.c
gcc -c -I/usr/include/python2.4 -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=\"0.31\" -DXS_VERSION=\"0.31\" -fPIC
"-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" -DEXPOSE_PERL
-DCREATE_PYTHON -UCREATE_PERL Python.c
Python.xs: In function 'do_pyinit':
Python.xs:44: warning: implicit declaration of function 'initperl'
Python.xs: In function 'XS_Inline__Python_py_study_package':
Python.xs:109: warning: unused variable 'bases'
Python.c: In function 'XS_Inline__Python_py_call_method':
Python.xs:360: warning: unused variable 'inherited_method'
gcc -c -I/usr/include/python2.4 -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=\"0.31\" -DXS_VERSION=\"0.31\" -fPIC
"-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" -DEXPOSE_PERL
-DCREATE_PYTHON -UCREATE_PERL py2pl.c
py2pl.c: In function 'Py2Pl':
py2pl.c:228: warning: ISO C90 forbids mixed declarations and code
py2pl.c:27: warning: unused variable 'type_str'
gcc -c -I/usr/include/python2.4 -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=\"0.31\" -DXS_VERSION=\"0.31\" -fPIC
"-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" -DEXPOSE_PERL
-DCREATE_PYTHON -UCREATE_PERL perlmodule.c
perlmodule.c: In function 'PerlObj_getattr':
perlmodule.c:258: warning: ISO C90 forbids mixed declarations and code
perlmodule.c:267: warning: ISO C90 forbids mixed declarations and code
perlmodule.c: In function 'PerlObj_mp_subscript':
perlmodule.c:304: warning: ISO C90 forbids mixed declarations and code
perlmodule.c:313: warning: ISO C90 forbids mixed declarations and code
perlmodule.c:327: warning: ISO C90 forbids mixed declarations and code
perlmodule.c: At top level:
perlmodule.c:354: error: 'lenfunc' undeclared here (not in a function)
perlmodule.c:354: error: expected '}' before numeric constant
perlmodule.c: In function 'PerlSub_call':
perlmodule.c:536: warning: ISO C90 forbids mixed declarations and code
make: *** [perlmodule.o] Error 1
[ERROR] Unable to create a new distribution object for 'Inline::Python'
-- cannot continue
[ERROR] Failed to install 'Inline::Python' as prerequisite for
'HTML::HTML5::Parser'
[ERROR] Unable to satisfy prerequisites for 'HTML::HTML5::Parser' --
aborting install
[ERROR] Unable to create a new distribution object for
'HTML::HTML5::Parser' -- cannot continue
*** Install log written to:
/root/.cpanplus/install-logs/HTML-HTML5-Parser-0.01-1260294501.log
Error installing 'HTML::HTML5::Parser'
Problem installing one or more modules
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.perlrdf.org/pipermail/dev/attachments/20091208/e979824d/attachment.htm>
More information about the Dev
mailing list