maria-discuss team mailing list archive
-
maria-discuss team
-
Mailing list archive
-
Message #02545
New Question: How to specify the options when using cmake?
Hello,
A new question has been asked in "General FAQ" by fjjiaboming. Please answer it at http://mariadb.com/kb/en/how-to-specify-the-options-when-using-cmake/ as the person asking the question may not be subscribed to the mailing list.
--------------------------------
http://www.linuxfromscratch.org/blfs/view/7.7/server/mariadb.html
I build MariaDB 10.0.17 with cmake-3 , libevent-2 , python-2 ...
Dependencies all are in dir /opt/..
But , how can I specify the modules dir for MariaDB ?
``
cmake-3... -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/opt/mariadb-10.0.17 -DINSTALL_DOCDIR=share/doc/mariadb-10.0.17 -DINSTALL_DOCREADMEDIR=share/doc/mariadb-10.0.17 -DINSTALL_MANDIR=share/man -DINSTALL_MYSQLSHAREDIR=share/mysql -DINSTALL_MYSQLTESTDIR=share/mysql/test -DINSTALL_PLUGINDIR=lib/mysql/plugin -DINSTALL_SBINDIR=sbin -DINSTALL_SCRIPTDIR=bin -DINSTALL_SQLBENCHDIR=share/mysql/bench -DINSTALL_SUPPORTFILESDIR=share/mysql -DMYSQL_DATADIR=/srv/mysql -DMYSQL_UNIX_ADDR=/srv/mysql/mysqld.sock -DWITH_EXTRA_CHARSETS=complex -DWITH_EMBEDDED_SERVER=ON -DTOKUDB_OK=0 ..
``
I try to add -DWITH_LIBEVENT=/opt/libevent-2.0.22-stable -DWITH_BOOST=/opt/boost_1_58_0 ...
I got some messages to tip me the options are invalid .
--------------------------------
To view or answer this question please visit: http://mariadb.com/kb/en/how-to-specify-the-options-when-using-cmake/