Subject: | inline python not work on win32 systems |
I am trying to install the perl-Inline-Python
in windows xp (32-bit) and 7 (32--bi). I run the command "perl
Makefile.PL" and the error message is on both systeme with perl v5.10.1
built for MSWin32-x86-multi-thread (activeperl from activestate) and
python 2.6.5 (from python.org for windows python-2.6.5.msi 32-Bit):
Using These Settings:
Extra Libs:
Python Lib: -LC:/Python26/libs python26.lib
Includes: -IC:/Python26/include
Extra Flags: none (perl Makefile.PL --help for details)
Checking if your kit is complete...
Looks good
Writing Makefile for Inline::Python
C:\Inline-Python-0.36>dmake
cp Python.pm blib\lib\Inline\Python.pm
cp Python.pod blib\lib\Inline\Python.pod
C:/Perl/site/bin/gcc.exe -c -IC:/Python26/include -DNDEBUG -DWIN32
-D_CONS
OLE -DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE
-DPRIVLIB_LAST_IN_INC -DPE
RL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
-DPERL_MSVCRT_READFIX -DHAS
ATTRIBUTE -fno-strict-aliasing -mms-bitfields -O2 -DVERSION=\"0.36\"
-DXS_VERSION=\"0.36\" "-IC:\Perl\lib\CORE" -DEXPOSE_PERL
-DCREATE_PYTHON -UCRE
ATE_PERL Python.c
C:/Perl/site/bin/gcc.exe -c -IC:/Python26/include -DNDEBUG -DWIN32
-D_CONS
OLE -DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE
-DPRIVLIB_LAST_IN_INC -DPE
RL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
-DPERL_MSVCRT_READFIX -DHAS
ATTRIBUTE -fno-strict-aliasing -mms-bitfields -O2 -DVERSION=\"0.36\"
-DXS_VERSION=\"0.36\" "-IC:\Perl\lib\CORE" -DEXPOSE_PERL
-DCREATE_PYTHON -UCRE
ATE_PERL py2pl.c
py2pl.c: In function `croak_python_exception':
py2pl.c:405: warning: passing arg 1 of `PyErr_Fetch' from incompatible
pointer t
ype
py2pl.c:406: warning: passing arg 1 of `PyErr_NormalizeException' from
incompati
ble pointer type
C:/Perl/site/bin/gcc.exe -c -IC:/Python26/include -DNDEBUG -DWIN32
-D_CONS
OLE -DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE
-DPRIVLIB_LAST_IN_INC -DPE
RL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
-DPERL_MSVCRT_READFIX -DHAS
ATTRIBUTE -fno-strict-aliasing -mms-bitfields -O2 -DVERSION=\"0.36\"
-DXS_VERSION=\"0.36\" "-IC:\Perl\lib\CORE" -DEXPOSE_PERL
-DCREATE_PYTHON -UCRE
ATE_PERL perlmodule.c
perlmodule.c:161: warning: inconsistent dll linkage for 'PerlPkg_type',
dllexpor
t assumed.
perlmodule.c:162: error: initializer element is not constant
perlmodule.c:162: error: (near initialization for `PerlPkg_type.ob_type')
perlmodule.c:361: warning: inconsistent dll linkage for 'PerlObj_type',
dllexpor
t assumed.
perlmodule.c:362: error: initializer element is not constant
perlmodule.c:362: error: (near initialization for `PerlObj_type.ob_type')
perlmodule.c: In function `PerlSub_call':
perlmodule.c:506: warning: passing arg 2 of `Perl_sv_2mortal' from
incompatible
pointer type
perlmodule.c: At top level:
perlmodule.c:656: warning: inconsistent dll linkage for 'PerlSub_type',
dllexpor
t assumed.
perlmodule.c:657: error: initializer element is not constant
perlmodule.c:657: error: (near initialization for `PerlSub_type.ob_type')
dmake.exe: Error code 129, while making 'perlmodule.o'
whats wrong?
the modul works under debian linux 5 on my second system.