From: SourceForge.net <no...@so...> - 2006-06-02 13:47:58
|
Bugs item #1224276, was opened at 2005-06-20 18:28 Message generated for change (Comment added) made by ghaering You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116528&aid=1224276&group_id=16528 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Ben Burton (bab) Assigned to: Nobody/Anonymous (nobody) Summary: Please use pg_config to find include dirs in setup.py Initial Comment: Hi again, Debian has recently moved its postgresql include directories around (to allow for side-by-side installations of postgresql 7.4 and 8.0). As a result, pypgsql no longer builds out of the box. A failsafe method of fixing problems like this is to use "pg_config --includedir" in setup.py for deciding on the C include directories, instead of using the current hard-coded list of /usr/include, /usr/include/postgresql and /usr/include/pgsql . The patch is fairly simple; I've included it as an attachment to this bug report. Thanks - Ben. ---------------------------------------------------------------------- >Comment By: Gerhard Häring (ghaering) Date: 2006-06-02 15:47 Message: Logged In: YES user_id=163326 pg_config is now used on all platforms. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116528&aid=1224276&group_id=16528 |