|
From: MARSHALL K. <Kei...@to...> - 2003-09-09 01:03:43
|
>I found out that bison package is not working because it can't find
/bin/m4.
>Compiled from sources - same error.
>
>When I change line in config.h :
> from
> #define M4 "/bin/m4"
> to
> #define M4 "d:\\msys\\bin\\m4.exe"
>
>it works fine.
Isn't this something to do with the way MSYS maps the / and /usr
paths? They actually refer to the MSYS installation directory, but
bison won't understand this.
This is explained in the MSYS documentation, and has been discussed
on the list before.
You should build both bison and flex to install in MSYS's /usr/local, or
some
other directory in the PATH, (which definitely should *not* be / or /usr),
but you should run configure to specify the native Windows path, e.g. ...
configure --prefix=D:/MSYS/1.0/local ...
(assuming your MSYS installation path is D:\MSYS\1.0).
This is the method I adopted to build GNU Groff, and it works fine.
Regards,
Keith.
|