[MacPorts] #38590: New installation can't read "build.cmd": Failed to locate 'make'
#38590: New installation can't read "build.cmd": Failed to locate 'make' --------------------------+-------------------------------- Reporter: hakdogan75@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: --------------------------+-------------------------------- I am a new user of mac os x(version 10.8.3). Xcode installed on my system before installing MacPorts. Xcode version 4.6.1, path /Users/hakdogan/Library/Developer/Xcode I get an error when trying to install MongoDB. {{{ hakdogan:~ hakdogan$ sudo port install mongodb Warning: The Command Line Tools for Xcode don't appear to be installed; most ports will likely fail to build. Warning: See http://guide.macports.org/chunked/installing.xcode.html for more information. ---> Computing dependencies for mongodb..Error: 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 looked at the file macports.conf. I changed the developer_dir line. Before {{{ #developer_dir /Applications/Xcode.app/Contents/Developer }}} After {{{ developer_dir /Users/hakdogan/Library/Developer/Xcode }}} However, the problem was not resolved. I would be happy if you help. -- Ticket URL: <https://trac.macports.org/ticket/38590> MacPorts <http://www.macports.org/> Ports system for OS X
#38590: New installation can't read "build.cmd": Failed to locate 'make' ---------------------------+-------------------------------- Reporter: hakdogan75@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: | ---------------------------+-------------------------------- Comment (by cal@…): Don't set developer_dir. MacPorts is smart enough to figure out where it is on its own. However: {{{ Warning: The Command Line Tools for Xcode don't appear to be installed; most ports will likely fail to build. Warning: See http://guide.macports.org/chunked/installing.xcode.html for more information. }}} I suggest you go ahead and install the command line tools from Xcode's preferences. -- Ticket URL: <https://trac.macports.org/ticket/38590#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#38590: New installation can't read "build.cmd": Failed to locate 'make' ---------------------------+-------------------------------- Reporter: hakdogan75@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: | ---------------------------+-------------------------------- Comment (by hakdogan75@…): With your support, problem solved. Thank you... Replying to [comment:1 cal@…]:
Don't set developer_dir. MacPorts is usually smart enough to figure out where it is on its own. How did you get Xcode.app installed in this directory anyway?
However: {{{ Warning: The Command Line Tools for Xcode don't appear to be installed; most ports will likely fail to build. Warning: See http://guide.macports.org/chunked/installing.xcode.html for more information. }}} I suggest you go ahead and install the command line tools from Xcode's preferences.
-- Ticket URL: <https://trac.macports.org/ticket/38590#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#38590: New installation can't read "build.cmd": Failed to locate 'make' ---------------------------+-------------------------------- Reporter: hakdogan75@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: invalid | Keywords: Port: | ---------------------------+-------------------------------- Changes (by larryv@…): * status: new => closed * resolution: => invalid Comment: Replying to [comment:1 cal@…]:
How did you get Xcode.app installed in this directory anyway?
That’s a pretty good question. -- Ticket URL: <https://trac.macports.org/ticket/38590#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts