MXS-1701: Fix build instructions

Corrected the documentation on building from source and fixed a missing
variable check for the luafilter.
This commit is contained in:
Markus Mäkelä
2018-03-20 14:25:51 +02:00
parent bd8b6dbc6f
commit 65033313a7
3 changed files with 15 additions and 13 deletions

View File

@ -42,7 +42,7 @@ sudo apt-get install git build-essential libssl-dev ncurses-dev bison flex \
git clone https://github.com/mariadb-corporation/MaxScale
mkdir build
cd build
cmake ../MaxScale -DCMAKE_INSTALL_PREFIX=/usr
cmake ../MaxScale -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_CDC=N -DBUILD_MAXCTRL=N -DBUILD_LUA=N
make
sudo make install
sudo ./postinst
@ -96,10 +96,10 @@ The next step is to configure MariaDB MaxScale. You only need to execute the fol
command to configure the build.
```
cmake ../MaxScale -DBUILD_TESTS=Y
cmake ../MaxScale -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_CDC=N -DBUILD_MAXCTRL=N -DBUILD_LUA=N
```
This will install MariaDB MaxScale into `/usr/local/` and build the tests. The tests and
This will install MariaDB MaxScale into `/usr/` and build the tests. The tests and
other parts of the installation can be controlled via CMake arguments.
Here is a small table with the names of the most common parameters and what