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:
parent
5e39268e37
commit
c4d08a6936
@ -5,7 +5,7 @@ requirements are as follows:
|
||||
|
||||
* CMake version 2.8 or later (Packaging requires version 2.8.12 or later)
|
||||
* GCC version 4.4.7 or later
|
||||
* libaio
|
||||
* SQLite3 version 3.3 or later
|
||||
* libcurl
|
||||
* OpenSSL
|
||||
* 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.
|
||||
|
||||
```
|
||||
git gcc gcc-c++ ncurses-devel bison flex glibc-devel cmake libgcc perl make libtool \
|
||||
openssl-devel libaio libaio-devel libcurl-devel pcre-devel tcl tcl-devel systemtap-sdt-devel libuuid libuuid-devel
|
||||
git gcc gcc-c++ ncurses-devel bison flex glibc-devel cmake libgcc perl make \
|
||||
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.
|
||||
|
||||
```
|
||||
sudo yum install git gcc gcc-c++ ncurses-devel bison flex glibc-devel cmake libgcc perl \
|
||||
make libtool openssl-devel libaio libaio-devel librabbitmq-devel \
|
||||
libcurl-devel pcre-devel tcl tcl-devel systemtap-sdt-devel libuuid libuuid-devel
|
||||
sudo yum install git gcc gcc-c++ ncurses-devel bison flex glibc-devel cmake \
|
||||
libgcc perl make libtool openssl openssl-devel libcurl-devel pcre-devel \
|
||||
tcl tcl-devel systemtap-sdt-devel libuuid libuuid-devel sqlite3 sqlite3-devel
|
||||
```
|
||||
|
||||
### Required packages on Ubuntu and Debian systems
|
||||
|
||||
The following packages are required on Ubuntu 14.04. Different releases may require
|
||||
other packages in addition to these.
|
||||
The following packages are required on Ubuntu 16.04. Different releases may
|
||||
require other packages in addition to these.
|
||||
|
||||
```
|
||||
git build-essential libssl-dev libaio-dev ncurses-dev bison flex \
|
||||
cmake perl libtool libcurl4-openssl-dev libpcre3-dev tlc tcl-dev uuid uuid-dev
|
||||
git build-essential libssl-dev ncurses-dev bison flex cmake perl libtool \
|
||||
libcurl4-openssl-dev libpcre3-dev tlc tcl-dev uuid uuid-dev sqlite3-dev
|
||||
```
|
||||
|
||||
You can install the packages with the following command.
|
||||
|
||||
```
|
||||
sudo apt-get install git build-essential libssl-dev libaio-dev ncurses-dev \
|
||||
bison flex cmake perl libtool libcurl4-openssl-dev libpcre3-dev tcl tcl-dev uuid uuid-dev
|
||||
sudo apt-get install git build-essential libssl-dev ncurses-dev bison flex \
|
||||
cmake perl libtool libcurl4-openssl-dev libpcre3-dev tcl tcl-dev uuid \
|
||||
uuid-dev libsqlite3-dev
|
||||
```
|
||||
|
||||
## Preparing the MariaDB MaxScale build
|
||||
|
@ -44,11 +44,6 @@ check_include_files(time.h HAVE_TIME)
|
||||
check_include_files(unistd.h HAVE_UNISTD)
|
||||
|
||||
# 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)
|
||||
if(NOT HAVE_LIBSSL)
|
||||
message(FATAL_ERROR "Could not find libssl")
|
||||
|
Loading…
x
Reference in New Issue
Block a user