[XML-SIG] xml install problems

Andrew M. Kuchling akuchlin@cnri.reston.va.us
Wed, 9 Dec 1998 10:05:18 -0500 (EST)


Betty Harvey writes:
>I had similar problems but much earlier.  I tried installing
>Python on Linux 5.0.  The Makefile.pre.in worked just fine,
>however, when I tried the 'make' I got the following
>error:
>gcc -fPIC -O -I/usr/include/python1.4 -I/usr/include/python1.4
>-DHAVE_CONFIG_H
>-Iexpat/xmlparse -c ./pyexpat.c
>./pyexpat.c: In function `mywrite':
>./pyexpat.c:64: void value not ignored as it ought to be
>make: *** [pyexpat.o] Error 1                                    

	I'd recommend using Python 1.5, because 1.5 added several new
features that are used in the XML code, most notably packages and the
class-based exceptions.  The compile error you report also stems from
a difference between Python 1.4 and 1.5.  While I can easily produce a
patch that fixes pyexpat.c, you'd then run into more difficulties: the
missing package support, exceptions, no re module, etc.

	(Or do XML-SIG people think that compatibility with 1.4 is
important?  If so, we can work on making sure it works with the older
version.)  In the meantime, I'll document the dependence on Python 1.5
more explicitly in the README; thanks for your bug report!

-- 
A.M. Kuchling			http://starship.skyport.net/crew/amk/
    "What are we going to do now?"
    "Keep it confused, feed it with useless information. I wonder if I have a
television set handy?"
    -- Sgt. Benton and the second Doctor, in "The Three Doctors"