From 8a26dc18d3ebf941b2fa4fdf836df4e3901ec95f Mon Sep 17 00:00:00 2001 From: Markus Makela Date: Fri, 14 Aug 2015 10:44:41 +0300 Subject: [PATCH] Updated source building documentation. --- Getting-Started/Building-MaxScale-from-Source-Code.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Getting-Started/Building-MaxScale-from-Source-Code.md b/Getting-Started/Building-MaxScale-from-Source-Code.md index a3d3e7708..99baf3004 100644 --- a/Getting-Started/Building-MaxScale-from-Source-Code.md +++ b/Getting-Started/Building-MaxScale-from-Source-Code.md @@ -75,6 +75,8 @@ You will also need some version specific packages. #### Ubuntu 14.04 or later, Debian 8 (Jessie) or later +*At the time of writing, the libmariadbd-dev package is broken and does not contain the required libmysqld.a library. Please follow the install instructions for earlier version of Ubuntu and Debian.* + ``` libmariadbclient-dev libmariadbd-dev ``` @@ -144,7 +146,7 @@ cmake .. ``` This will automatically search your system for the right files and libraries and if you have your libraries installed in standard locations, it should succeed. If there are errors with the CMake configuration, read the error messages, provide the needed variables for CMake and call `cmake` again with the additional parameters. -Here is an example of a cmake call with parameters for custom library locations, building of tests and without the installation of init scripts. +Here is an example of a cmake call with parameters for custom library locations, building of tests and without the installation of init scripts or the example maxscale.cnf file. ``` $ cmake .. -DMYSQL_DIR=/usr/mariadb-5.5.41-linux-x86_64/include/mysql \ @@ -152,7 +154,7 @@ $ cmake .. -DMYSQL_DIR=/usr/mariadb-5.5.41-linux-x86_64/include/mysql \ -DMYSQLCLIENT_LIBRARIES=/usr/mariadb-5.5.41-linux-x86_64/lib/libmysqlclient.so \ -DERRMSG=/usr/mariadb-5.5.41-linux-x86_64/share/english/errmsg.sys \ -DCMAKE_INSTALL_PREFIX=/home/maxscale/MaxScale -DBUILD_TESTS=Y \ --DWITH_SCRIPTS=N +-DWITH_SCRIPTS=N -DWITH_MAXSCALE_CNF=N
 -- CMake version: 2.8.12.2