Problem installing cElementTree on Python 2.5

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?
 
K

Klaas

Piet said:
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:

python2.5 ships with cElementTree:

import xml.etree.cElementTree

cheers,
-Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,139
Latest member
JamaalCald
Top