Opened 12 years ago

Closed 12 years ago

#35677 closed defect (invalid)

macports not working...

Reported by: eatshit@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.1.2
Keywords: Cc:
Port:

Description

Hello. I recently upgraded to Mac OS X Mountain Lion. After doing that, I am now unable to install anything using, "sudo port install..." Everytime I try to do that, I get, "Unable to execute port: can't read "build.cmd": Failed to locate 'make' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it?" I researched on the Internet & was told that I need to upgrade XCode. So, I did upgrade XCode to a version that is compatible to OS X Mountain Lion. Plus, I uninstalled MacPorts & downloaded the Mountain Lion version of MacPorts & installed that. In spite of doing all that, I am still getting that error. Why am I still getting that error?

Change History (1)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Component: portsbase
Resolution: invalid
Status: newclosed
  1. You need to install the command line tools. You do this from within Xcode's Preferences window's Downloads section. You may need a free Apple Developer account to do this.
  2. You need to agree to Xcode's license agreement by typing "sudo xcodebuild -license" in the Terminal
  3. You may need to select your Xcode installation by typing "sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer"

These requirements are variously documented on the install page of our web site, in the guide and in the wiki. If you have further questions about how to use MacPorts, please write to the macports-users mailing list.

Note: See TracTickets for help on using tickets.