Issue 125921 - Patch for compiling with OS X 10.10 SDK
Summary: Patch for compiling with OS X 10.10 SDK
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: configure (show other issues)
Version: 4.2.0-dev
Hardware: Mac Mac OS X, all
: P3 Normal (vote)
Target Milestone: 4.2.0
Assignee: hdu@apache.org
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-29 23:49 UTC by Thorsten Wagner
Modified: 2015-01-01 12:54 UTC (History)
1 user (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Patch (599 bytes, patch)
2014-11-29 23:49 UTC, Thorsten Wagner
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description Thorsten Wagner 2014-11-29 23:49:37 UTC
Created attachment 84270 [details]
Patch

With the current implementation SDK for OS X 10.7, 10.8, and 10.9 are considered:

(1) With Xcode 6 SDK for OS X 10.9 and 10.10 are available only. SDK for OS X 10.7 or 10.8 have to be downloaded separately.

(2) Building with 10.9 SDK is not possible. This is caused by a bug within the SDK concering the python headers. This bug has been corrected by Apple with 10.10 SDK.

(3) Using 10.10 SDK isn't possible, because with the current implementation of configure.in only a single digit 7, 8, or 9 is considered.

Please find a patch attached, which causes the following behaviour:

(1) Checking a single digt 7, 8, or 9 has been replaced by checking a string 10.7, 10.8, 10.9, or 10.10.

(2) Choosing the oldest SDK has been replaced by choosing the newest SDK. With Xcode 6 the result is SDK 10.10 without python header problems.
Comment 1 hdu@apache.org 2014-12-04 08:27:10 UTC
Thanks for the patch! I'll apply it as soon as the SVN-server resumes its service for POST requests.
Comment 2 hdu@apache.org 2014-12-04 16:26:54 UTC
The SVN server is still not ready for receiving updates:
https://blogs.apache.org/infra/entry/subversion_master_undergoing_emergency_maintenance
Comment 3 SVN Robot 2014-12-05 07:46:43 UTC
"hdu" committed SVN revision 1643177 into trunk:
#i125921# fix autodetection of the OSX 10.10 SDK
Comment 4 hdu@apache.org 2014-12-05 07:50:41 UTC
Fixed with the commit above. Many thanks to Thorsten for the patch!