|
From: Werner L. <wl...@gn...> - 2014-10-05 08:22:47
|
Folks,
how do I correctly compile bison 3.0.2 with mingw?
The incantation
./configure ac_cv_func__set_invalid_parameter_handler=no
make
make install
works without glitches, however, calling bison (within the msys shell)
gives me
$ 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? Are there special
parameters necessary for the configure script? I see that problems
with m4sugar.m4 are present since 10(!) years, and I really wonder why
we still have to struggle with that...
Werner
|