[MacPorts] #48156: help me installing gcc
MacPorts
noreply at macports.org
Tue Jun 23 22:42:11 PDT 2015
#48156: help me installing gcc
------------------------+--------------------------------
Reporter: kjy9308@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: invalid | Keywords:
Port: |
------------------------+--------------------------------
Changes (by larryv@…):
* keywords: gcc =>
* status: new => closed
* resolution: => invalid
Old description:
> 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?
New description:
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?
--
Comment:
As the error message says, you probably have not installed the Command
Line Tools, which MacPorts requires. Please refer to
[https://guide.macports.org/chunked/installing.html#installing.xcode.mavericks
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.
--
Ticket URL: <https://trac.macports.org/ticket/48156#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list