[XML-SIG] Problems building python XML module on Linux Redhat 5.1
John A. Pedretti
pedretti@roguewave.com
Thu, 08 Jun 2000 10:17:03 -0600
I ran into the following problems when trying to build the XML package
(release candidate PyXML-0.5.5.tar.gz, dated June 5, 2000, downloaded
from http://www.python.org/sigs/xml-sig/status.html) on a Linux Redhat
5.1 box, with Python 1.52 installed in /usr/local:
1. Needed to fix an error in the source distribution
PyXML-0.5.5/extensions/pyexpat.c: at line 474, replaced 'PyObject_New'
with 'PyObject_NEW' (see include file
/usr/local/include/python1.5/objimpl.h);
2. The directions in the README say installation of dist-utils is
recommended - in fact, it is required or the install doesn't work
(complains it can't find the directory
/usr/local/lib/python1.5/site-packages/xml; the
/usr/local/lib/python1.5/site-packages directory is created during the
installation of dist-utils).