Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
# 15
Quote:
I have set all the environment variable as directed after the ./install
Not really required on Linux.
The binary ns is hard coded to know, where its libraries are located.
And nam used to be statically compiled. No external tcl, tk etc. required.
A much better solution is :
cd ns-allinone-2.35/nam-1.15/ && sudo make install
cd ../ns-2.35/ && sudo make install
'make install' will copy ns, nam to /usr/local/bin/ : A system PATH.
EDIT : Just made a test with nam-1.15 : Isn't behaving very well.
Suggest : Use the linked nam-1.14. Same functionality as 1.15.
( The only changes, 1.14 to 1.15 : Can be compiled with tcl8.5 ).
I tried to run CRCN.jar which worked for some and did not for others. However, I don't find CRCN.jar handy.
Is this method correct? I am not sure because I cannot device a code to validate it.
Could you please provide me any simple sample code for Cognitive Radio MAC protocol if you have any. (or perhaps any web link where I could learn)
Sunil
Did you find that sample code anywhere. Plz provide either code or web link. I followed the steps for installation and all three make commands worked withour error, but i m not sure whether it is correctly installed.
For CRCN.jar, I use the command java -jar CRCN.jar it opens a GUI window but when I press confirm button or Startsim, the file test.tcl is not created in working directory.
i am working with ubuntu 12.10 ,and i installed ns 2.31 cause i wanna use the crcn patch ..
while installing the ns i had a problem with the environment variables then i solved it and nw after writing ns i get %..
but i have a problem with nam which i cant solve ...
error message :The program 'nam' is currently not installed. You can install it by typing:
sudo apt-get install nam...
anyone can help ?
when i wrote
wageeh@ubuntu:~$ cd ns-allinone-2.31/nam-1.13
wageeh@ubuntu:~/ns-allinone-2.31/nam-1.13$ sudo make install
i got an error
/usr/bin/install -c -m 755 nam /usr/local/bin
/usr/bin/install: cannot stat `nam': No such file or directory
make: *** [install] Error 1
ps:my name version is 1.13 for ns 2.31 ..
so can i download nam 1.14 from the given link in post 16?? and how can i install it ??
Hi,
I'm using Fedora 29 on virtualbox, I have to do some simulations on NS2. While installing NS 2 i'm having some error.
Please help me to solve this problem when i'm using the following this commands:
cd ns-allinone-2.35
./install
Error code:
In file included from /usr/include/c++/8/bits/basic_string.h:6626,
from /usr/include/c++/8/string:52,
from /usr/include/c++/8/bitset:47,
from ./mdart/mdart_function.h:62,
from ./mdart/mdart.h:52,
from ./mdart/mdart_adp.h:51,
from mdart/mdart_adp.cc:47:
/usr/include/c++/8/bits/functional_hash.h:58:12: note: candidates are: ‘template<class _Tp> struct std::hash’
struct hash;
^~~~
In file included from ./mdart/mdart.h:52,
from ./mdart/mdart_adp.h:51,
from mdart/mdart_adp.cc:47:
./mdart/mdart_function.h:230:17: note: ‘nsaddr_t hash(nsaddr_t)’
inline nsaddr_t hash(nsaddr_t id) {
^~~~
make: *** [Makefile:94: mdart/mdart_adp.o] Error 1
Ns make failed!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.