CPAN::Forum
Inline-Python - Can't build cleanly on AIX or Cygwin
| Posted on Fri Apr 21 20:14:45 2006 by scunacc |
| Can't build cleanly on AIX or Cygwin |
|
Hi all,
I have built this successfully on various versions of Linux, but I can't build/test/run it successfully on AIX or Cygwin.
On AIX, altho' the compile (xlc - not gcc) succeeds, I get:
t/02testpl....Can't make loaded symbols global on this platform while loading /root/.cpan/build/Inline-Python-0.22/blib/arch/auto/Inline/Python/Python.so at /local/lib/5.8.7/aix/DynaLoader.pm line 230.
Can't load '/local/lib/site_perl/5.8.7//aix/auto/Inline/Python/Python.so' for module Inline::Python: rtld: 0712-001 Symbol hypot was referenced
from module /local/lib/site_perl/5.8.7//aix/auto/Inline/Python/Python.so(), but a runtime definition
of the symbol was not found
... and many others of the same ilk when I do make test.
All tests fail - (200% interestingly! :-S)
Looks at first glance like a Dynaloader issue, BUT, I have many and varied other modules linked and running successfully on this system (including Inline::C BTW), so I'm not sure what's happening here.
On Cygwin, I get:
cc -c -I/usr/local/include/python2.4 -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -I/usr/local/include -DUSEIMPORTLIB -O3 -DVERSION=\"0.22\" -DXS_VERSION=\"0.22\" "-I/usr/lib/perl5/5.8/cygwin/CORE" -DEXPOSE_PERL -DCREATE_PYTHON -UCREATE_PERL perlmodule.c
perlmodule.c:159: warning: inconsistent dll linkage for 'PerlPkg_type', dllexport assumed.
perlmodule.c:160: error: initializer element is not constant
in the compile.
Note: I built a separate python executable under /usr/local - just to test this out - same problem with supplied Cygwin python.
Any ideas?
Kind regards
Derek Jones.
|
| Write a response |
(0)
]