Documentation Home
MySQL and Windows
Related Documentation Download this Excerpt
PDF (US Ltr) - 0.7Mb
PDF (A4) - 0.7Mb
EPUB - 0.7Mb
HTML Download (TGZ) - 0.7Mb
HTML Download (Zip) - 0.7Mb

MySQL and Windows  /  ...  /  Creating a Windows Source Package from the Bazaar Repository

1.8.5 Creating a Windows Source Package from the Bazaar Repository

To create a Windows source package from the current Bazaar source tree, use the instructions here. This procedure must be performed on a system running a Unix or Unix-like operating system because some of the configuration and build steps require tools that work only on Unix. For example, the following procedure is known to work well on Linux.

  1. Copy the Bazaar source tree for MySQL 5.0. For instructions on how to do this, see Installing MySQL Using a Development Source Tree.

  2. Configure and build the distribution so that you have a server binary to work with. One way to do this is to run the following command in the top-level directory of your source tree:

    shell> ./BUILD/compile-pentium-max
  3. After making sure that the build process completed successfully, run the following utility script from top-level directory of your source tree:

    shell> ./scripts/make_win_src_distribution

    This script creates a Windows source package to be used on your Windows system. You can supply different options to the script based on your needs. See make_win_src_distribution — Create Source Distribution for Windows, for a list of permissible options.

    By default, make_win_src_distribution creates a Zip-format archive with the name, where VERSION represents the version of your MySQL source tree.

  4. Copy or upload the Windows source package that you have just created to your Windows machine. To compile it, use the instructions in Section 1.8.2, “Building MySQL from a Windows Source Distribution”.

User Comments
  Posted by Chris Calender on January 18, 2012
How to Build MySQL 5.5 from Source Code on Windows
Sign Up Login You must be logged in to post a comment.