-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tarek Ziadé wrote:
I am trying to set up a Python/Zope in my home because I have a limited
access to the server,
but I have an issue when i try to run Zope with unicode compilation with the
Persitency module.
I remember I had this problem once with PyLucene, and recompiling Python
with the right option
resolved it. But in the present case, it doesn't solve it...
Any ideas ?
Thanks
Tarek
1/ Error:
$ ./bin/runzope
[...]
Traceback (most recent call last):
File /home/tarek/opt/zope-2.8.4/lib/python/Zope2/Startup/run.py, line
56, in ?
[...]
File /home/tarek/opt/zope-2.8.4/lib/python/persistent/__init__.py, line
19, in ?
from cPersistence import Persistent, GHOST, UPTODATE, CHANGED, STICKY
ImportError: /home/tarek/opt/zope-2.8.4/lib/python/persistent/cPersistence.so:
undefined symbol: PyUnicodeUCS2_AsEncodedString
2/ So i tried this:
Python compilation:
$ ./configure --enable-unicode=ucs2 --prefix=/home/tarek/opt/python-2.3.5
$ make make install
Zope compilation:
$ ./configure
--prefix=/home/tarek/opt/zope-2.8.4--with-python=/home/tarek/opt/python-
2.3.5/bin/python
$ make make install
These are both in clean source trees? 'make clean' in the Zope tree
might be worth trying. I just ran similar builds in a completely empty
directory tree (unpacking from source) without problems.
Tres.
- --
===
Tres Seaver +1 540-429-0999 [EMAIL PROTECTED]
Palladion Software Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGb/KD+gerLs4ltQ4RAtpBAJwP29kwXUNMTrA6eWOqUHVBAaTGKACfeU4i
vY4sPx3mhZ4B/QypMTmPvN4=
=/HtD
-END PGP SIGNATURE-
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )