This commit is contained in:
2021-09-22 10:46:48 +00:00
parent 1ebcf4d8e5
commit 6eae0dbfcb
3 changed files with 9 additions and 5 deletions
+2 -2
View File
@@ -3,10 +3,10 @@
DEFAULT_DIR=~/Documents/nfd
# ndn-cxx
NDN_CXX_VERSION=0.7.0
NDN_CXX_VERSION=0.7.1
# nfd
NDN_NFD_VERSION=0.7.0
NDN_NFD_VERSION=0.7.1
WEB_SOCKET_PP_VERSION=0.8.1-hotfix
# NLSR
+3 -2
View File
@@ -5,12 +5,13 @@
source ./common.sh
# install ndn-cxx prerequesites
sudo apt install build-essential libsqlite3-dev libssl-dev curl tar -y
sudo apt install g++ pkg-config python3-minimal libboost-all-dev libssl-dev libsqlite3-dev -y
sudo apt install doxygen graphviz python3-pip -y
sudo pip3 install sphinx sphinxcontrib-doxylink
# install ndn-cxx
cloneOrUpdate ndn-cxx https://github.com/named-data/ndn-cxx/archive/ndn-cxx-${NDN_CXX_VERSION}.tar.gz ${NDN_CXX_VERSION}
cloneOrUpdate ndn-cxx https://gitea.qjm253.cn/SunnyQjm/ndn-release/raw/branch/main/ndn-cxx-ndn-cxx-${NDN_CXX_VERSION}.tar.gz ${NDN_CXX_VERSION}
#cloneOrUpdate ndn-cxx https://github.com/named-data/ndn-cxx/archive/ndn-cxx-${NDN_CXX_VERSION}.tar.gz ${NDN_CXX_VERSION}
./waf configure --enable-static --with-examples
./waf
sudo ./waf install
+4 -1
View File
@@ -13,8 +13,11 @@ sudo apt-get install doxygen graphviz python-sphinx -y
sudo apt-get install build-essential pkg-config valgrind libsystemd-dev \
libsqlite3-dev libssl-dev libpcap-dev -y
sudo apt-get install doxygen graphviz python-sphinx -y
cloneOrUpdate NFD https://github.com/named-data/NFD/archive/NFD-${NDN_NFD_VERSION}.tar.gz ${NDN_NFD_VERSION}
cloneOrUpdate NFD https://gitea.qjm253.cn/SunnyQjm/ndn-release/raw/branch/main/NFD-NFD-${NDN_NFD_VERSION}.tar.gz ${NDN_NFD_VERSION}
#cloneOrUpdate NFD https://github.com/named-data/NFD/archive/NFD-${NDN_NFD_VERSION}.tar.gz ${NDN_NFD_VERSION}
mkdir -p websocketpp
curl -L https://gitea.qjm253.cn/SunnyQjm/ndn-release/raw/branch/main/websocketpp-{WEB_SOCKET_PP_VERSION}.tar.gz > websocket.tar.gz
curl -L https://github.com/cawka/websocketpp/archive/${WEB_SOCKET_PP_VERSION}.tar.gz > websocket.tar.gz
# curl -L https://github.com/cawka/websocketpp/archive/0.8.1-hotfix.tar.gz > websocketpp.tar.gz
tar xf websocket.tar.gz -C websocketpp/ --strip 1