2016-09-01 18 views
0

我在安装ndnSIM(ns-3模块)时遇到了麻烦。今天我质疑安装ns-3,但我无法解决问题。我发现另一种安装ndnSIM的方式。ndnSIM安装失败=> cryptoPP存在,但不可用

我引用了这个URL,并按照指示一步一步。

但在ns-3/src/ndnSIM/ndn-cxx directory当我配置(使用waf构建系统),然后我收到一条错误消息。

是的,你是对的。

它是第7步在我上面提到的URL。以下是错误消息。

Setting top to       : /home/juhyun-park/다운로드/ndnSIM/ns-3/src/ndnSIM/ndn-cxx 
Setting out to       : /home/juhyun-park/다운로드/ndnSIM/ns-3/src/ndnSIM/ndn-cxx/build 
Building static library     : no 
Building shared library     : yes 
Checking for 'g++' (C++ compiler)  : /usr/bin/g++ 
Checking supported CXXFLAGS    : -std=c++11 
Checking supported CXXFLAGS    : -pedantic -Wall -O2 -g 
Checking for program 'doxygen'   : /usr/bin/doxygen 
Checking for program 'tar'    : /bin/tar 
Checking for program 'sphinx-build'  : /usr/bin/sphinx-build 
Checking for std::is_default_constructible : yes 
Checking for std::is_nothrow_move_constructible : yes 
Checking for std::is_nothrow_move_assignable : yes 
Checking for friend typename-specifier   : yes 
Checking for override and final specifiers  : yes 
Checking for std::vector::insert with const_iterators : no 
Checking for program 'sh'        : /bin/sh 
Checking for library pthread       : yes 
Checking for library rt        : yes 
Checking for function getpass       : yes 
Checking for rtnetlink        : yes 
Checking for program 'pkg-config'      : /usr/bin/pkg-config 
Checking for 'sqlite3'        : yes 
Checking Crypto++ lib         : 561 
Checking if CryptoPP library works     : no 
Checking if CryptoPP library works     : no 
CryptoPP is present, but is not usable 
(complete log in /home/juhyun-park/다운로드/ndnSIM/ns-3/src/ndnSIM/ndn-cxx/build/config.log) 

请注意最后两句话。

CryptoPP存在,但不可用

(完整的日志在/ home/juhyun公园/다운로드/ndnSIM/ns-3/src/ndnSIM/ndn-cxx/build/config.log )

我还附加了日志文件的下载链接。

logfile

我应该怎么做才能解决这个问题?


我的开发环境是:

操作系统:Ubuntu的LTS 14.04(桌面版)
类型:64位
内核:4.4.0-36-通用

回答

0

有没有必要建立ndn-cxx独立版后,在你建立在ns-3的顶级导向器上./waf configure之后,ndn-cxx也会被安装,安装完成后,ndn-cxx头安装在/usr/local/include/ns3-dev/ns3/ndnSIM/ndn-cxx