help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bison 2.4.1 on Msys Win7 /usr/local/share/bison/m4sugar/m4sugar.m4


From: Hans Aberg
Subject: Re: bison 2.4.1 on Msys Win7 /usr/local/share/bison/m4sugar/m4sugar.m4
Date: Mon, 10 May 2010 00:23:11 +0200

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]