Glad it helped out, good luck with building wxWidgets and keep me posted,
I'm curious about your progress.
As for alexey's answer, he can be harsh sometimes but I'm sure he is a nice
guy, don't take it too hard :D
Matt
On Tue, Apr 7, 2015 at 2:37 PM Greg Jung <[email protected]> wrote:
> That sounds like a good possibility; i tried to fix it with a native
> symlink
> egrep.exe -> c:\msys64\usr\bin\egrep
> but that didn't change the result of configure.
>
> greg@Homerw7 MINGW32 /d/bld/bldwx
> $ export GREP='C:/msys64/usr/bin/grep.exe'
>
> greg@Homerw7 MINGW32 /d/bld/bldwx
> $ /e/mingw/sources/wxWidgets-3.0.2/configure --with-msw
> --prefix=/d/bld/mingw32-psxdw2/wxWidgets-3.0.2/ >& config.out &
> [1] 1800
> $ tail config.out
> checking whether we are using the Intel C compiler... no
> checking how to run the C preprocessor... gcc -O2 -mtune=pentium3 -E
> checking for grep that handles long lines and -e...
> C:/msys64/usr/bin/grep.exe
> checking for egrep... C:/msys64/usr/bin/grep.exe -E
> checking whether gcc -O2 -mtune=pentium3 needs -traditional... no
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ -O2 -mtune=pentium3 accepts -g... yes
> checking whether we are using the Intel C++ compiler... no
> checking for ar... no
> configure: error: ar is needed to build wxWidgets
> [1]+ Exit 1
> /e/mingw/sources/wxWidgets-3.0.2/configure --with-msw
> --prefix=/d/bld/mingw32-psxdw2/wxWidgets-3.0.2/ &> config.out
>
> $ which ar
> /mingw32/bin/ar
>
> $ echo $PATH
> /mingw32/bin:/opt32/bin:/usr/local/bin:/usr/bin:/bin:/c/
> Windows:/c/Windows/system32:/c/Windows/system32/Wbem:/usr/
> bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
>
> $ export AR='C:/msys64/mingw32/bin/ar'
> I didn't test, but I think this would fail. instead,
> $ export AR='C:/msys64/mingw32/bin/ar.exe'
>
> Result:
> $ tail config.out
> checking whether ln -s works... no, using cp -pR
> checking whether make sets $(MAKE)... yes
> checking for ar... (cached) C:/msys64/mingw32/bin/ar.exe
> checking for strip... no
> checking for nm... no
> checking if make is GNU make... yes
> checking for dependency tracking method... gcc
> checking for windres... no
> checking if the compiler supports precompiled headers... yes
> configure: error: Required windres program not found
>
> etc.
> greg@Homerw7 MINGW32 /d/bld/bldwx
> $ which windres
> /mingw32/bin/windres
>
> so I'm on my way. Thanks!
> On Tue, Apr 7, 2015 at 9:04 AM, Matthieu Vachon
> <[email protected]> wrote:
> > 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.
> >> >
> Holy cow look up the definition of "extremely condescending":
>
------------------------------------------------------------------------------
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