Hi,

I had problem with `egrep` in the past, I will explain my problem, maybe it
will be the same as you, not sure.

I wanted to compile something (erlang rebar3 tool). The script was using a
native Windows program for the compilation and was complaining that `egrep`
could not be found in the `$PATH`. The problem is that `egrep` is a bash
script wrapping the normal `grep` command which is an executable.

When a native Windows program tries to find a program to run, it checks
mainly for `.exe` and `.bat` files. Since `egrep` was not one of the two,
the compilation failed each time. Running the same thing under a msys2
aware program is not failing because search rules are different. That's why
running `egrep` from terminal works. If you use `cmd` directly (and if you
have a correct $PATH environment), running `egrep` in the console will fail
with the same message as in your error.

Matt



On Tue, Apr 7, 2015 at 4:43 AM Alexey Pavlov <[email protected]>
wrote:

>
> > 7 апр. 2015 г., в 11:29, Greg Jung <[email protected]> написал(а):
> >
> > I'm getting this error when trying to ./configure for wxWidgets:
> > checking for grep that handles long lines and -e...
> > configure: error: no acceptable grep could be found in <$PATH>
> >
> > any notions of why this happens?
> >
> > wxWidgets-3.0.1/configure --with-msw
>
> For building packages you need install «base-devel» package group that
> contain all needed programs to build most packages:
>
> pacman -S base-devel
>
> Or you can install one by one when you get such fails. Configure told you
> that can’t find «grep», so seems you not have it installed.
>
> Regards,
> Alexey.
> >
> > ------------------------------------------------------------
> ------------------
> > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
> > Develop your own process in accordance with the BPMN 2 standard
> > Learn Process modeling best practices with Bonita BPM through live
> exercises
> > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
> event?utm_
> > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
> > _______________________________________________
> > Msys2-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/msys2-users
>
>
> ------------------------------------------------------------
> ------------------
> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
> Develop your own process in accordance with the BPMN 2 standard
> Learn Process modeling best practices with Bonita BPM through live
> exercises
> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
> event?utm_
> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
> _______________________________________________
> Msys2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/msys2-users
>
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to