470,591 Members | 2,174 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,591 developers. It's quick & easy.

gcc errors

I installed the Universal Mac OSX binary for Python 2.4.3
When I execute 'python setup.py install' for any of my applications
that I need to build, I get errors like the following:

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 -DHAVE_LIBJPEG -DHAVE_LIBZ -
DWORDS_BIGENDIAN -I/System/Library/Frameworks/Tcl.framework/Headers -
I/System/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/sw/
include -I/Library/Frameworks/Python.framework/Versions/2.4/include -
I/usr/local/include -I/usr/include -I/Library/Frameworks/
Python.framework/Versions/2.4/include/python2.4 -c _imaging.c -o
build/temp.macosx-10.4-fat-2.4/_imaging.o
gcc: installation problem, cannot exec 'i686-apple-darwin8-
gcc-4.0.0': No such file or directory
I am on a powerpc and it always thinks I'm on an intel box.
What do I have to do so that it only cares about the powerpc?
Thanks,
Chris
Apr 27 '06 #1
2 989
It doesn't think you're on an intel box, it thinks you want to compile
universal libraries, since you installed a universal python.

The problem is likely to be that you haven't installed SDK's for intel
as well as powerpc when you installed Apple's Developer Tools. Do that,
and it should work ... I think.

Apr 27 '06 #2
Thanks for your help.
That is exactly what was wrong.
All I had to do was download xcode 2.2.1 and that installed the
universal sdk.

-Chris
On Apr 27, 2006, at 12:31 PM, Simon Percivall wrote:
It doesn't think you're on an intel box, it thinks you want to compile
universal libraries, since you installed a universal python.

The problem is likely to be that you haven't installed SDK's for intel
as well as powerpc when you installed Apple's Developer Tools. Do
that,
and it should work ... I think.

--
http://mail.python.org/mailman/listinfo/python-list


Apr 28 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

11 posts views Thread by mikey_boy | last post: by
2 posts views Thread by Trev | last post: by
10 posts views Thread by Douglas Buchanan | last post: by
24 posts views Thread by pat | last post: by
8 posts views Thread by ImOk | last post: by
2 posts views Thread by =?Utf-8?B?UmFuZHlz?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.