[Zope3-dev] Makefile and python version number

Julien Anguenot ja at nuxeo.com
Mon Aug 29 11:51:28 EDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi there,

http://svn.zope.org/Zope3/trunk/Makefile?rev=37919&r1=37889&r2=37919

The reason is not explained within the logs ??

The problem is when you have the following installed :

python-2.3.5
python-2.4.1 as the default Python version on the system.

When you're running "make" everything's fine except that it will use the
python.2.4.1 and if you're running the ./z3.py or ./test.py then it
doesn't work with the following error :

Traceback (most recent call last):
  File "./z3.py", line 63, in ?
    run()
  File "./z3.py", line 58, in run
    from zope.app.server.main import main
  File "/home/zopes/Zope-3.2/src/zope/app/server/main.py", line 25, in ?
    import ZODB.interfaces
  File "/home/zopes/Zope-3.2/src/ZODB/__init__.py", line 21, in ?
    from persistent import TimeStamp
  File "/home/zopes/Zope-3.2/src/persistent/__init__.py", line 19, in ?
    from cPersistence import Persistent, GHOST, UPTODATE, CHANGED, STICKY
ImportError: /home/zopes/Zope-3.2/src/persistent/cPersistence.so:
undefined symbol: PyUnicodeUCS4_AsEncodedString

I think this changeset made the problem appear :
http://svn.zope.org/Zope3/trunk/Makefile?rev=38056&r1=37919&r2=38056

with

- --install-dir


Should we add back the Python version number within the Makefile (it
solves the problem) ?

	J.
- --
Julien Anguenot | Nuxeo R&D (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM   : http://www.z3lab.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFDEy8AGhoG8MxZ/pIRAsyuAJ9MG2fD/fObM+EjFKSKfDzLgf8hMwCcCzLl
exyTsnI30EvrWPG6zB24dfo=
=pCbH
-----END PGP SIGNATURE-----


More information about the Zope3-dev mailing list