无题4

1、安装ndn-cxxNFD


注意,ndn-cxx+NFDfrom packages and from source code may conflict with each otherbecause they may have different versions. If you choose to installfrom source , make sure everything is installed from source , and thepackages are completedly deleted.


下载

#
Download ndn-cxx
git
clone https://github.com/named-data/ndn-cxx
																																										
#
Download NFD
git
clone --recursive https://github.com/named-data/NFD

安装 ndn-cxx的预先条件:


bishe目录下,

sudo
apt-get install build-essential pkg-config libboost-all-dev
libsqlite3-dev libssl-dev libpcap-dev
 
 
sudo
apt-get install doxygen graphviz python-sphinx
 

再以此输入三条指令进行Build进行构建。

转到ndn-cxx目录下


./wafconfigure

./waf

sudo./waf install

这块如果出现问题,参照我的另一篇文章《解决安装NFDndn-cxx依赖时:输入./waf指令一直报错的问题》



接下来转到NFD目录下,


cdNFD


依次输入三条指令进行Build



./wafconfigure

./waf

sudo./waf install


构建完了之后,进入/usr/local/bin目录中,查找nfd,看有没有nfd这个选项。

然后在进入/usr/local/etc/ndn中,看有没有nfd.conf.sample这个文件。


如果没有,说明NFD没有装好,再回头检查一下是什么问题,如果有的话,输入下面的这条指令:


sudocp /usr/local/etc/ndn/nfd.conf.sample /usr/local/etc/ndn/nfd.conf


到此为止,ndn-cxxNFD就装好了。




本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!

相关文章

立即
投稿

微信公众账号

微信扫一扫加关注

返回
顶部