Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MacPorts-2.0.0 can’t be installed on this computer

When I try to install macports on Lion I get the following message:

MacPorts-2.0.0 can’t be installed on this computer.
Xcode is not installed, or was installed with UNIX Development (10.5+) or Command Line Support (10.4) deselected.

Even though I have installed Xcode after upgrading to Lion thru the app store.

Any idea what it is I need to do?

like image 781
ztatic Avatar asked Jul 27 '11 17:07

ztatic


1 Answers

When you get Xcode 4.1 through the App Store, it only downloads the installer for Xcode. You then need to run the installer. Look in the system Applications folder for the installer.

like image 111
Ned Deily Avatar answered Sep 20 '22 20:09

Ned Deily