Xcode 4.3.2 macports requirement (please add to FAQ)
Nick Hughes
nixon8890 at gmail.com
Sun Apr 1 20:44:46 PDT 2012
Folks,
I was stumped on this for awhile trying to run:
sudo port -d selfupdate
I would keep getting this error:
sudo port -d selfupdate
configure: error: C compiler cannot create executables
I uninstalled all prior versions of Xcode and reinstalled the new version
from the App Store.
I figured out these steps were necessary (and not really documented) to get
"port -d selfupdate" to compile things again:
1. Make sure you click on the Xcode application icon in the Application
folder after installing it
2. In Xcode, go to Preferences, then click DOWNLOAD, then click COMPONENTS
3. Click on "Install Command Line tools"
4. The command lines utilities will download and install.
5. At this point, you can now compile in the command line and therefore
macports selfupdate should work.
You may want to add this to the FAQ if it's not there.
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120401/9c75171d/attachment.html>
More information about the macports-users
mailing list