Planet MySQL Planet MySQL: Meta Deutsch Español Français Italiano 日本語 Русский Português 中文
Showing entries 1 to 2

Displaying posts with tag: m4.exe (reset)

Resolving the bison.exe m4 Invalid argument Error when building MySQL/MariaDB/XtraDB on Windows
+3 Vote Up -0Vote Down

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 during

  [Read more...]
How to Build MySQL 5.5 from Source Code on Windows
+1 Vote Up -0Vote Down

Not counting obtaining the source code, and once you have the prerequisites satisfied, [Windows] users can build from source code in 5 easy steps.

Prerequisites – Install & ensure they are in the $PATH:

  • CMake Download
  • C++ compiler Free Download
  • Bison Download (ensure m4.exe is also included, which it should be)

    Optional (but most likely you’ll want):

  • Perl Strawberry Perl is a great option.
  • Bazaar source tree

    Tip: Install these in locations where spaces are not in the path. Specifically, watch for the Bison/m4 as there is a known bug with regards to that.

    ..

    Now that that’s out of the way, we can begin. You just need to decide if you want to build from

  •   [Read more...]
    Showing entries 1 to 2

    Planet MySQL © 1995, 2014, Oracle Corporation and/or its affiliates   Legal Policies | Your Privacy Rights | Terms of Use

    Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.