On Sunday 15 March 2009 23:56:59 Chris Marshall wrote: > 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 > > But the compile failed with warnings and errors: > > perlmodule.c:159: warning: inconsistent dll linkage for 'PerlPkg_type', > dllexport assumed. perlmodule.c:160: error: initializer element is not > constant
Did you compile Python yourself using cygwin, too? According to a quick search, the problem might just be that Python and this module are compiled with different compilers: http://boodebr.org/main/python/build-windows-extensions http://mail.python.org/pipermail/python-list/2006-May/557635.html Remember: Inline::Python is a Python extension just as well as a Perl module. So one basically gets the problems of both worlds :) Please tell me if I need to make any changes to Inline::Python to support your configuration. I do not use Windows myself, but if it's possible to support it, I'd of course like to. Please also tell me, if you got it to work ;) Regards, Stefan
signature.asc
Description: This is a digitally signed message part.