Making PyXML - compile error on first module
Thomas Gagne
tgagne at ix.netcom.com
Sun Aug 13 00:46:56 EDT 2000
Does this look familiar to anyone? I deja'd through the newsgroup and didn't
find anything... There's nothing obvious wrong with the code, unless for some
reason the compiler can't figure out what an xmlparseobject is. I'm also
curous why it include /usr/local/include/pythong1.5, when it's actually
installed in /usr/include. This can't be too much of a problem since the
compile error wasn't about a missing file, but something else.
tgagne:/home/tgagne/work/PyXML-0.5.5 python setup.py build
Executing 'build' action...
Running command: make
gcc -fpic -Iexpat/xmlparse -g -O2 -I/usr/include/python1.5
-I/usr/include/python1.5 -DHAVE_CONFIG_H -c ./pyexpat.c
./pyexpat.c: In function `newxmlparseobject':
./pyexpat.c:474: parse error before `xmlparseobject'
make: *** [pyexpat.o] Error 1
Traceback (innermost last):
File "setup.py", line 185, in ?
func()
File "setup.py", line 155, in build_unix
shutil.copy('extensions/' + filename, 'build/xml/parsers/')
File "/usr/lib/python1.5/shutil.py", line 52, in copy
copyfile(src, dst)
File "/usr/lib/python1.5/shutil.py", line 17, in copyfile
fsrc = open(src, 'rb')
IOError: [Errno 2] No such file or directory: 'extensions/pyexpat.so'
More information about the Python-list
mailing list