Hello,
I'm trying to install PyObjC 2.0 by "python setup.py bdist_mpkg --open"
I got the source code from http://svn.red-bean.com/pyobjc/tags/r200-leopard
 .
I got an error message related with "PPC", but I'm using Macbook Pro, so I
deleted some portion of setup.py related with PPC.
The error message is

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 -O3
-I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c
Modules/objc/objc-runtime-compat.m -o build/temp.macosx-10.3-fat-2.5
/Modules/objc/objc-runtime-compat.o -DPyObjC_STRICT_DEBUGGING -DMACOSX
-no-cpp-precomp -Wno-long-double -g -O1 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wformat=2 -W -Wshadow -Wpointer-arith
-Wmissing-declarations -Wnested-externs -Wno-long-long -Wno-import
-I/usr/include/libxml2 -Ibuild/codegen/ -Ilibffi-src/include
-Ilibffi-src/powerpc
Modules/objc/objc-runtime-compat.m: In function 'PyObjC_SetupRuntimeCompat':
Modules/objc/objc-runtime-compat.m:850: error: 'class_addIvar' undeclared
(first use in this function)
Modules/objc/objc-runtime-compat.m:850: error: (Each undeclared identifier
is reported only once
Modules/objc/objc-runtime-compat.m:850: error: for each function it appears
in.)
Modules/objc/objc-runtime-compat.m:851: error: 'class_addProtocol'
undeclared (first use in this function)
Modules/objc/objc-runtime-compat.m: In function 'PyObjC_SetupRuntimeCompat':
Modules/objc/objc-runtime-compat.m:850: error: 'class_addIvar' undeclared
(first use in this function)
Modules/objc/objc-runtime-compat.m:850: error: (Each undeclared identifier
is reported only once
Modules/objc/objc-runtime-compat.m:850: error: for each function it appears
in.)
Modules/objc/objc-runtime-compat.m:851: error: 'class_addProtocol'
undeclared (first use in this function)
lipo: can't figure out the architecture type of:
/var/folders/+w/+wei-YpVFdGoV29uK3G3x++++TI/-Tmp-//ccTkn9C3.out
error: command 'gcc' failed with exit status 1

Would you give some hit for me please?

TIA,

SC
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to