[Zope] AccessControl and GCC Errors When Compiling Zope 2.7

Tom Purl tom at tompurl.com
Sat Apr 24 13:12:54 EDT 2004


I forgot to put a subject in the original version of the message.  Sorry 
for the mixup:
========================================================

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




More information about the Zope mailing list