Add package dependencies for RAMCloud

Missing packages list:
- libboost-program-options 1.54.0
- libprotobuf8
- libboost-filesystem 1.54.0

Change-Id: I3368b5b46d9d3d2bf30a1d6691b5035526420121
Closes-Bug: #1525621
This commit is contained in:
Li Ma 2015-12-15 21:29:53 +08:00
parent 38d9c29d84
commit b30b1934b8
1 changed files with 8 additions and 0 deletions

View File

@ -21,6 +21,14 @@ RAMCLOUD_TABLE_NAMES=${RAMCLOUD_TABLE_NAMES:-'secgroup','dragonflow','chassis','
function nb_db_driver_install_server {
if is_service_enabled df-rcmaster ; then
echo "Installing Dependencies"
if is_ubuntu; then
install_package libboost-program-options1.54 libprotobuf8 libboost-filesystem1.54.0
elif is_suse || is_oraclelinux; then
install_package libboost_program_options1_54_0 libprotobuf8 libboost_filesystem1_54_0
elif is_fedora; then
install_package libboost_program_options1_54_0 protobuf libboost_filesystem1_54_0
fi
echo "Installing RAMCloud server"
git_clone https://github.com/dsivov/RamCloudBin.git $RAMCLOUD
echo export LD_LIBRARY_PATH="$RAMCLOUD_LIB":"$LD_LIBRARY_PATH" | tee -a $HOME/.bashrc