mysql5.7.9编译

来源:互联网 发布:python 2.7基础教程 编辑:程序博客网 时间:2024/06/05 16:00

mysql5.7.9版本的源码编译和以往有所不同。

Source Installation System Requirements

 

1、  cmake,http://www.cmake.org

2、  推荐使用GUN make3.7.5,或更新版本:http://www.gnu.org/software/make/

3、  GCC 4.4.6或更新;Clang 3.3或更新;visual studio2013或更新。

4、  Boost1.59.0或更新。安装之后CMAKE需要指定WITH_BOOST:

cmake . -DWITH_BOOST=/usr/local/boost_1_59_0

5、  如果运行test脚本需要安装Perl。Windows上可以使用ActiveStateperl

 

 

Toinstall MySQL from a development source tree, the following additional toolsare required:

 

The Gitrevision control system is required to obtain the development source code. TheGitHub Help provides instructions for downloading and installing Git ondifferent platforms. MySQL officially joined GitHub in September, 2014. Formore information about MySQL's move to GitHub, refer to the announcement on theMySQL Release Engineering blog: MySQL on GitHub

 

bison 2.1or newer, available from http://www.gnu.org/software/bison/. (Version 1 is nolonger supported.) Use the latest version of bison where possible; if youexperience problems, upgrade to a later version, rather than revert to anearlier one.

 

bison isavailable from http://www.gnu.org/software/bison/. bison for Windows can bedownloaded from http://gnuwin32.sourceforge.net/packages/bison.htm. Downloadthe package labeled “Complete package, excluding sources”. On Windows, thedefault location for bison is the C:\Program Files\GnuWin32 directory. Someutilities may fail to find bison because of the space in the directory name.Also, Visual Studio may simply hang if there are spaces in the path. You canresolve these problems by installing into a directory that does not contain aspace; for example C:\GnuWin32.

 

OnOpenSolaris and Solaris Express, m4 must be installed in addition to bison. m4is available from http://www.gnu.org/software/m4/.

 

Note

If you have to install any programs, modify your PATHenvironment variable to include any directories in which the programs arelocated. See Section 4.2.10, “Setting Environment Variables”.


0 0
原创粉丝点击