Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#48156 closed defect (invalid)

help me installing gcc — at Version 1

Reported by: kjy9308@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port:

Description (last modified by larryv (Lawrence Velázquez))

i installed xcode, macport.

i want to install gcc

but failed....

MacProRain:~ EPRI$ sudo port install gcc47
Warning: The Xcode Command Line Tools don't appear to be installed; most ports will likely fail to build.
Warning: You can install them from Xcode's Preferences in the Downloads section.
Warning: See http://guide.macports.org/chunked/installing.xcode.html#installing.xcode.lion.43 for more information.
--->  Computing dependencies for gcc47Error: 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?

what's the problem?

Change History (2)

Changed 9 years ago by kjy9308@…

comment:1 Changed 9 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Keywords: gcc removed
Resolution: invalid
Status: newclosed

As the error message says, you probably have not installed the Command Line Tools, which MacPorts requires. Please refer to the MacPorts Guide for instructions on properly installing the Command Line Tools. Depending on your version of OS X and Xcode, you will either run

% xcode-select --install

or install them via Xcode’s Preferences.

Note: See TracTickets for help on using tickets.