Spec-Zone .ru
спецификации, руководства, описания, API

15.7.2.3. Installing MySQL Proxy from the Bazaar Repository

The MySQL Proxy source is available through a public Bazaar repository and is the quickest way to get the latest releases and fixes.

A build from the Bazaar repository requires that the following prerequisite components be installed:

The mysql-proxy source is hosted on Launchpad. To check out a local copy of the Bazaar repository, use bzr:

shell> bzr branch
        lp:mysql-proxy

The preceding command downloads a complete version of the Bazaar repository for mysql-proxy. The main source files are located within the trunk subdirectory. The configuration scripts must be generated before you can configure and build mysql-proxy. The autogen.sh script generates the required configuration scripts for you:

shell> sh ./autogen.sh

The autogen.sh script creates the standard configure script, which you then use to configure and build with make:

shell> ./configureshell> makeshell> make
        install

To create a standalone source distribution, identical to the source distribution available for download, use this command:

shell> make distcheck

The preceding command creates the file mysql-proxy-0.8.2.tar.gz (with the corresponding current version) within the current directory.