HADOOP-17153. Add boost installation steps to build instruction on CentOS 8. (#2169)

This commit is contained in:
Masatake Iwasaki 2020-07-26 06:38:54 +09:00 committed by GitHub
parent ac5f21dbef
commit 4b1816c7d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -449,6 +449,14 @@ Building on CentOS 8
* Install libraries provided by CentOS 8.
$ sudo dnf install libtirpc-devel zlib-devel lz4-devel bzip2-devel openssl-devel cyrus-sasl-devel libpmem-devel
* Install boost.
$ curl -L -o boost_1_72_0.tar.bz2 https://sourceforge.net/projects/boost/files/boost/1.72.0/boost_1_72_0.tar.bz2/download
$ tar xjf boost_1_72_0.tar.bz2
$ cd boost_1_72_0
$ ./bootstrap.sh --prefix=/usr/local
$ ./b2
$ sudo ./b2 install
* Install optional dependencies (snappy-devel).
$ sudo dnf --enablerepo=PowerTools snappy-devel