Hi, I am having the following error when compiling Zope: --------------------------------------------------------------- "/usr/bin/python" "/infra/portal/Zope-2.8.4-final/setup.py" \ build --build-base="/infra/portal/Zope-2.8.4-final/build-base/python-2.3" --build-lib="/infra/portal/Zope-2.8.4-final/build-base/python-2.3/build-lib" --build-scripts="/infra/portal/Zope-2.8.4-final/build-base/python-2.3/build-scripts" --build-temp="/infra/portal/Zope-2.8.4-final/build-base/python-2.3/build-temp" running build running build_py running build_ext building 'AccessControl.cAccessControl' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -IExtensionClass -IAcquisition -I/usr/include/python2.3 -c AccessControl/cAccessControl.c -o /infra/portal/Zope-2.8.4-final/build-base/python-2.3/build-temp/AccessControl/cAccessControl.o En el fichero incluído de /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h:7, de /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:11, de /usr/include/python2.3/Python.h:19, de ExtensionClass/ExtensionClass.h:83, de AccessControl/cAccessControl.c:51: /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:122:75: limits.h: No existe el fichero o el directorio En el fichero incluído de ExtensionClass/ExtensionClass.h:83, de AccessControl/cAccessControl.c:51: /usr/include/python2.3/Python.h:28:19: stdio.h: No existe el fichero o el directorio /usr/include/python2.3/Python.h:30:5: #error "Python.h requires that stdio.h define NULL." /usr/include/python2.3/Python.h:33:20: string.h: No existe el fichero o el directorio /usr/include/python2.3/Python.h:34:19: errno.h: No existe el fichero o el directorio /usr/include/python2.3/Python.h:36:20: stdlib.h: No existe el fichero o el directorio /usr/include/python2.3/Python.h:39:20: unistd.h: No existe el fichero o el directorio /usr/include/python2.3/Python.h:46:20: assert.h: No existe el fichero o el directorio ... ... and the error list goes on. --------------------------------------------------------------- but the limits.h file does exist at the above mentioned location My environment is: Debian 3.1 (stable) dpkg -l | grep python ii python 2.3.5-2 An interactive high-level object-oriented la ii python-ldap 2.0.4-1 A LDAP interface module for Python. [dummy p ii python2.3 2.3.5-3 An interactive high-level object-oriented la ii python2.3-dev 2.3.5-3 Header files and a static library for Python ii python2.3-ldap 2.0.4-1 A LDAP interface module for Python 2.3 dpkg -l | grep gcc ii gcc 3.3.5-3 The GNU C compiler ii gcc-3.3 3.3.5-13 The GNU C compiler ii gcc-3.3-base 3.3.5-13 The GNU Compiler Collection (base package) ii libgcc1 3.4.3-13 GCC support library dpkg -l | grep make ii ant 1.6.2-2 Java based build tool like make ii libant1.6-java 1.6.2-2.1 Java based build tool like make -- library ii make 3.80-9 The GNU version of the "make" utility. ii makedev 2.3.1-77 creates device files in /dev Any ideas what can be missing from my installation? Best regards, Gustavo.
Gusti Gonzalez wrote:
Hi,
I am having the following error when compiling Zope: --------------------------------------------------------------- "/usr/bin/python" "/infra/portal/Zope-2.8.4-final/setup.py" \ build --build-base="/infra/portal/Zope-2.8.4-final/build-base/python-2.3" --build-lib="/infra/portal/Zope-2.8.4-final/build-base/python-2.3/build-lib" --build-scripts="/infra/portal/Zope-2.8.4-final/build-base/python-2.3/build-scripts" --build-temp="/infra/portal/Zope-2.8.4-final/build-base/python-2.3/build-temp" running build running build_py running build_ext building 'AccessControl.cAccessControl' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -IExtensionClass -IAcquisition -I/usr/include/python2.3 -c AccessControl/cAccessControl.c -o /infra/portal/Zope-2.8.4-final/build-base/python-2.3/build-temp/AccessControl/cAccessControl.o En el fichero incluído de /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h:7, de /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:11, de /usr/include/python2.3/Python.h:19, de ExtensionClass/ExtensionClass.h:83, de AccessControl/cAccessControl.c:51: /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:122:75: limits.h: No existe el fichero o el directorio En el fichero incluído de ExtensionClass/ExtensionClass.h:83, de AccessControl/cAccessControl.c:51: /usr/include/python2.3/Python.h:28:19: stdio.h: No existe el fichero o el directorio /usr/include/python2.3/Python.h:30:5: #error "Python.h requires that stdio.h define NULL." /usr/include/python2.3/Python.h:33:20: string.h: No existe el fichero o el directorio /usr/include/python2.3/Python.h:34:19: errno.h: No existe el fichero o el directorio /usr/include/python2.3/Python.h:36:20: stdlib.h: No existe el fichero o el directorio /usr/include/python2.3/Python.h:39:20: unistd.h: No existe el fichero o el directorio /usr/include/python2.3/Python.h:46:20: assert.h: No existe el fichero o el directorio ... ... and the error list goes on. ---------------------------------------------------------------
but the limits.h file does exist at the above mentioned location
My environment is: Debian 3.1 (stable)
dpkg -l | grep python ii python 2.3.5-2 An interactive high-level object-oriented la ii python-ldap 2.0.4-1 A LDAP interface module for Python. [dummy p ii python2.3 2.3.5-3 An interactive high-level object-oriented la ii python2.3-dev 2.3.5-3 Header files and a static library for Python ii python2.3-ldap 2.0.4-1 A LDAP interface module for Python 2.3
dpkg -l | grep gcc ii gcc 3.3.5-3 The GNU C compiler ii gcc-3.3 3.3.5-13 The GNU C compiler ii gcc-3.3-base 3.3.5-13 The GNU Compiler Collection (base package) ii libgcc1 3.4.3-13 GCC support library
dpkg -l | grep make ii ant 1.6.2-2 Java based build tool like make ii libant1.6-java 1.6.2-2.1 Java based build tool like make -- library ii make 3.80-9 The GNU version of the "make" utility. ii makedev 2.3.1-77 creates device files in /dev
Any ideas what can be missing from my installation?
Best regards, Gustavo.
Gustavo, Did you download the full (developers) version of python from python.org? If not you'll need to to compile Zope. David
David H escribió:
Gusti Gonzalez wrote:
Hi,
I am having the following error when compiling Zope: --------------------------------------------------------------- "/usr/bin/python" "/infra/portal/Zope-2.8.4-final/setup.py" \ build --build-base="/infra/portal/Zope-2.8.4-final/build-base/python-2.3" --build-lib="/infra/portal/Zope-2.8.4-final/build-base/python-2.3/build-lib"
--build-scripts="/infra/portal/Zope-2.8.4-final/build-base/python-2.3/build-scripts"
--build-temp="/infra/portal/Zope-2.8.4-final/build-base/python-2.3/build-temp"
running build running build_py running build_ext building 'AccessControl.cAccessControl' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -IExtensionClass -IAcquisition -I/usr/include/python2.3 -c AccessControl/cAccessControl.c -o /infra/portal/Zope-2.8.4-final/build-base/python-2.3/build-temp/AccessControl/cAccessControl.o
En el fichero incluído de /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h:7, de /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:11, de /usr/include/python2.3/Python.h:19, de ExtensionClass/ExtensionClass.h:83, de AccessControl/cAccessControl.c:51: /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:122:75: limits.h: No existe el fichero o el directorio En el fichero incluído de ExtensionClass/ExtensionClass.h:83, de AccessControl/cAccessControl.c:51: /usr/include/python2.3/Python.h:28:19: stdio.h: No existe el fichero o el directorio /usr/include/python2.3/Python.h:30:5: #error "Python.h requires that stdio.h define NULL." /usr/include/python2.3/Python.h:33:20: string.h: No existe el fichero o el directorio /usr/include/python2.3/Python.h:34:19: errno.h: No existe el fichero o el directorio /usr/include/python2.3/Python.h:36:20: stdlib.h: No existe el fichero o el directorio /usr/include/python2.3/Python.h:39:20: unistd.h: No existe el fichero o el directorio /usr/include/python2.3/Python.h:46:20: assert.h: No existe el fichero o el directorio ... ... and the error list goes on. ---------------------------------------------------------------
but the limits.h file does exist at the above mentioned location
My environment is: Debian 3.1 (stable)
dpkg -l | grep python ii python 2.3.5-2 An interactive high-level object-oriented la ii python-ldap 2.0.4-1 A LDAP interface module for Python. [dummy p ii python2.3 2.3.5-3 An interactive high-level object-oriented la ii python2.3-dev 2.3.5-3 Header files and a static library for Python ii python2.3-ldap 2.0.4-1 A LDAP interface module for Python 2.3
dpkg -l | grep gcc ii gcc 3.3.5-3 The GNU C compiler ii gcc-3.3 3.3.5-13 The GNU C compiler ii gcc-3.3-base 3.3.5-13 The GNU Compiler Collection (base package) ii libgcc1 3.4.3-13 GCC support library
dpkg -l | grep make ii ant 1.6.2-2 Java based build tool like make ii libant1.6-java 1.6.2-2.1 Java based build tool like make -- library ii make 3.80-9 The GNU version of the "make" utility. ii makedev 2.3.1-77 creates device files in /dev
Any ideas what can be missing from my installation?
Best regards, Gustavo.
Gustavo, Did you download the full (developers) version of python from python.org? If not you'll need to to compile Zope. David
I installed the python2.3-dev debian package with apt-get install. Are there any other debian packages that provides all missing parts? I would rather not install it outside of the apt.
_______________________________________________ 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 )
Does anybody know what Debian (3.1) packages are required in order to compile zope 2.8.4? Or, my only option is to download python from source and compile it as well? Thanks for any help. Regards, Gusti. David H escribió:
Gusti Gonzalez wrote:
Hi,
I am having the following error when compiling Zope: --------------------------------------------------------------- "/usr/bin/python" "/infra/portal/Zope-2.8.4-final/setup.py" \ build --build-base="/infra/portal/Zope-2.8.4-final/build-base/python-2.3" --build-lib="/infra/portal/Zope-2.8.4-final/build-base/python-2.3/build-lib"
--build-scripts="/infra/portal/Zope-2.8.4-final/build-base/python-2.3/build-scripts"
--build-temp="/infra/portal/Zope-2.8.4-final/build-base/python-2.3/build-temp"
running build running build_py running build_ext building 'AccessControl.cAccessControl' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -IExtensionClass -IAcquisition -I/usr/include/python2.3 -c AccessControl/cAccessControl.c -o /infra/portal/Zope-2.8.4-final/build-base/python-2.3/build-temp/AccessControl/cAccessControl.o
En el fichero incluído de /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h:7, de /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:11, de /usr/include/python2.3/Python.h:19, de ExtensionClass/ExtensionClass.h:83, de AccessControl/cAccessControl.c:51: /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:122:75: limits.h: No existe el fichero o el directorio En el fichero incluído de ExtensionClass/ExtensionClass.h:83, de AccessControl/cAccessControl.c:51: /usr/include/python2.3/Python.h:28:19: stdio.h: No existe el fichero o el directorio /usr/include/python2.3/Python.h:30:5: #error "Python.h requires that stdio.h define NULL." /usr/include/python2.3/Python.h:33:20: string.h: No existe el fichero o el directorio /usr/include/python2.3/Python.h:34:19: errno.h: No existe el fichero o el directorio /usr/include/python2.3/Python.h:36:20: stdlib.h: No existe el fichero o el directorio /usr/include/python2.3/Python.h:39:20: unistd.h: No existe el fichero o el directorio /usr/include/python2.3/Python.h:46:20: assert.h: No existe el fichero o el directorio ... ... and the error list goes on. ---------------------------------------------------------------
but the limits.h file does exist at the above mentioned location
My environment is: Debian 3.1 (stable)
dpkg -l | grep python ii python 2.3.5-2 An interactive high-level object-oriented la ii python-ldap 2.0.4-1 A LDAP interface module for Python. [dummy p ii python2.3 2.3.5-3 An interactive high-level object-oriented la ii python2.3-dev 2.3.5-3 Header files and a static library for Python ii python2.3-ldap 2.0.4-1 A LDAP interface module for Python 2.3
dpkg -l | grep gcc ii gcc 3.3.5-3 The GNU C compiler ii gcc-3.3 3.3.5-13 The GNU C compiler ii gcc-3.3-base 3.3.5-13 The GNU Compiler Collection (base package) ii libgcc1 3.4.3-13 GCC support library
dpkg -l | grep make ii ant 1.6.2-2 Java based build tool like make ii libant1.6-java 1.6.2-2.1 Java based build tool like make -- library ii make 3.80-9 The GNU version of the "make" utility. ii makedev 2.3.1-77 creates device files in /dev
Any ideas what can be missing from my installation?
Best regards, Gustavo.
Gustavo, Did you download the full (developers) version of python from python.org? If not you'll need to to compile Zope. David
_______________________________________________ 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 )
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gusti Gonzalez wrote:
Does anybody know what Debian (3.1) packages are required in order to compile zope 2.8.4?
Or, my only option is to download python from source and compile it as well?
I *think* that you need the following (I don't run 3.1, but it seems enough on Ubuntu): python2.3, python2.3-devel, zlib-devel Note that using the distro-provided Python has caused occasional problems in the past; I almost always build a separate Python from source for running Zope (you still want zlib-devel in that case). Tres. - -- =================================================================== Tres Seaver +1 202-558-7113 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDfedD+gerLs4ltQ4RAor1AJ4heI5c1SCuBjs9vmJj/tDAxplaNwCg0rza 3qh95LoC7mgwFNgGG2ujP6Q= =gTU0 -----END PGP SIGNATURE-----
Tres Seaver escribió:
Gusti Gonzalez wrote:
Does anybody know what Debian (3.1) packages are required in order to compile zope 2.8.4?
Or, my only option is to download python from source and compile it as well?
I *think* that you need the following (I don't run 3.1, but it seems enough on Ubuntu): python2.3, python2.3-devel, zlib-devel
apt-get install libc6-dev # resolved the problem! Thanks Gusti.
Note that using the distro-provided Python has caused occasional problems in the past; I almost always build a separate Python from source for running Zope (you still want zlib-devel in that case).
Tres. -- =================================================================== Tres Seaver +1 202-558-7113 tseaver-npLdOuuzvjyaMJb+Lgu22Q@public.gmane.org Palladion Software "Excellence by Design" http://palladion.com
_______________________________________________ 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 )
Gusti Gonzalez wrote at 2005-11-15 17:11 -0400:
... /usr/include/python2.3/Python.h:33:20: string.h: No existe el fichero o el directorio
This indicates that your "gcc" is not correctly set up: It does not find the header files of the standard C runtime library. -- Dieter
participants (4)
-
David H -
Dieter Maurer -
Gusti Gonzalez -
Tres Seaver