[size=large]近段安装mysql-5.5,发现需要用cmake安装了,安装步骤基本一样,不过配置变太大了,终于在官方文档上找到了,记录一下:[/size]
Installation Layout Options
The CMAKE_INSTALL_PREFIX option indicates the base installation directory. Other options with names of the form INSTALL_xxx that indicate component locations are interpreted relative to the prefix and their values are relative pathnames. Their values should not include the prefix.
[color=red]-DCMAKE_INSTALL_PREFIX=dir_name[/color]
The installation base directory.
This value can be set at server startup with the --basedir option.
[color=red]-DINSTALL_BINDIR=dir_name[/color]
Where to install user programs.
[color=red] -DINSTALL_DOCDIR=dir_name[/color]
Where to install documentation.
[color=red]-DINSTALL_DOCREADMEDIR=dir_name[/color]
Where to install README files.
[color=red] -DINSTALL_INCLUDEDIR=dir_name[/color]
Where to install header files.
[color=red]-DINSTALL_INFODIR=dir_name[/color]
Where to install Info files.
[color=red]-DINSTALL_LAYOUT=name[/color]
查看更多[url]http://dev.mysql.com/doc/refman/5.5/en/source-configuration-options.html#cmake-general-options[/url]
Installation Layout Options
The CMAKE_INSTALL_PREFIX option indicates the base installation directory. Other options with names of the form INSTALL_xxx that indicate component locations are interpreted relative to the prefix and their values are relative pathnames. Their values should not include the prefix.
[color=red]-DCMAKE_INSTALL_PREFIX=dir_name[/color]
The installation base directory.
This value can be set at server startup with the --basedir option.
[color=red]-DINSTALL_BINDIR=dir_name[/color]
Where to install user programs.
[color=red] -DINSTALL_DOCDIR=dir_name[/color]
Where to install documentation.
[color=red]-DINSTALL_DOCREADMEDIR=dir_name[/color]
Where to install README files.
[color=red] -DINSTALL_INCLUDEDIR=dir_name[/color]
Where to install header files.
[color=red]-DINSTALL_INFODIR=dir_name[/color]
Where to install Info files.
[color=red]-DINSTALL_LAYOUT=name[/color]
查看更多[url]http://dev.mysql.com/doc/refman/5.5/en/source-configuration-options.html#cmake-general-options[/url]