This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: expat.h not found when building in subdi
Type: Stage:
Components: Extension Modules Versions: Python 2.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: loewis Nosy List: jhylton, loewis
Priority: high Keywords:

Created on 2002-02-13 21:57 by jhylton, last changed 2022-04-10 16:04 by admin. This issue is now closed.

Messages (2)
msg9268 - (view) Author: Jeremy Hylton (jhylton) (Python triager) Date: 2002-02-13 21:57
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.
msg9269 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2002-02-14 01:26
Logged In: YES 
user_id=21627

Fixed in setup.py 1.81.
History
Date User Action Args
2022-04-10 16:04:59adminsetgithub: 36097
2002-02-13 21:57:50jhyltoncreate