首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ >

ubuntu下安装 ns-3报错!解决办法

2012-02-16 
ubuntu下安装 ns-3报错!!我安装了所有的相关软

ubuntu下安装 ns-3报错!!
========================================================
我安装了所有的相关软件,可还是报错。
安装的软件有:
sudo apt-get install gcc g++ python python-dev
sudo apt-get install mercurial
sudo apt-get install bzr
sudo apt-get install gdb valgrind
sudo apt-get install gsl-bin libgsl0-dev libgsl0ldbl
sudo apt-get install flex bison
sudo apt-get install g++-4.4 gcc-4.4 //可以不执行,因首条命令已安装
sudo apt-get install tcpdump
sudo apt-get install sqlite sqlite3 libsqlite3-dev
sudo apt-get install libxml2 libxml2-dev
sudo apt-get install libgtk2.0-0 libgtk2.0-dev
sudo apt-get install vtun lxc
sudo apt-get install uncrustify
sudo apt-get install doxygen graphviz imagemagick
sudo apt-get install texlive texlive-pdf texlive-latex-extra texlive-generic-extra texlive-generic-recommended
sudo apt-get install texinfo dia texlive texlive-pdf texlive-latex-extra texlive-extra-utils texlive-generic-recommended texi2html //可以不执行
sudo apt-get install python-pygraphviz python-kiwi python-pygoocanvas libgoocanvas-dev


./build.py之后:
========================================================
Checking for program cpp : /usr/bin/cpp 
Checking for program ar : /usr/bin/ar 
Checking for program ranlib : /usr/bin/ranlib 
Checking for gcc : ok  
Checking for program g++ or c++ : /usr/bin/g++ 
Checking for program ar : /usr/bin/ar 
Checking for program ranlib : /usr/bin/ranlib 
Checking for g++ : ok  
Checking for program pkg-config : /usr/bin/pkg-config 
Checking for -Wl,--soname=foo support : yes 
Checking for type uint128_t : not found 
Checking for type __uint128_t : not found 
Checking for high precision time implementation : cairo 128-bit integer 
Checking for header stdint.h : yes 
Checking for header inttypes.h : yes 
Checking for header sys/inttypes.h : not found 
Checking for header stdlib.h : yes 
Checking for header signal.h : yes 
Checking for header pthread.h : yes 
Checking for header stdint.h : yes 
Checking for header inttypes.h : yes 
Checking for header sys/inttypes.h : not found 
Checking for library rt : yes 
Checking for header netpacket/packet.h : yes 
Checking for header linux/if_tun.h : yes 
Checking for pkg-config flags for GTK_CONFIG_STORE : ok  
Checking for pkg-config flags for LIBXML2 : ok  
Checking for NSC location : ok ../nsc-0.5.2 (given) 
Checking for library dl : yes 
Checking for NSC supported architecture i686 : ok  
Checking for header sys/socket.h : yes 
Checking for header netinet/in.h : yes 
Checking for click location : not found 
boost headers : not found 
library boost_signals : not found 
library boost_filesystem : not found 
boost headers : not found 
library boost_signals : not found 
library boost_filesystem : not found 
Checking for library sqlite3 : yes 
Checking for program python : /usr/bin/python 
Checking for Python version >= 2.3 : ok 2.6.6 


Checking for library python2.6 : yes 
Checking for program python2.6-config : /usr/bin/python2.6-config 
Checking for header Python.h : yes 
Checking for -fvisibility=hidden support : yes 
Checking for pybindgen location : ok ../pybindgen-0.15.0.785 (given) 
Checking for Python module pybindgen : ok  
Checking for pybindgen version : ok 0.15.0.785 
Checking for types uint64_t and unsigned long equivalency : no 
Checking for types uint64_t and unsigned long long equivalency : yes 
Checking for the apidefs that can be used for Python bindings : gcc-ILP32 
Checking for type of bindings to build : modular 
Checking for Python module pygccxml : not found 
Checking for program mpic++ : /usr/bin/mpic++ 
Checking for program sudo : /usr/bin/sudo 
Checking for program valgrind : /usr/bin/valgrind 
Checking for pkg-config flags for GSL : ok  
Checking for -Wno-error=deprecated-declarations support : yes 
Checking for -Wno-error=deprecated-declarations support : yes 
Checking for -fstrict-aliasing support : yes 
Checking for -fstrict-aliasing support : yes 
Checking for -Wstrict-aliasing support : yes 
Checking for -Wstrict-aliasing support : yes 
Checking for program doxygen : /usr/bin/doxygen 
---- Summary of optional NS-3 features:
Threading Primitives : enabled
Real Time Simulator : enabled
Emulated Net Device : enabled
Tap Bridge : enabled
GtkConfigStore : enabled
XmlIo : enabled
Network Simulation Cradle : enabled
NS-3 Click Integration : not enabled (nsclick not enabled (see option --with-nsclick))
NS-3 OpenFlow Integration : not enabled (Required boost libraries not found)
SQlite stats data output : enabled
Python Bindings : enabled
Python API Scanning Support : not enabled (Missing 'pygccxml' Python module)
MPI Support : not enabled (option --enable-mpi not selected)
Use sudo to set suid bit : not enabled (option --enable-sudo not selected)
Build tests : not enabled (defaults to disabled)
Build examples : not enabled (defaults to disabled)
Static build : not enabled (option --enable-static not selected)
GNU Scientific Library (GSL) : enabled
'configure' finished successfully (8.737s)
 => python waf
Waf: Entering directory `/home/xukai/下载/ns-allinone-3.11/ns-3.11/build'
Waf: Leaving directory `/home/xukai/下载/ns-allinone-3.11/ns-3.11/build'
'build' finished successfully (1.186s)

Modules built:
aodv applications bridge  
click config-store core  
csma csma-layout dsdv  
emu energy flow-monitor  
internet lte mesh  
mobility mpi netanim  
network nix-vector-routing ns3tcp  
ns3wifi olsr openflow  
point-to-point point-to-point-layout propagation  


spectrum stats tap-bridge  
template test tools  
topology-read uan virtual-net-device  
visualizer wifi wimax  



[解决办法]
先用hello, world测试一下g++,你懂的:)
[解决办法]
Checking for click location : not found
boost headers : not found
library boost_signals : not found
library boost_filesystem : not found
boost headers : not found
library boost_signals : not found
library boost_filesystem : not found

热点排行