What's the mysql-5.5 compilation configuration arguments on Ubuntu 10.04?
Posted
by
photon
on Server Fault
See other posts from Server Fault
or by photon
Published on 2012-10-08T12:35:59Z
Indexed on
2012/10/13
15:42 UTC
Read the original article
Hit count: 233
I want to install mysql 5.5 on my Ubuntu10.04 desktop system. But I'm not sure what arguments I should use after the cmake command. Though I've seen these articles:
https://wikis.oracle.com/display/mysql/Cmake
Building mysql-5.5.19 from source on ubuntu 11.10 with the static flag
Compile MySQL 5.5.15 from source using autorun.sh and cmake, unable to start MySQL after
Would anyone like to share the mysql-5.5 configuration arguments of compilation on Ubuntu 10.04?
$cmake
# what arguments to enter for this command
update:
cmake . -DBUILD_CONFIG=mysql_release -DCMAKE_INSTALL_PREFIX=/path/to/mysql_installation_dir -DWITH_SSL=no
the official web site says it need to use cmake to compile the source package, but according to a teck blog, it doesn't need to compile the source, so which one is correct?
When I use Cmake, I also had following error message:
$ sudo cmake . -DBUILD_CONFIG=mysql_release -DCMAKE_INSTALL_PREFIX=/usr/local/mysql_community_5.5
-- The CXX compiler identification is unknown CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error at cmake/build_configurations/mysql_release.cmake:126 (MESSAGE):
Clarification: I'm not clever and I'm a slow-thinking guy. And I cannot find a clever guy around me to give me some useful help. So I come here and hope someone is kind and generous enough to take the time to post the details.
© Server Fault or respective owner