Skip navigation

Xcode version 4.2.1 required - Cannot Install, OS X 10.8 Too New

288 Views 1 Reply Latest reply: Nov 10, 2012 10:01 AM by VikingOSX RSS
Jon_d2 Calculating status...
Currently Being Moderated
Nov 10, 2012 9:12 AM

There is a reason why I need an Xcode version eariler than 4.3..

 

I need to install some programs supplied by my university that make use of GIMP toolkit libraries (http://www.gtk.org) for the UI.

 

GTK has certain prerequisites though, one of which being: I need Xcode installed.

 

This would be all very well, but GTK contains a Python program called jhbuild which looks for the Xcode GCC Compiler in: /usr/bin and the SDK in /Developer.

 

Now, am I correct in thinking that the /Developer folder no longer exists for currect versions of Xcode? (version 4.3 +)

 

That would mean that I'd have to install an eariler version.

 

After downloading Xcode 4.2.1, I tried installing it to be given an error: 'Xcode can't be installed because the version of OS X is too new.'

 

So, I don't suppose anyone would know of a solution to this?

 

Cheers, Jonathon

MacBook Pro with Retina display, OS X Mountain Lion (10.8)
  • VikingOSX Level 5 Level 5 (4,695 points)

    Read the following, and see if the following steps eliminate the need for an earlier Xcode.

     

    Make sure you have updated to OS X 10.8.2 (including supplement).

     

    Install Xcode 4.5.2 from App Store.

     

    From Xcode 4.5.2 preferences > Downloads > Components, Install the Command Line Tools.

    (This puts the compilation environment in the expected /usr/bin location.)

     

    Now, resolve /Developer with a hard link:

     

    sudo ln /Applications/Xcode.app/Contents/Developer /Developer


    sudo chown root:wheel /Developer

     

    I cannot promise that the GTK jhbuild won't be checking for other dependencies that the above steps do not correct.

     

    In your startup file, you should add the following to your PATH: /Applications/Xcode.app/Contents/Developer/usr/bin

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.