On 9 May 2010, at 22:59, Dick Dunbar wrote:
$ bison -d -y jamgram.y
C:\Msys\local\bin\bison.exe: cannot open file
`/usr/local/share/bison/m4sugar/m4sugar.m4': No such file or directory
$ ls -l /usr/local/share/bison/m4sugar/m4sugar.m4
-rw-r--r-- 1 dick Administrators 98348 May 8 16:19
/usr/local/share/bison/m4sugar/m4sugar.m4
I installed initially from: bison-2.4.1-1-msys-1.0.11-bin.tar.lzma
Then built the code from: bison-2.4.2 source (gnu.org)
Any suggestions?
When building, you must somehow set the PREFIX so that it is your
directory \Msys\ instead of /usr/, plus that the slashes go the other
directions than on Unix-like systems. In addition, Bison uses M4,
which must be installed.
I'm not sure how that works out on Windows systems - check the files
INSTALL, configure and Makefile. - Hopefully somebody else here will
provide more info.
Hans
_______________________________________________
help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison