ggrep in MacPorts

Fielding, Eric J (329A) eric.j.fielding at
Sun Jul 1 18:40:16 UTC 2018


Thanks for the suggestion. I see there are already lots of other symbolic links for many flavors (or flavours) of “grep” in /opt/local/bin so I added one for “ggrep”. It seems that Homebrew provides “ggrep” and that is what the Modules package developers use to look for the GNU grep on Macs.


From: Peter West <lists at>
Date: Saturday, June 30, 2018 at 4:56 PM
To: "Eric J. Fielding" <eric.j.fielding at>
Subject: Re: ggrep in MacPorts

Hi Eric,

In the past, I’ve just created a link from gnu grep to ggrep.


On 1 Jul 2018, at 1:23 am, Fielding, Eric J (329A) <eric.j.fielding at<mailto:eric.j.fielding at>> wrote:

I upgraded the OS on one Mac yesterday to OSX 10.13.5 and installed my usual MacPorts ports, including tcl (tcl @8.6.8_0+corefoundation+threads). I have been using the package Modules 3.2.10 for many years on my Mac systems, but I don’t find it in MacPorts. I tried to re-install Modules 3.2.10 from source but it was having trouble finding the correct libraries, so I looked around and found the new Modules 4.1.3 on SourceForge last updated this month. I downloaded that and tried to install, but it seems that the new 4.1.3 version is looking for “ggrep”:

checking for uname... /usr/bin/uname
checking for make... /usr/bin/make
checking for sed... /usr/bin/sed
checking for ggrep... not found
ERROR: ggrep could not be found

I have installed the GNU “coreutils” port in MacPorts, but it installs the GNU grep as /opt/local/bin/grep instead of “ggrep”. Is “ggrep” a new thing? I don’t remember seeing it before.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list