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&threadi...). 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
Gotta admit, I've never seen anything quite like this. I assume you're using the tarball from Zope.org. Does its md5 (http://zope.org/Products/Zope/2.7.0/Zope-2.7.0.tgz/viewMD5) match the one of the tarball you've got? On Sat, 2004-04-24 at 13:05, 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&threadi...). 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@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 )
Yes, it's the one from the Zope site and it matches the md5 on the site exactly. Here's the md5: f733cd97f32411d43d372ac61eed98f4 Zope-2.7.0.tgz Thanks for the quick help! Chris McDonough wrote:
Gotta admit, I've never seen anything quite like this. I assume you're using the tarball from Zope.org. Does its md5 (http://zope.org/Products/Zope/2.7.0/Zope-2.7.0.tgz/viewMD5) match the one of the tarball you've got?
On Sat, 2004-04-24 at 13:05, 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&threadi...). 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@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 )
_______________________________________________ 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 )
You you post the whole huge make error? It might be that somewhere way before the errors you point out, a file couldn't be included by the C preprocessor (as in the case of the guy from Linuxquestions). On Sat, 2004-04-24 at 13:16, Tom Purl wrote:
Yes, it's the one from the Zope site and it matches the md5 on the site exactly. Here's the md5:
f733cd97f32411d43d372ac61eed98f4 Zope-2.7.0.tgz
Thanks for the quick help!
Chris McDonough wrote:
Gotta admit, I've never seen anything quite like this. I assume you're using the tarball from Zope.org. Does its md5 (http://zope.org/Products/Zope/2.7.0/Zope-2.7.0.tgz/viewMD5) match the one of the tarball you've got?
On Sat, 2004-04-24 at 13:05, 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&threadi...). 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@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 )
_______________________________________________ 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 )
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&threadi...). 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
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&threadi...). 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@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 )
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&threadi...). 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@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 )
Hmmmm... I guess I'd try building Python 2.3 from source to be sure everything is there. On Sat, 24 Apr 2004, Tom Purl wrote:
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&threadi...). 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@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 )
--On Samstag, 24. April 2004 12:05 Uhr -0500 Tom Purl <tom@tompurl.com> wrote:
I found someone else who was getting the same errors online (http://www.linuxquestions.org/questions/showthread.php?s=&forumid=18&thr eadid=164449). However, this guy was trying to compile Zope 2.7 with python 2.3.1.
If you look carefully at the error messages you will notice that gcc can not find several include files which causes the error following....means the gcc is broken or incomplete or header files are missing or are in wrong location. Really not a Zope installation problem. -aj
Thanks a ton for the help Andreas! This is a "fresh" installation of Debian, and I wasn't sure of all of the necessary gcc packages. After your e-mail, I installed the "libc6-dev" package via apt-get. I was then able to compile Zope 2.7. If anyone else is trying to compile 2.7 on Debian, then should install the libc6-dev package in addition to gcc and make packages. Thanks again to everyone for all of their help! Andreas Jung wrote:
--On Samstag, 24. April 2004 12:05 Uhr -0500 Tom Purl <tom@tompurl.com> wrote:
I found someone else who was getting the same errors online (http://www.linuxquestions.org/questions/showthread.php?s=&forumid=18&thr eadid=164449). However, this guy was trying to compile Zope 2.7 with python 2.3.1.
If you look carefully at the error messages you will notice that gcc can not find several include files which causes the error following....means the gcc is broken or incomplete or header files are missing or are in wrong location.
Really not a Zope installation problem.
-aj
_______________________________________________ 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 )
participants (4)
-
Andreas Jung -
Chris McDonough -
Dennis Allison -
Tom Purl