[Pyobjc-dev] Build of pyobjc and pyobjc-nib failures
Brought to you by:
ronaldoussoren
From: Zachery B. <zb...@ur...> - 2002-07-31 16:53:24
|
Hey, all. I'm using a Python2.3 built from CVS, and I get the following failure when trying to build PyObjC: cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -Wno-long-double -no-cpp-precomp -I/opt/include/python2.3 -c OC_PythonBundle.m -o build/temp.darwin-5.5-Power Macintosh-2.3/OC_PythonBundle.o -g In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:33, from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation. h:5, from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:7, from ObjC.h:31, from OC_PythonBundle.m:17: /System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore. framework/Headers/MacTypes.h:291: warning: function declaration isn't a prototype /System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore. framework/Headers/MacTypes.h:292: warning: function declaration isn't a prototype OC_PythonBundle.m: In function `+[OC_PythonBundle mainBundle]': OC_PythonBundle.m:75: conflicting types for `getcwd' /usr/include/unistd.h:103: previous declaration of `getcwd' OC_PythonBundle.m:75: warning: extern declaration of `getcwd' doesn't match global one Traceback (most recent call last): File "setup.py", line 26, in ? package_dir = { '':'Examples' } File "/opt/lib/python2.3/distutils/core.py", line 159, in setup raise SystemExit, "error: " + str(msg) SystemExit: error: command 'cc' failed with exit status 1 Running 10.1.5 with the April Dev Tools (but not gcc 3.0) I've installed the 2.3 into /opt Zac |