[Pythonmac-SIG] Problem building PyXML v0.8 in Python v2.2
W.T. Bridgman
wtbridgman@radix.net
Sun, 1 Sep 2002 17:50:06 -0400
I've done a search and found that others have had this problem in the
past two months, but it's not clear what or if a solution was found.
When building PyXML from the terminal,
[localhost:~/PyXML-0.8] bridgman% python setup.py build
running build
running build_py
creating build
creating build/lib.darwin-5.5-Power Macintosh-2.2
creating build/lib.darwin-5.5-Power Macintosh-2.2/_xmlplus
copying xml/__init__.py -> build/lib.darwin-5.5-Power Macintosh-2.2/_xmlplus
[ tons of stuff deleted]
cc -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp -DHAVE_EXPAT_H
-DXML_BYTE_ORDER=21 -Iextensions/expat/lib
-I/usr/local/include/python2.2 -c extensions/expat/lib/xmlrole.c -o
build/temp.darwin-5.5-Power Macintosh-2.2/xmlrole.o
cc -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp -DHAVE_EXPAT_H
-DXML_BYTE_ORDER=21 -Iextensions/expat/lib
-I/usr/local/include/python2.2 -c extensions/expat/lib/xmltok.c -o
build/temp.darwin-5.5-Power Macintosh-2.2/xmltok.o
cc -bundle -flat_namespace -undefined suppress
build/temp.darwin-5.5-Power Macintosh-2.2/pyexpat.o
build/temp.darwin-5.5-Power Macintosh-2.2/xmlparse.o
build/temp.darwin-5.5-Power Macintosh-2.2/xmlrole.o
build/temp.darwin-5.5-Power Macintosh-2.2/xmltok.o -o
build/lib.darwin-5.5-Power Macintosh-2.2/_xmlplus/parsers/pyexpat.so
-flat_namespace
/usr/bin/ld: -undefined: unknown argument: -lbundle1.o
error: command 'cc' failed with exit status 1
Has anyone found a fix for this??
Not sure if it's relevant, but I recently had the embarassing
experience of having makefiles for the CMake utility (used by VTK)
die with weird compiler errors, like conflicting argument
specifications. I was bugging anyone with an email address about
this until I discovered it was due to ***spaces in the file paths***.
Could the directory name 'temp.darwin-5.5-Power Macintosh-2.2' be
causing problems for this build? If so, how do I fix that?
Thanks,
Tom