[XML-SIG] Floating exception on alpha machine

Jens Jorgen Mortensen jensj@fysik.dtu.dk
Mon, 12 May 2003 16:23:12 +0200


Hi,

I am trying to install PyXML-0.8.2 on an alpha.  After doing a build and an 
install, I try to import xml.xpath.  The result is:

Python 2.2.1 (#1, Jun  4 2002, 15:33:18) [C] on osf1V4
Type "help", "copyright", "credits" or "license" for more information.
>>> import xml.xpath
Floating exception (core dumped)

When I installed PyXML on my linux machine, there were no problems.  I don't 
know if it is important, but during build on the alpha, I got these two 
warnings:

building '_xmlplus.parsers.pyexpat' extension
creating build
creating build/temp.osf1-V4.0-alpha-2.2
cc -DNDEBUG -O -Olimit 1500 -DXML_NS=1 -DXML_DTD=1 -DBYTEORDER=1234 
-DXML_CONTEXT_BYTES=1024 -Iextensions/expat/lib 
-I/usr/local/include/python2.2 -c extensions/pyexpat.c -o 
build/temp.osf1-V4.0-alpha-2.2/pyexpat.o
cc: Warning: extensions/expat/lib/expat.h, line 656: In this declaration, the 
enum "XML_Status" is not defined. (undefenum)
XMLPARSEAPI(enum XML_Status)
^
cc -DNDEBUG -O -Olimit 1500 -DXML_NS=1 -DXML_DTD=1 -DBYTEORDER=1234 
-DXML_CONTEXT_BYTES=1024 -Iextensions/expat/lib 
-I/usr/local/include/python2.2 -c extensions/expat/lib/xmlparse.c -o 
build/temp.osf1-V4.0-alpha-2.2/xmlparse.o
cc: Warning: extensions/expat/lib/expat.h, line 656: In this declaration, the 
enum "XML_Status" is not defined. (undefenum)
XMLPARSEAPI(enum XML_Status)
^

Does anybody know what could be wrong?

Jens J. Mortensen