MySQL Reference Manual for version 4.0.18.

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.3.6.2 Creating a Windows Source Package from the Latest Development Source

To create a Windows source package from the current BitKeeper source tree, use the following instructions. Please note that this procedure must be performed on a system running a Unix or Unix-like operating system. (The procedure is known to work well on Linux, for example.)

  1. Clone the BitKeeper source tree for MySQL (version 4.1 or above, as desired). For more information how to clone the source tree, see the instructions at 2.3.3 Installing from the 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. It accepts the following options:

     
    --debug   Print information about script operations, do not create package
    --tmp     Specify the temporary location
    --suffix  Suffix name for the package
    --dirname Directory name to copy files (intermediate)
    --silent  Do not print verbose list of files processed
    --tar     Create tar.gz package instead of .zip package
    --help    Show this help message
    

    By default, make_win_src_distribution creates a zipped archive with the name `mysql-VERSION-win-src.zip', where VERSION represents the version of your MySQL source tree.

  4. Copy or upload to your Windows machine the Windows source package that you have just created. To compile it, use the instructions in 2.3.6.1 Building MySQL Using VC++.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated by rdg (Feb 25 2004) using texi2html