I tried to build Inline::Python on Cygwin/winXP
to no avail.  The module appeared to configure
ok:

   Extra Libs:  -ldl
   Python Lib:  -L/usr/lib/python2.5/config -lpython2.5.dll
   Includes:    -I/usr/include/python2.5
   Extra Flags: none (perl Makefile.PL --help for details)

But the compile failed with warnings and errors:

gcc -c -I/usr/include/python2.5 -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -pipe -I/usr/local/include -DUSEIMPORTLIB -O 3 -DVERSION=\"0.28\" -DXS_VERSION=\"0.28\" "-I/usr/lib/perl5/5.10/i686-cygwin/CORE" -DEXPOSE_PERL -DCREATE_PYTHON -UCREATE_PERL perlmod
ule.c
  perlmodule.c:159: warning: inconsistent dll linkage for 'PerlPkg_type', 
dllexport assumed.
  perlmodule.c:160: error: initializer element is not constant
  perlmodule.c:160: error: (near initialization for `PerlPkg_type.ob_type')
  perlmodule.c:307: warning: inconsistent dll linkage for 'PerlObj_type', 
dllexport assumed.
  perlmodule.c:308: error: initializer element is not constant
  perlmodule.c:308: error: (near initialization for `PerlObj_type.ob_type')
  perlmodule.c:585: warning: inconsistent dll linkage for 'PerlSub_type', 
dllexport assumed.
  perlmodule.c:586: error: initializer element is not constant
  perlmodule.c:586: error: (near initialization for `PerlSub_type.ob_type')
  make: *** [perlmodule.o] Error 1

Has anyone been able to build this on Cygwin?  There
have been no passes for this platform reported via the
CPAN testers.

Regards,
Chris

Reply via email to