really sorry,
I was not in the computer where I want to install the module..now I am
here. :D
root@darkin:/home/julio# cd Desktop/Inline-Python-0.26/
root@darkin:/home/julio/Desktop/Inline-Python-0.26# perl Makefile.PL
Found these python executables on your PATH:
1. /usr/bin/python
Use which? [1]
Using /usr/bin/python
This python's configuration files are messed up. You'll have have to
answer the questions yourself. Here is what Python said:
Extra Libs: -lpthread -ldl -lutil
Python Library: /usr/lib/python2.5/config/libpython2.5.a
Include Path: /usr/include/python2.5
1. LIBS option. I need to know what extra libraries, if any,
are required by this build of python. I recommend this:
-lpthread -ldl -lutil
Enter extra libraries (e.g. -lfoo -lbar) [-lpthread -ldl -lutil]
2. LIBRARY option. The location of the python library.
Inline::Python needs to link against it to use Python.
Here are the libraries I know about:
Which? Or enter another. [1]
3. INCLUDE option. The location of the python include files.
Inline::Python needs these to compile.
Here are the locations I know about:
1) /usr/include/python2.4
2) /usr/include/python2.4_d
3) /usr/include/python2.5
4) /usr/include/python2.5_d
Which? Or enter another. [1]
Using These Settings:
Extra Libs: -lpthread -ldl -lutil
Python Lib: -L
Includes: -I/usr/include/python2.4
Extra Flags: none (perl Makefile.PL --help for details)
Writing Makefile for Inline::Python
root@darkin:/home/julio/Desktop/Inline-Python-0.26# make
cc -c -I/usr/include/python2.4 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"0.26\" -DXS_VERSION=\"0.26\"
-fPIC "-I/usr/lib/perl/5.10/CORE" -DEXPOSE_PERL -DCREATE_PYTHON
-UCREATE_PERL Python.c
Python.xs:6:20: error: Python.h: Arquivo ou diretório inexistente
In file included from Python.xs:7:
py2pl.h:4: error: expected ‘)’ before ‘*’ token
py2pl.h:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘*’ token
In file included from Python.xs:8:
util.h:38: error: expected ‘)’ before ‘*’ token
util.h: In function ‘DL_IMPORT’:
util.h:39: error: expected declaration specifiers before
‘perl_pkg_exists’
util.h:40: error: expected ‘)’ before ‘*’ token
util.h:43: error: storage class specified for parameter
‘free_inline_py_obj’
In file included from Python.xs:11:
perlmodule.h:9: error: expected specifier-qualifier-list before
‘PyObject_HEAD’
perlmodule.h:13: error: storage class specified for parameter
‘PerlPkg_object’
perlmodule.h:17: error: expected specifier-qualifier-list before
‘PyObject_HEAD’
perlmodule.h:20: error: storage class specified for parameter
‘PerlObj_object’
perlmodule.h:24: error: expected specifier-qualifier-list before
‘PyObject_HEAD’
perlmodule.h:33: error: storage class specified for parameter
‘PerlSub_object’
perlmodule.h:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘PerlPkg_type’
perlmodule.h:48: error: expected ‘)’ before ‘*’ token
perlmodule.h:51: error: expected ‘)’ before ‘*’ token
perlmodule.h:54: error: expected ‘)’ before ‘*’ token
perlmodule.h:55: error: expected ‘)’ before ‘*’ token
perlmodule.h:56: error: expected ‘)’ before ‘*’ token
Python.xs:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘{’ token
Python.c:73: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘{’ token
Python.c:169: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘{’ token
Python.c:232: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘{’ token
Python.c:339: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘{’ token
Python.c:459: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘{’ token
Python.c:491: error: old-style parameter declarations in prototyped
function definition
util.h:39: error: parameter name omitted
Python.c:490: error: expected ‘{’ at end of input
make: ** [Python.o] Erro 1
root@darkin:/home/julio/Desktop/Inline-Python-0.26#