Coreutils will not install with default names

Ryan Schmidt ryandesign at macports.org
Fri Jun 24 11:09:07 PDT 2011


On Jun 24, 2011, at 11:30, Brandon Allbery wrote:

> On Fri, Jun 24, 2011 at 12:19, Nathan Farrar wrote:
>> 
> 
>> I'm attempting to set up a new macports environment this AM and coreutils
>> will not install with default names.  I'm using the following command, which
>> as worked for me in the past:
>> 
>> sudo port install coreutils +with_default_names
>> 
>> 
>> ... coreutils installed without failure, but with 'g' prefixed to the front
>> of all the binaries.  Any idea how I can resolve this?
> 
> Get used to it, or build your own symlink tree with your preferred
> names.  +with_default_names was removed because it caused too many
> problems.

You don't need to build your own symlink tree since MacPorts has already made one for you; you just need to add /opt/local/libexec/gnubin to your PATH, as the port says:


$ port notes coreutils
coreutils has the following notes:
  The tools provided by GNU coreutils are prefixed with the character 'g' by default to
  distinguish them from the BSD commands.
  For example, cp becomes gcp and ls becomes gls.
  
  If you want to use the GNU tools by default, add this directory to the front of your PATH
  environment variable:
      /opt/local/libexec/gnubin/




More information about the macports-users mailing list