Zope 3.0 doesn't seem to work with GCC 4, as I (and others) have had the same problem. On my system (Mac OS X 10.4), GCC 3.3 is also available, and I was able to use 'gcc_select' to switch to 3.3 to build Zope 3.0. If you have, or can get, both gcc's on your system, this appears to be the best route.
Zope 3.1b1 builds fine with GCC 4. On 7/18/05, Chris Spencer <[EMAIL PROTECTED]> wrote: > I tried installing Zope Interface on FC4 using GCC 4, and I received the > following error: > > running install > running build > running build_py > running build_ext > building 'zope.interface._zope_interface_coptimizations' extension > gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 > -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC > -IDependencies/zope.interface-ZopeInterface-3.0.0/zope.interface > -I/usr/include/python2.4 -c > Dependencies/zope.interface-ZopeInterface-3.0.0/zope.interface/_zope_interface_coptimizations.c > > -o > build/temp.linux-i686-2.4/Dependencies/zope.interface-ZopeInterface-3.0.0/zope.interface/_zope_interface_coptimizations.o > Dependencies/zope.interface-ZopeInterface-3.0.0/zope.interface/_zope_interface_coptimizations.c:339: > > error: static declaration of 'SpecType' follows non-static declaration > Dependencies/zope.interface-ZopeInterface-3.0.0/zope.interface/_zope_interface_coptimizations.c:73: > > error: previous declaration of 'SpecType' was here > error: command 'gcc' failed with exit status 1 > > Does Zope not yet work with GCC 4? Is there anything I can do to work > around this? > > Thanks, > Chris Spencer > > _______________________________________________ > Zope3-dev mailing list > Zope3-dev@zope.org > Unsub: http://mail.zope.org/mailman/options/zope3-dev/eucci.group%40gmail.com > > _______________________________________________ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com