[Zope] cd
Tom Purl
tom at tompurl.com
Sat Apr 24 13:18:56 EDT 2004
Thanks for the quick help Dennis. I did install Python 2.3 using
apt-get, but I also installed the python2.3-dev package with distutils
and such.
Dennis Allison wrote:
>Tom --
>Just an offhand guess, but I suspect that you did not install Python from
>scratch and don't have the necessary includes in place. I believe, for
>Debian, they are in the python-dev package.
>
>On Sat, 24 Apr 2004, Tom Purl wrote:
>
>
>
>>I'm trying to install Zope 2.7 on Debian. I'm using the following software:
>>
>>python 2.3.3
>>gnu make 3.80
>>gcc 3.3.3
>>
>>I'm running the following configure command as a non-root user (tom):
>>
>>./configure --prefix=/opt/Zope-2.7
>>
>>The /opt/Zope-2.7 directory exists, with an owner and group of "tom".
>>
>>I don't get any errors when I run "configure". It says that I have the
>>"optimum version of python". However, run I run "make" as user tom, I
>>get hundreds of errors and warnings, and I finally end with the
>>following error:
>>
>>error: command 'gcc' failed with exit status 1
>>make: *** [build] Error 1
>>
>>The errors seems to start the with the following line:
>>
>>gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
>>-Wstrict-prototypes -fPIC
>>-I/tmp/Zope-2.7.0/lib/Components/ExtensionClass/src
>>-I/usr/include/python2.3 -c AccessControl/cAccessControl.c -o
>>/tmp/Zope-2.7.0/build-base/python-2.3/build-temp/AccessControl/cAccessControl.o
>>
>>This is the only time that gcc is called before the program crashes.
>>Also, here are the last couple of lines that I get before make crashes
>>(which look just like the 200 lines before them):
>>
>>AccessControl/cAccessControl.c:2237: error: initializer element is not
>>constant
>>AccessControl/cAccessControl.c:2237: error: (near initialization for
>>`RestrictedDTMLMixinType.methods.link')
>>AccessControl/cAccessControl.c:2237: error: initializer element is not
>>constant
>>AccessControl/cAccessControl.c:2237: error: (near initialization for
>>`RestrictedDTMLMixinType.methods')
>>error: command 'gcc' failed with exit status 1
>>
>>I found someone else who was getting the same errors online
>>(http://www.linuxquestions.org/questions/showthread.php?s=&forumid=18&threadid=164449).
>> However, this guy was trying to compile Zope 2.7 with python 2.3.1.
>>
>>I'm really stuck. Any help that I could get would be greatly apprecaited!
>>
>>Tom Purl
>>
>>
>>_______________________________________________
>>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