Update build dependencies and documentation

The libaio is not required by MaxScale so the check for it is no longer
needed.

Updated documentation to match the current requirements to build MaxScale.
This commit is contained in:
Markus Mäkelä
2017-03-15 10:09:53 +02:00
parent 5e39268e37
commit c4d08a6936
2 changed files with 14 additions and 17 deletions

View File

@ -5,7 +5,7 @@ requirements are as follows:
* CMake version 2.8 or later (Packaging requires version 2.8.12 or later) * CMake version 2.8 or later (Packaging requires version 2.8.12 or later)
* GCC version 4.4.7 or later * GCC version 4.4.7 or later
* libaio * SQLite3 version 3.3 or later
* libcurl * libcurl
* OpenSSL * OpenSSL
* Bison 2.7 or later * Bison 2.7 or later
@ -20,33 +20,35 @@ The following packages are required on CentOS/RHEL 7. Older releases may require
other packages in addition to these. other packages in addition to these.
``` ```
git gcc gcc-c++ ncurses-devel bison flex glibc-devel cmake libgcc perl make libtool \ git gcc gcc-c++ ncurses-devel bison flex glibc-devel cmake libgcc perl make \
openssl-devel libaio libaio-devel libcurl-devel pcre-devel tcl tcl-devel systemtap-sdt-devel libuuid libuuid-devel libtool openssl openssl-devel libcurl-devel pcre-devel tcl tcl-devel \
systemtap-sdt-devel libuuid libuuid-devel sqlite sqlite-devel
``` ```
You can install the packages with the following commands. You can install the packages with the following commands.
``` ```
sudo yum install git gcc gcc-c++ ncurses-devel bison flex glibc-devel cmake libgcc perl \ sudo yum install git gcc gcc-c++ ncurses-devel bison flex glibc-devel cmake \
make libtool openssl-devel libaio libaio-devel librabbitmq-devel \ libgcc perl make libtool openssl openssl-devel libcurl-devel pcre-devel \
libcurl-devel pcre-devel tcl tcl-devel systemtap-sdt-devel libuuid libuuid-devel tcl tcl-devel systemtap-sdt-devel libuuid libuuid-devel sqlite3 sqlite3-devel
``` ```
### Required packages on Ubuntu and Debian systems ### Required packages on Ubuntu and Debian systems
The following packages are required on Ubuntu 14.04. Different releases may require The following packages are required on Ubuntu 16.04. Different releases may
other packages in addition to these. require other packages in addition to these.
``` ```
git build-essential libssl-dev libaio-dev ncurses-dev bison flex \ git build-essential libssl-dev ncurses-dev bison flex cmake perl libtool \
cmake perl libtool libcurl4-openssl-dev libpcre3-dev tlc tcl-dev uuid uuid-dev libcurl4-openssl-dev libpcre3-dev tlc tcl-dev uuid uuid-dev sqlite3-dev
``` ```
You can install the packages with the following command. You can install the packages with the following command.
``` ```
sudo apt-get install git build-essential libssl-dev libaio-dev ncurses-dev \ sudo apt-get install git build-essential libssl-dev ncurses-dev bison flex \
bison flex cmake perl libtool libcurl4-openssl-dev libpcre3-dev tcl tcl-dev uuid uuid-dev cmake perl libtool libcurl4-openssl-dev libpcre3-dev tcl tcl-dev uuid \
uuid-dev libsqlite3-dev
``` ```
## Preparing the MariaDB MaxScale build ## Preparing the MariaDB MaxScale build

View File

@ -44,11 +44,6 @@ check_include_files(time.h HAVE_TIME)
check_include_files(unistd.h HAVE_UNISTD) check_include_files(unistd.h HAVE_UNISTD)
# Check for libraries MaxScale depends on # Check for libraries MaxScale depends on
find_library(HAVE_LIBAIO NAMES aio)
if(NOT HAVE_LIBAIO)
message(FATAL_ERROR "Could not find libaio")
endif()
find_library(HAVE_LIBSSL NAMES ssl) find_library(HAVE_LIBSSL NAMES ssl)
if(NOT HAVE_LIBSSL) if(NOT HAVE_LIBSSL)
message(FATAL_ERROR "Could not find libssl") message(FATAL_ERROR "Could not find libssl")