NS3 installation error

576 views
Skip to first unread message

zfree

unread,
Oct 18, 2011, 10:30:13 PM10/18/11
to ns-3-users
hello,everybody.i am a newbie on NS3,when i install it following with
the tutorial,there are still some problem with it!
the following is the error(it's running on fedora 15,and the version
is ns-3.12.1):
Checking for program gcc or cc : /usr/lib/ccache/gcc
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/lib/ccache/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 sys/types.h : yes
Checking for header sys/stat.h : yes
Checking for header dirent.h : yes
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
(guessed)
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 : Version 1_46 (/
usr/include)
library boost_signals : ok
library boost_filesystem : ok
Checking for OpenFlow location : not found
Checking for library sqlite3 : yes
Checking for program python : /usr/bin/python
Checking for Python version >= 2.3 : ok 2.7.1
Checking for library python2.7 : yes
Checking for program python2.7-config : /usr/bin/
python2.7-config
Checking for header Python.h : yes
Checking for -fvisibility=hidden support : yes
Checking for pybindgen location : ok ../
pybindgen-0.15.0.795 (guessed)
Checking for Python module pybindgen : ok
Checking for pybindgen version : ok 0.15.0.795
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 internal GCC cxxabi :
complete
Checking for Python module pygccxml : not
found
Checking for program mpic++ : not
found
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:
Static build : not enabled (option --enable-static
not selected)
Threading Primitives : enabled
Real Time Simulator : enabled
Emulated Net Device : enabled
Tap Bridge : enabled
GtkConfigStore : enabled
XmlIo : enabled
Network Simulation Cradle : not enabled (NSC library
liblinux2.6.26.so is missing: NSC has not been built?)
NS-3 Click Integration : not enabled (nsclick not enabled (see
option --with-nsclick))
NS-3 OpenFlow Integration : not enabled (OpenFlow not enabled (see
option --with-openflow))
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)
GNU Scientific Library (GSL) : enabled
anyone could help me?
thanks

zhong ren

unread,
Oct 19, 2011, 3:22:52 AM10/19/11
to ns-3-...@googlegroups.com
Hi,
What you have posed is just the information of installation. Would you mind me ask you where is the error??


--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.




--
Zhong REN
Graduate School of Natural Science and Technology, Kanazawa University, Kakuma-machi, Kanazawa, Ishikawa, 920-1192 JAPAN.
任重 (ニン ジュウ)
金沢大学大学院 自然科学研究科
電子情報工学専攻 博士後期課程 3年
システム制御研究室
E-mail: renz...@moccos.ec.t.kanazawa-u.ac.jp
           sand...@gmail.com


zfree

unread,
Oct 19, 2011, 5:16:37 AM10/19/11
to ns-3-users
OK,that's my faults!in the list it shows that Network Simulation
Cradle not enabled,i don't know why.i just install ns3 following each
step of the tutorial!
i have google some topic about that,but fail to solve the problem!(in
a word,i want NSC enabled) could you help me ?
thanks

On 10月19日, 下午3时22分, zhong ren <renzh...@moccos.ec.t.kanazawa-u.ac.jp>
wrote:

> E-mail: renzh...@moccos.ec.t.kanazawa-u.ac.jp
>            sandyr...@gmail.com
> <ikeg...@moccos.ec.t.kanazawa-u.ac.jp>

santosh gogi

unread,
Oct 19, 2011, 1:13:02 PM10/19/11
to ns-3-users
Hi All,

I am encoutering the same problem on fedora 15. I have the gcc version
4.6.1 installed. This is the error.

Did not find libfl.a and/or flex. Please install flex and its
development libraries.
# Build NSC: failure (ignoring NSC)

It seems some problem with flex. But I have installed flex and bison
required for nsc.


On Oct 18, 9:30 pm, zfree <zhan.furu...@gmail.com> wrote:
> hello,everybody.i am a newbie on NS3,when i install it following with
> the tutorial,there are still some problem with it!

> the following is the error(it's running onfedora15,and the version

> Checking forNSClocation                           : ok ../nsc-0.5.2


> (guessed)
> Checking for library dl                             : yes

> Checking forNSCsupported architecture i686        : ok

> liblinux2.6.26.so is missing:NSChas not been built?)

John Abraham

unread,
Oct 19, 2011, 2:43:01 PM10/19/11
to ns-3-users
did you install flex-static as well?

zfree

unread,
Oct 19, 2011, 10:33:03 PM10/19/11
to ns-3-users
hi,John,thank you very much!I resolve the problem with your advice!
could you give me some advice for other questions?
# error1: Checking for type uint128_t : not found
Checking for type __uint128_t : not found
# error2: Checking for click location : not found
Checking for OpenFlow location : not found
# error3: Checking for Python module pygccxml : not found
Checking for program mpic++ : not found
thank you!

John Abraham

unread,
Oct 20, 2011, 5:58:57 AM10/20/11
to ns-3-users
Typically, you don't need to worry about the other "not found" cases,
because you are interested in basic NSC.
-john

zfree

unread,
Oct 20, 2011, 6:49:59 AM10/20/11
to ns-3-users
thank you for your advice! my research is about MAC protocols based on
Underwater Acoustic Sensor Network,and i just start with NS3,so i
don't understand it very well !
I don't know whether the module click and openflow affect my study or
not,could you interpret click and openflow briefly ???
thank you again!!!
> > > > > thanks- 隐藏被引用文字 -
>
> - 显示引用的文字 -

John Abraham

unread,
Oct 20, 2011, 9:04:11 AM10/20/11
to ns-3-users

zfree

unread,
Oct 20, 2011, 9:04:21 PM10/20/11
to ns-3-users
OK,thank you!!!

On 10月20日, 下午9时04分, John Abraham <johnj...@gmail.com> wrote:
> i think its best if you go through the doc for openflow and clickhttp://www.nsnam.org/docs/models/html/openflow-switch.html
> ...
>
> 阅读更多 »- 隐藏被引用文字 -
>
> - 显示引用的文字 -

Grace

unread,
Jul 11, 2016, 12:46:52 PM7/11/16
to ns-3-users
I tried integrating openflow with my ns3 . I am getting folowing error:


NS-3 OpenFlow Integration     : not enabled (OpenFlow not enabled (see option --with-openflow))


Grace

unread,
Jul 11, 2016, 12:47:53 PM7/11/16
to ns-3-users
I tried integrating openflow with my ns3 . I am getting folowing error:

NS-3 OpenFlow Integration     : not enabled (OpenFlow not enabled (see option --with-openflow))


Reply all
Reply to author
Forward
0 new messages