X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=build%2Fscripts%2Finstall_lib.sh;h=f4e2df5e8ec9a56065f723ce1d1487a6ded3b0d6;hb=1abb4c7602549fc273cc7ef164f33800f93abfbc;hp=2aec9746f41b228f521120e0f5f5d65bec68e2a8;hpb=b92944068f8a7b643b333515e424517db4192b61;p=o-du%2Fl2.git diff --git a/build/scripts/install_lib.sh b/build/scripts/install_lib.sh index 2aec9746f..f4e2df5e8 100755 --- a/build/scripts/install_lib.sh +++ b/build/scripts/install_lib.sh @@ -105,6 +105,28 @@ install_netconf_lib() { check_ret "LIBSSH" "$?" + #cJSON + cd $NETCONF_PATH && \ + git clone --single-branch --branch v1.7.14 https://github.com/DaveGamble/cJSON.git && \ + cd cJSON && \ + mkdir build && cd build && \ + cmake .. -DENABLE_CJSON_UTILS=On -DENABLE_CJSON_TEST=Off && \ + make -j4 && \ + $SUDO make install && \ + $SUDO ldconfig + check_ret "LIBJSON" "$?" + + #CURL + cd $NETCONF_PATH && \ + git clone --single-branch --branch curl-7_72_0 https://github.com/curl/curl.git &&\ + cd curl && \ + mkdir build && cd build && \ + cmake -DBUILD_TESTING=OFF .. && \ + make -j4 && \ + $SUDO make install && \ + $SUDO ldconfig + check_ret "LIBCURL" "$?" + # libyang cd $NETCONF_PATH && \ git clone -b v1.0.184 --depth 1 https://github.com/CESNET/libyang.git && \