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
_______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
