[Pythonmac-SIG] problems building ZopeInterface
Stephen Waterbury
waterbug at pangalactic.us
Thu Sep 7 19:06:01 CEST 2006
I'm a complete newbie to the Mac, but experienced with Python on
other platforms. Figured out that I needed to get XTools for gcc,
installed that. I've installed Universal-MacPython-2.4.3, which
says it's compiled with gcc 4.0.1 on Darwin, and the gcc that's
in my path is "powerpc-apple-darwin8-gcc-4.0.1". When I try to
build ZopeInterface, I get the following messages:
"...
running build_ext
building 'zope.interface._zope_interface_coptimizations' extension
creating build/temp.macosx-10.4-fat-2.4
creating build/temp.macosx-10.4-fat-2.4/Dependencies
creating
build/temp.macosx-10.4-fat-2.4/Dependencies/zope.interface-ZopeInterface-3.0.1
creating
build/temp.macosx-10.4-fat-2.4/Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface
gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd
-fno-common -dynamic -DNDEBUG -g
-IDependencies/zope.interface-ZopeInterface-3.0.1/zope.interface
-I/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -c
Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/_zope_interface_coptimizations.c
-o
build/temp.macosx-10.4-fat-2.4/Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/_zope_interface_coptimizations.o
Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/_zope_interface_coptimizations.c:339:
error: static declaration of 'SpecType' follows non-static declaration
Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/_zope_interface_coptimizations.c:73:
error: previous declaration of 'SpecType' was here
Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/_zope_interface_coptimizations.c:339:
error: static declaration of 'SpecType' follows non-static declaration
Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/_zope_interface_coptimizations.c:73:
error: previous declaration of 'SpecType' was here
lipo: can't figure out the architecture type of: /var/tmp//ccgmDdFp.out
error: command 'gcc' failed with exit status 1"
Any suggestions appreciated!
Cheers,
Steve
More information about the Pythonmac-SIG
mailing list