[Python-bugs-list] [ python-Bugs-517214 ] expat.h not found when building in subdi

noreply@sourceforge.net noreply@sourceforge.net
Wed, 13 Feb 2002 17:26:00 -0800


Bugs item #517214, was opened at 2002-02-13 13:57
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=517214&group_id=5470

Category: Extension Modules
Group: Python 2.3
>Status: Closed
>Resolution: Fixed
Priority: 6
Submitted By: Jeremy Hylton (jhylton)
Assigned to: Martin v. Löwis (loewis)
Summary: expat.h not found when building in subdi

Initial Comment:
I build Python in a subdirectory of the source
directory.  The source is in python/dist/src; I build
in python/dist/src/build.  The recent changes to
include expat in setup.py fails because it adds
"Modules/expat" to include_dirs, but "Modules/expat" is
being interpreted relative to the build directory not
the source directory.  

I was able to get a successful build by changing the
include_dir to "../Modules/expat"   But obviously that
is not a real solution.


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

>Comment By: Martin v. Löwis (loewis)
Date: 2002-02-13 17:26

Message:
Logged In: YES 
user_id=21627

Fixed in setup.py 1.81.

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

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