[Python-bugs-list] [ python-Bugs-577774 ] expat support depends on xmlparse.h

noreply@sourceforge.net noreply@sourceforge.net
Wed, 10 Jul 2002 12:05:06 -0700


Bugs item #577774, was opened at 2002-07-05 09:10
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=577774&group_id=5470

Category: Extension Modules
Group: Python 2.2.1
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Joern P. Meier (ionflux)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: expat support depends on xmlparse.h

Initial Comment:
It appears that Python 2.2.1 expat support depends on an 
include file named xmlparse/xmlparse.h. This file is not included 
with current versions of expat, and according to expat 
developers, was removed from the package.

Although this can be worked around by installing xmlparse.h 
manually, the instructions in Modules/Setup are misleading.

----------------------------------------------------------------------

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-07-10 15:05

Message:
Logged In: YES 
user_id=3066

I've updated the comments for the next version of the 2.2.x
series.  You should install Expat 1.95.2 and add
-DHAVE_EXPAT_H to the pyexpat line of the Modules/Setup
file, and remove all references to the EXPAT_DIR variable,
so that the pyexpat line looks like this:

pyexpat pyexpat.c -DHAVE_EXPAT_H -lexpat

This will no longer be relevant in Python 2.3.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=577774&group_id=5470