[Zope] Re: Zope 2.8.4 compilation error

Gusti Gonzalez gusti99 at integra.com.py
Wed Nov 16 10:38:01 EST 2005


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 at 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 )
> 
> 



More information about the Zope mailing list