Wrong path in Bison GnuWin32 package
Provides native Win32 open source ports and utilities
Brought to you by:
gnuwin32
When running bison on a c++ file, the following error message occurs:
C:/PROGRA~1/GnuWin32/share/bison/lalr1.cc:22: m4: Cannot open c:/progra~1/Bison/share/bison/c++.m4: No such file or directory
As can be seen, I've installed the Bison GnuWin32 package in it's default path, but the lalr1.cc file points to the c++.m4 file in the wrong directory.
lalr1.cc, line 22:
m4_include(b4_pkgdatadir/[c++.m4])
Copying "C:\Program Files\GnuWin32" to "C:\Program Files\Bison" is a workaround and this makes Bison run as expected.
BTW. I was very glad to see there were easy-to-install win32 packages of GNU software. Keep up the good work!
Logged In: YES
user_id=217802
Originator: NO
You could also try to set the environment variable BISON_PKGDATADIR to C:/PROGRA~1/GnuWin32/share/bison