views:

556

answers:

2

I installed Xcode a long time ago.

Apparently I didn't check back then the "UNIX Developemtn Support" checkbox.

Now I want to have them bu when I click on the installation this is what appears:

disabled

The UNIX Development Support check box is disabled

Q. ¿How can I install the UNIX Development Support? Is there a way to run some script that creates all the needed links from /Developer/ to /usr/bin ?

Thanks in advance.

A: 

You should uninstall and then re-install the developer tools.

To uninstall the tools, run the following command in Terminal:

sudo /Developer/Library/uninstall-devtools --mode=all
Rob Keniger
That's what I tried and had the same results :( I'm downloading the 2gb of the latest Xcode version too see if that works :(
OscarRyz
A: 

Finally.

I had to download from http://developer.apple.com the latest version of Xcode ( 3.2 ) along with the iPhone SDK that I won't use in the near feature.

This time the "UNIX Development Support" was enabled:

xcode 3.2

So now I can compile from the command line!

OscarRyz