[XML-SIG] compilation error during instalation of PyXML

Dumas Patrice dumas@centre-cired.fr
Tue, 25 Jul 2000 15:19:57 +0200


Hi,
While issuing
    python setup.py build
I got (after other things) :

....
running build_ext
warning: build_ext: old-style (ext_name, build_info) tuple found in
ext_modules for extension 'sgmlop'-- please convert to Extension
instance
warning: build_ext: old-style (ext_name, build_info) tuple found in
ext_modules for extension 'xml.unicode.wstrop'-- please convert to
Extension instance
warning: build_ext: old-style (ext_name, build_info) tuple found in
ext_modules for extension 'xml.parsers.pyexpat'-- please convert to
Extension instance
skipping 'sgmlop' extension (up-to-date)
skipping 'xml.unicode.wstrop' extension (up-to-date)
building 'xml.parsers.pyexpat' extension
gcc -O3 -fomit-frame-pointer -fno-exceptions -fno-rtti -pipe -s
-mpentium -mcpu=pentium -march=pentium -ffast-math
-fexpensive-optimizations -fPIC -Iextensions/expat/xmltok
-Iextensions/expat/xmlparse -I/usr/include/python1.5 -c
extensions/pyexpat.c -o build/temp.linux-i386/extensions/pyexpat.o
extensions/pyexpat.c: In function `newxmlparseobject':
extensions/pyexpat.c:474: parse error before `xmlparseobject'
error: command 'gcc' failed with exit status 1