#13778 closed defect (duplicate)
python25 doesn't install locale.so on Darwin 9
Reported by: | mdickens@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | python25, locale, darwin 9 | Cc: | |
Port: |
Description
There is a bug in the setup.py script that inhibits the inclusion of /opt/local/include as a search directory for various headers (e.g. sqlite3.h, db.h), when that string is followed by another compiler directive that does not start with "-I". For Darwin 8, this is not an issue (the string to be parsed is "-I. -I./Include -I/opt/local/include
"); but for Darwin 9 it is an issue (string "-I. -I./Include -I/opt/local/include -D__DARWIN_UNIX03
"). I'll attach a replacement for patch-setup.py that corrects this issue as well as makes sure /opt/local/... is in the list of search directories. This patch should work with all install types, and supersedes the same-named file from ticket:11267.
Attachments (1)
Change History (5)
Changed 17 years ago by mdickens@…
Attachment: | patch-setup.py added |
---|
comment:1 Changed 17 years ago by mdickens@…
Forgot to mention: This patch fixes the _locale.so lib-dylib compilation (which requires /opt/local/include to be in the directory search list, for libintl.h). '_locale' is used by other MacPorts py25-YYY installs.
comment:2 Changed 17 years ago by mdickens@…
This ticket is now superseded by the tarball provided in ticket #11267.
comment:3 Changed 17 years ago by jmroot (Joshua Root)
Cc: | mdickens@… removed |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Marking duplicate per comment:2.
Replacement patch-setup.py to correct processing of -I directives