I recently worked a lot on getting my local Windows box to
compile Windows.
I got a lot of help from the below link that took me a few steps
towards the
solution.
http://www.chriscalender.com/resolving-the-bison-exe-m4-invalid-argument-error-when-building-mysqlmariadbxtradb-on-windows/
I had to save away my bison installation, uninstall it and then
also
go into a registry editor and remove the various links to the
Start Menu referring to
some help for Bison that had spaces in the registry. Resolving
this meant that I could
manually run bison on the files in the mysql tarball and get the
desired result. But it
was still not enough, I still had the same error when running a
full automatic compile.
So then I found the …
Showing entries 1 to 2
Jan
27
2016
Feb
02
2012
If you’ve tried compiling MySQL/MariaDB/XtraDB from source code on Windows, you may have run into the following error:
C:\GnuWin32\bin\bison.exe: m4: Invalid argument
Now, it is a known bug to receive this error if you install it to a location with spaces in the path. So don’t do that!
But, there are cases when you have not installed it to a path with spaces, and you still receive this error.
I’ve encountered it a number of times, and I’m not the only one (btw, thanks Venu for your existing work-around up to this point!).
…
Problem:
Compile MySQL/MariaDB/XtraDB on Windows and receive the following error …
[Read more]
Showing entries 1 to 2