Bonjour,
voulant installer zope2 j'ai une erreur de compilation en utilisant le paquet python2.5 de la distrib (Slitaz3.0):
error: invalid Python installation: unable to open /usr/include/python2.5/pyconfig.h (No such file or directory)
j'ai donc téléchargé et compilé une version 2.4 de python (sous /opt) mais la compilation de zope2 en précisant cette version de python
./configure --prefix=/opt --with-python=/opt/python2-4/bin/python
me renvoie un problème de dépendance avec zlib (/usr/lib/libz.so sous slitaz):
Configuring Zope installation
The Python interpreter you are using does not appear to have the 'zlib'
library module installed. For Zope to be able to run, you must install a
Python interpreter which includes the zlib module, or install the zlib library
into your Python interpreter manually. The file which represents the library
is named 'zlib.so' (UNIX) or 'zlib.dll' (Windows) and is typically located in
the 'lib-dynload' directory of your Python's library directory. Some
Python packagers ship the zlib module as a separate installable binary. If you
are using a system-provided Python installation, you may want to look for
a 'python-zlib' package (or something like it) and install it to make the
Python zlib module available to Zope.
Run the configure script with the --ignore-zlib option to prevent this
warning with the understanding that Zope will not start properly until
you've installed the zlib module.
j'ai essayé un lien symbolique, copié la lib en la rennomant, recompilé python avec:
./configure --prefix=/opt/python2-4 --with-zlib=/usr/lib/libz.so
mais que neni, toujours la même erreur pour zope! :/
bon je peux compiler zope en ignorant la zlib, mais franchement.......non! ;)
Merci pour vos idées et vos lumières ;)
quercus