[Zope-Perl] PyPerl MULTI_PERL Problem
Pedro Algarvio, aka, s0undt3ch
ufs at ufsoft.org
Mon Nov 27 19:37:06 EST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello folks!
I'm using pyperl in an web application I'm building in Pylons, a python
web framework.
While I've successfully used pyperl with it, upon release of the app's
first alpha, problems arised.
My development was made with perl-5.8.8(no usethreads support) and
python 2.4.3, and one of the users trying to use my app, has perl 5.8.8
with usethreads support, so in order for me to debug the problem, I
re-compiled my perl+libperl with ithreads support:
$ perl -V:usethreads -V:useithreads -V:use5005threads
usethreads='define';
useithreads='define';
use5005threads='undef';
So far so good, the problem now comes while actually using pyperl. I
sucessfully rebuilded pyperl, ie no errors occurred, but:
>>> import perl
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: /usr/lib/python2.4/site-packages/perl2.so: undefined
symbol: PL_sv_undef
I'm using pyperl-1.0.1d(some modifications of mine to the setup.py
script, ie, avoid the two commands to build pyperl). It can be found on
http://ccp.ufsoft.org/browser/trunk/extra-packages/pyperl-1.0.1d
But the problem also happens if I use pyperl-1.0.1c, so, I think it's
not my modified pyperl's package problem.
Any help on this subject is more than welcome.
Thanks,
- --
Pedro Algarvio
__ ___ ___ _______ ___ __
| Y .' _| _ .-----.' _| |_ .-----.----.-----.
|. | | _| 1___| _ | _| _|__| _ | _| _ |
|. | |__| |____ |_____|__| |____|__|_____|__| |___ |
|: 1 | |: 1 | |_____|
|::.. . | |::.. . | ufs [AT] ufsoft [DOT] org
`-------' `-------' ufs [AT] sapo [DOT] pt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQFFa4SyniPxVTX2hA4RArC9AKCSkT+pzGtE9s/iOldsXGBQ5NwN9wCgrAq1
JRkysbs/oJwDvmQjGFqqeDs=
=oEC9
-----END PGP SIGNATURE-----
More information about the Zope-perl
mailing list