fix cext build on Mac OS X when optional MacOSX10.4u.sdk is installed.
----------------------------------------------------------------------

                 Key: JRUBY-5765
                 URL: http://jira.codehaus.org/browse/JRUBY-5765
             Project: JRuby
          Issue Type: Bug
          Components: C Extensions
    Affects Versions: JRuby 1.6.1, JRuby 1.6.2, JRuby 1.7
         Environment: Mac OS X 10.6.7
            Reporter: Stephen Bannasch
            Assignee: Thomas E Enebo


The ant task: ant build-jruby-cext-native fails when the optional 
MacOSX10.4u.sdk developer sdk is installed.

On my 10.6.7 system the 10.5 and 10.6 sdk's are installed with xcode. I also 
installed the optional 10.4 sdk.

{code}
$ ls -l /Developer/SDKs/
total 0
drwxr-xr-x  7 root  wheel  238 May 18  2009 MacOSX10.4u.sdk
drwxr-xr-x  7 root  wheel  238 Jun 24  2010 MacOSX10.5.sdk
drwxr-xr-x  7 root  wheel  238 Feb 15 02:12 MacOSX10.6.sdk
{code}

Hadn't used the git bisect run feature before -- made it pretty easy to find 
the problem:

{code}
$ git bisect start HEAD 1.6.0
$ git bisect run sh -c "ant clean; ant build-jruby-cext-native"

...

Total time: 43 seconds
162903c84fc2541f6308a1c9bce55b039075a7d6 is the first bad commit
commit 162903c84fc2541f6308a1c9bce55b039075a7d6
Author: Aman Gupta <[email protected]>
Date:   Tue Apr 5 11:58:46 2011 -0700

    fix cext build issues on snow leopard
    
    Signed-off-by: Tim Felgentreff <[email protected]>
{code}

I have a fix for the cext/src/Makefile -- will specify in comment.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to