[Zope] Compilation issues

Tarek Ziadé ziade.tarek at gmail.com
Wed Jun 13 08:50:04 EDT 2007


Hello,

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

3/ My system info (regular debian):

$ cat /proc/cpuinfo &&  more /etc/debian_version && uname -a
processor       : 0
vendor_id       : CentaurHauls
cpu family      : 6
model           : 10
model name      : VIA Esther processor 2000MHz
stepping        : 9
cpu MHz         : 1995.084
cache size      : 128 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge cmov
pat clflush acpi mmx fxsr sse sse2 tm nx pni est tm2 rng rng_en ace ace_en
ace2 ace2_en phe phe_en pmm pmm_en
bogomips        : 3992.74

lenny/sid
Linux xxxx 2.6.18.1dedibox_r6_final #1 Mon Oct 16 14:05:25 CEST 2006 i686
GNU/Linux


-- 
Tarek Ziadé | Association AfPy | www.afpy.org
Blog FR | http://programmation-python.org
Blog EN | http://tarekziade.wordpress.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20070613/2d03b21e/attachment.htm


More information about the Zope mailing list