188.8.131.52. Creating a Windows Source Package from the Latest Development Source
To create a Windows source package from the current BitKeeper
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.
Copy the BitKeeper source tree for MySQL 5.1.
For instructions on how to do this, see
Section 2.8.3, “Installing from the Development Source Tree”.
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
After making sure that the build process completed
successfully, run the following utility script from
top-level directory of your source tree:
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. It accepts the following
Display a help message.
Print information about script operations, do not
Specify the temporary location.
The suffix name for the package.
Directory name to copy files (intermediate).
Do not print verbose list of files processed.
tar.gz package instead of
By default, make_win_src_distribution
creates a Zip-format archive with the name
VERSION represents the
version of your MySQL source tree.
Copy or upload the Windows source package that you have
just created to your Windows machine. To compile it, use
the instructions in
Section 184.108.40.206, “Building MySQL Using VC++”.