[Zope-Perl] unresolved symbol: PL_thr_key

jbr at FIZ-Karlsruhe.DE jbr at FIZ-Karlsruhe.DE
Tue Jan 27 08:41:20 EST 2004


> From: Darryl Cousins <darryl at altcontrol.nl>
>
> Hi,
>
> I'm getting a little further here.
>
> PL_thr_key is defined in /usr/lib/perl5/5.8.0/i686-linux-thread-multi/CORE/embedvar.h
>
> Further - I have a second gentoo machine at work that has no problems with the pyperl install (pyperl-1.0.1). Both are Live-CD installs form stage 2.
>
> But on the machine that works I think I did
> USE="threads" emerge -u system
>
> But on the machine that doesn't I used USE='threads' only for emerge perl
>
> My guess is that I need to emerge one or another or more of the 'system' emerge using USE='threads'.
>
> Does anyone know which program would support/compliment perl in this manner and that I should try to reinstall with threads enabled?
>
> Thanks
>
> Darryl
>

Hello Darryl,

I guess it has to do with the compilation of pyperl  and later zoperl

1.) you need a python and a Perl build with threads enabled.

For my perl version I compiled perl  from sources  and used the option:

   sh Configure -Dusethreads  
 
I used gcc for compile

2.) you have to include this perl (and your python) in your PATH, I 
  would not use a symbolic link.

3.) compile and install pyperl again.

  I used pyperl-1.0.1
  
  I activated multifile support:
  
   cd pyperl-1.0.1/Python-Object
   cp ../MULTI_PERL .
   perl   Makefile.PL
   make install
  
   # compile it:
  
   cd ..
   python setup.py install
  
   ....
  

Juergen Berger



More information about the Zope-perl mailing list