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

22.1.3.7. Installing Connector/ODBC from the Development Source Tree

Caution

Read this section only if you are interested in helping us test our new code. To just get MySQL Connector/ODBC up and running on your system, use a standard release distribution.

To obtain the most recent development source tree, first download and install Bazaar from the Bazaar VCS Web site. Bazaar is supported by any platform that supports Python, and is therefore compatible with any Linux, Unix, Windows or Mac OS X host. Instructions for downloading and installing Bazaar on the different platforms are available on the Bazaar Web site.

Building from the source trees requires the following tools:

The most recent development source tree is available from our public Subversion trees at http://dev.mysql.com/tech-resources/sources.html.

To check out out the Connector/ODBC sources, change to the directory where you want the copy of the Connector/ODBC tree to be stored, then use the following command:

shell> bzr branch lp:myodbc

You should now have a copy of the entire Connector/ODBC source tree in the directory connector-odbc3. To build from this source tree on Unix or Linux, follow these steps:

shell> cd myodbcshell> aclocalshell> autoheadershell> libtoolize -c
        -fshell> autoconfshell> automake;shell> ./configure # Add
        your favorite options hereshell> make

When the build is done, run make install to install the Connector/ODBC driver on your system.

If you have gotten to the make stage and the distribution does not compile, please report it to .

On Windows, make use of Windows Makefiles WIN-Makefile and WIN-Makefile_debug in building the driver. For more information, see Section 22.1.3.4, "Building Connector/ODBC from a Source Distribution on Windows".

After the initial checkout operation to get the source tree, run bzr pull periodically to update your source according to the latest version.