|
From: Eli Z. <el...@gn...> - 2014-10-05 14:30:17
|
> Date: Sun, 05 Oct 2014 10:22:35 +0200 (CEST) > From: Werner LEMBERG <wl...@gn...> > > $ bison myfile.y > ...\msys\1.0\local\bin\bison.exe: \ > /usr/local/share/bison/m4sugar/m4sugar.m4: \ > cannot open: No such file or directory > > I tried a workaround mentioned in the web, but it still fails: > > $ BISON_PKGDATADIR=.../msys/1.0/local/share/bison \ > bison myfile.y > ...\msys\1.0\local\bin\bison.exe: \ > m4 subprocess failed: No such file or directory > > (I have a working m4.exe of course) > > What is the cause for that, and how can I fix it? Don't install MinGW programs inside the MSYS tree. MinGW programs don't understand the MSYS mounts (which maps /usr/local to some place on your system). |