----- Original Message ----- From: "Chris Marshall" <jns-cmarsh...@comcast.net>

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.

Google throws up a few hits for "initializer element is not constant" - though nothing in relation to Inline::Python specifically afaict. In the absence of any helpful information, there might be something there that enables you to hack up a solution. (The first hit that Google provides looked to me like it might be promising.)

Cheers,
Rob

Reply via email to