Browse Source

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
tags/1.0.0
Li Ma 3 years ago
parent
commit
b30b1934b8
1 changed files with 8 additions and 0 deletions
  1. 8
    0
      devstack/ramcloud_driver

+ 8
- 0
devstack/ramcloud_driver View File

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

Loading…
Cancel
Save