List Info

Thread: problems building ZopeInterface




problems building ZopeInterface
user name
2006-09-07 17:06:01
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-Z
opeInterface-3.0.1
creating 
build/temp.macosx-10.4-fat-2.4/Dependencies/zope.interface-Z
opeInterface-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.inter
face 
-I/Library/Frameworks/Python.framework/Versions/2.4/include/
python2.4 -c 
Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interfa
ce/_zope_interface_coptimizations.c 
-o 
build/temp.macosx-10.4-fat-2.4/Dependencies/zope.interface-Z
opeInterface-3.0.1/zope.interface/_zope_interface_coptimizat
ions.o
Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interfa
ce/_zope_interface_coptimizations.c:339: 
error: static declaration of 'SpecType' follows non-static
declaration
Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interfa
ce/_zope_interface_coptimizations.c:73: 
error: previous declaration of 'SpecType' was here
Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interfa
ce/_zope_interface_coptimizations.c:339: 
error: static declaration of 'SpecType' follows non-static
declaration
Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interfa
ce/_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

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIGpython.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
problems building ZopeInterface
user name
2006-09-07 17:36:45
On 9/7/06, Stephen Waterbury <waterbugpangalactic.us> wrote:
> 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:

I haven't had that problem, but I've never tried to build
an old
version. There's a package of a more recent ZopeInterface
on
pythonmac:
htt
p://pythonmac.org/packages/py24-fat/index.html

-bob
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIGpython.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )