#43442: Mountain Lion: xcodebuild exists but failed to execute ---------------------------------+-------------------------------- Reporter: dbh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: Xcode,mountain lion | Port: ---------------------------------+-------------------------------- I've been through the tickets and wiki but cannot seem to get this sorted. {{{ Upgraded to ML from SL Installed xcode 4.6.3 installed Command Line Tools Rebooted }}} Did: {{{ sudo port -fp uninstall installed sudo rm -rf \
/opt/local \ /Applications/DarwinPorts \ /Applications/MacPorts \ /Library/LaunchDaemons/org.macports.* \ /Library/Receipts/DarwinPorts*.pkg \ /Library/Receipts/MacPorts*.pkg \ /Library/StartupItems/DarwinPortsStartup \ /Library/Tcl/darwinports1.0 \ /Library/Tcl/macports1.0 \ ~/.macports
Installed (from link on MacPorts installation page: OS X 10.8 Mountain Lion: MacPorts-2.2.0-10.8-MountainLion.pkg Then, oddly enough: port version Version: 2.2.1 }}} Then: {{{ sudo port install gnuplot Warning: xcodebuild exists but failed to execute Warning: Xcode does not appear to be installed; most ports will likely fail to build. ---> Computing dependencies for gnuplot^C------------------------------------------------------------------------------------- 23:10:06 house@The-iMac:~$ xcode-select -print-path /Applications/Xcode.app/Contents/Developer sudo xcode-select -switch /Applications/Xcode.app Password: ------------------------------------------------------------------------------------- 23:21:03 house@The-iMac:~$ xcode-select -print-path /Applications/Xcode.app/Contents/Developer }}} -- Ticket URL: <https://trac.macports.org/ticket/43442> MacPorts <http://www.macports.org/> Ports system for OS X