MacPorts-2.0.0 cannot 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. 

Despite the fact that I installed Xcode after upgrading to Lion through the application store.

Any idea what I need to do?

+7
source share
2 answers

When you get Xcode 4.1 through the App Store, it downloads only the installer for Xcode. Then you need to run the installer. Browse the Applications folder for the installer.

+9
source

You need to install Xcode with a command line parameter that is not the default. I also had this problem. Download the Xcode Tools installer and check the command line option during installation.

0
source

All Articles