[XML-SIG] build problems with PyXML-0.6.3 on ultra10

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Fri, 12 Jan 2001 23:42:56 +0100


> I downloaded PyXML and tried to setup on my ultra. It seems the location
> of the files expected in Lib/distutils/sysconfig.py is different from the
> ones that I have. I have not installed Python in /usr/local, but have it
> in my home area. The exception which comes is:
> 
> distutils.errors.DistutilsPlatformError: invalid Python installation:
> unable to open /usr/local/lib/python2.0/config/Makefile (No such file or
> directory)

Can you give a details description of how you installed Python (what
commands in what sequence), and how you attempted to installed PyXML?
Is there a Python installation in /usr/local/lib/python2.0? If so,
which python binary did you use for setup.py?

> Specifically, can't I simply compile the C files in this
> distribution with the Python source files and import the .py files
> once I open the interpreter?

If you do it right, yes, you can. Please be aware that you need to
give certain defines when compiling the files, and that Python 2.0
comes with its own xml module which is only superceded by PyXML if the
latter is installed in _xmlplus.

Regards,
Martin