PyXML-0.7.1, python-2.2.1, and Redhat 7.3

Steve Drake sdrake at knology.net
Tue Jul 30 11:22:42 EDT 2002


Martin's suggestion solved my problem.  

BTW, entering the commands that Jonathan mentioned in an earlier post
still shows pyexpat.__version__ as 2.57. However, I've got two pyexpat
shared objects:

$ diff `find . -name pyexpat.so -print`
Binary files ./site-packages/_xmlplus/parsers/pyexpat.so and
./lib-dynload/pyexpat.so differ

Thanks!

loewis at informatik.hu-berlin.de (Martin v. Löwis wrote in message news:<j44reh7fsc.fsf at aramis.informatik.hu-berlin.de>...
> sdrake at knology.net (Steve Drake) writes:
> 
> > I am having a problem using PyXML with tutorial code that I got at
> > http://www.ibm.com/developerWorks.  Although this code works on
> > Windows with python-2.2.1, and works on RH 7.3 with python-1.5.2, I
> > get an error when attempting to use python-2.2.1 on RH 7.3.  I tried
> > installing python-2.2.1 and PyXML-0.7.1 from source, but I get the
> > same error as when using rpm packages.  
> 
> Please install from sources, and make sure that the pyexpat extension
> is built; do so by adding --with-pyexpat to the setup.py command line.
> Then double-check that it it is really build - you need to find
> pyexpat.so in your build directory. Reinstall, then retry your test.
> 
> It is a bug in PyXML 0.7.1 that setup.py won't build pypexpat when it
> should.
> 
> Regards,
> Martin



More information about the Python-list mailing list