P
Piet van Oostrum
I have just installed Python 2.5 on Mac OS X 10.4.8 on an iBook (PPC) from
the dmg. Now I tried to install cElementTree -1.0.5-20 from source (no egg
available in cheeseshop) and got the following compilation error:
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 -DXML_STATIC -DHAVE_MEMMOVE=1
-DXML_NS=1 -DXML_DTD=1 -DBYTEORDER=4321 -DXML_CONTEXT_BYTES=1024 -Iexpat
-I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c
cElementTree.c -o build/temp.macosx-10.3-fat-2.5/cElementTree.o
gcc: cannot specify -o with -c or -S and multiple compilations
error: command 'gcc' failed with exit status 1
Does anybody know how to solve this? As I don't need the universal binary I
tried to strip the -arch i386 from the command above but that didn't help.
I also removed the -c, but then the install failed in the next step.
Has anybody succesfully installed cElementTree on this combination?
the dmg. Now I tried to install cElementTree -1.0.5-20 from source (no egg
available in cheeseshop) and got the following compilation error:
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 -DXML_STATIC -DHAVE_MEMMOVE=1
-DXML_NS=1 -DXML_DTD=1 -DBYTEORDER=4321 -DXML_CONTEXT_BYTES=1024 -Iexpat
-I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c
cElementTree.c -o build/temp.macosx-10.3-fat-2.5/cElementTree.o
gcc: cannot specify -o with -c or -S and multiple compilations
error: command 'gcc' failed with exit status 1
Does anybody know how to solve this? As I don't need the universal binary I
tried to strip the -arch i386 from the command above but that didn't help.
I also removed the -c, but then the install failed in the next step.
Has anybody succesfully installed cElementTree on this combination?