Another sip of code ?

Reminder - OS X - the Command Line Tools for Xcode Don't Appear to Be Installed

| Comments

I just got my mac mini back from France, now that I live in Boston. After a whole lot of updates and upgrades, I wanted to install some tools that I need with MacPorts, but sometimes things don’t go the way you want.
Port tries to install/compile and fails with a whole lot of errors, but within the error log is hidden this line :

The Command Line Tools for Xcode don't appear to be installed

I don’t understand, Xcode is installed and in the past the command line tools were installed at the same time.
Apparently with the two last revision of OS X Lion (OS X.7) and Mountain Lion (OS X.8), it is not the case anymore.
So, to resolve this situation, the salvation in inside Xcode in the preferences panel, section download.

Click on the install button for “Command Line Tools” and when the installation is finished you will be able to use the command lines again.

Source: MacObserver