[Zope-Perl] safecall test failed

Gisle Aas gisle@ActiveState.com
24 Oct 2000 09:11:44 -0700


Stephen Harrison <stephen@nipltd.com> writes:

> Ok, while I try to get things working on Solaris, I have turned my
> attention to linux.  Everything now compiles and runs ok, except for the
> safecall.py test, which fails:
> 
> Traceback (most recent call last):
>   File "safecall.py", line 13, in ?
>     perl.eval("""
> perl.PerlError: Can't load
> '/ActivePerl-5.6.0/lib/5.6.0/i686-linux-thread-multi/auto/Opcode/Opcode.so'
> for module Opcode:
> /ActivePerl-5.6.0/lib/5.6.0/i686-linux-thread-multi/auto/Opcode/Opcode.so:
> undefined symbol: Perl_warn at
> /ActivePerl-5.6.0/lib/5.6.0/i686-linux-thread-multi/XSLoader.pm line 73.
>  at /ActivePerl-5.6.0/lib/5.6.0/i686-linux-thread-multi/Opcode.pm line
> 31
> Compilation failed in require at safecall line 16.
> 
> safecall.py ......... failed
> 
> This is using ActivePerl-5.6.0 and ActivePython-2.0.0
> 
> I'm guessing that there shouldn't be any problems on linux, at least?

With ActivePython you don't get the python-*-dynload-global patch
applied.  I think you would have to build your own python to get this
working.  Using ActivePerl should be ok, as it has all required
patches pre-applied.  I'll check with our ActivePython guys to see if
there are ways to sneak this patch into their builds in the future.  I
actually hope to get the 'pyperl' stuff included in
ActivePerl/ActivePython so you actually don't have to build anything.

Also note that the Zope-2.2.2 README says that 'Zope requires Python
1.5.2'.  Does anybody know what actually fails with Python-2.0?

> Or maybe I'm just doomed to never getting this stuff to install
> properly...

Hopefully not :-(

Regards,
Gisle