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.

Author ronaldoussoren
Recipients benjamin.peterson, lemburg, ned.deily, ronaldoussoren
Date 2010-06-22.14:32:12
SpamBayes Score 0.00014814314
Marked as misclassified No
Message-id <1277217134.08.0.516349664803.issue9046@psf.upfronthosting.co.za>
In-reply-to
Content
What I don't quite understand is why the build fails for you but passes for me. What configure flags did you use?

This version should fare better:

def is_macosx_sdk_path(path):
    """
    Returns True if 'path' can be located in an OSX SDK
    """
    return (path.startswith('/usr/') and not path.startswith('/usr/local')) or path.startswith('/System/')

This explicitly tests for paths that must be in the SDK:

* Anything in /System is owned by the system, and should be fetched
  through the SDK
* Likewise for anything in /usr that isn't in /usr/local
 
IMHO anyone that installs additional libraries in /usr/lib, or /System/Libraries/Frameworks is confused at best, and we shouldn't even try to support that.


The repository contains an simpler (but in hindsight too simple) version because ${SDKROOT}/usr/local/lib is a symlink to the real /usr/local/lib. That works fine when looking for libraries, but not when looking for other files (such as headers).
History
Date User Action Args
2010-06-22 14:32:14ronaldoussorensetrecipients: + ronaldoussoren, lemburg, benjamin.peterson, ned.deily
2010-06-22 14:32:14ronaldoussorensetmessageid: <1277217134.08.0.516349664803.issue9046@psf.upfronthosting.co.za>
2010-06-22 14:32:12ronaldoussorenlinkissue9046 messages
2010-06-22 14:32:12ronaldoussorencreate