Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#48156 closed defect (invalid)

help me installing gcc

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?

Attachments (1)

스크린샷 2015-06-24 오후 2.27.05.png (30.4 KB) - added by kjy9308@… 9 years ago.

Download all attachments as: .zip

Change History (5)

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.

comment:2 Changed 9 years ago by kjy9308@…

Resolution: invalid
Status: closedreopened

My mac version is 10.8.5

so i can't use "xcode-select --install"

and i install x_code_5....

comment:3 Changed 9 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: reopenedclosed

Please don't re-open invalid tickets. Trac is not for tech support. Follow-up on the Macports Users mailing list instead.

comment:4 in reply to:  2 Changed 9 years ago by larryv (Lawrence Velázquez)

Replying to kjy9308@…:

My mac version is 10.8.5

so i can't use "xcode-select --install"

and i install x_code_5....

Okay, so did you look at the link I posted? It has directions for 10.8.

Note: See TracTickets for help on using tickets.