Install snappy headers to standard locations using yum, so that build_tools/build_detect_platform sets -DSNAPPY flag to g++ . Current jars of rocksdb do no have snappy compression avaliable .
This commit is contained in:
parent
831101b5fa
commit
a52888ed00
@ -2,6 +2,8 @@
|
|||||||
# install all required packages for rocksdb that are available through yum
|
# install all required packages for rocksdb that are available through yum
|
||||||
ARCH=$(uname -i)
|
ARCH=$(uname -i)
|
||||||
sudo yum -y install openssl java-1.7.0-openjdk-devel.$ARCH zlib zlib-devel bzip2 bzip2-devel
|
sudo yum -y install openssl java-1.7.0-openjdk-devel.$ARCH zlib zlib-devel bzip2 bzip2-devel
|
||||||
|
sudo yum -y install epel-release-5-4.noarch
|
||||||
|
sudo yum -y install snappy snappy-devel
|
||||||
|
|
||||||
# install gcc/g++ 4.8.2 via CERN (http://linux.web.cern.ch/linux/devtoolset/)
|
# install gcc/g++ 4.8.2 via CERN (http://linux.web.cern.ch/linux/devtoolset/)
|
||||||
sudo wget -O /etc/yum.repos.d/slc5-devtoolset.repo http://linuxsoft.cern.ch/cern/devtoolset/slc5-devtoolset.repo
|
sudo wget -O /etc/yum.repos.d/slc5-devtoolset.repo http://linuxsoft.cern.ch/cern/devtoolset/slc5-devtoolset.repo
|
||||||
|
Loading…
Reference in New Issue
Block a user