Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
03-08-2011, 09:18 PM
|
#46
|
LQ Newbie
Registered: Mar 2011
Posts: 13
Rep: 
|
Quote:
Originally Posted by knudfl
|
I really appreciate your help..
Now I am done.. thanks for everything.
|
|
|
04-08-2011, 10:18 PM
|
#47
|
LQ Newbie
Registered: Mar 2011
Posts: 13
Rep: 
|
Quote:
Originally Posted by Yugesh Gowda
I really appreciate your help..
Now I am done.. thanks for everything.
|
I have installed ns-allinone-2.34 in linux mint..
NS is working properly.. but nam is not working..
I am getting an error when type " nam <filename>.nam "..
Code:
The program 'nam' is currently not installed. You can install it by typing:
sudo apt-get install nam
|
|
|
04-09-2011, 07:07 AM
|
#48
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
# 47 : cd ns-allinone-2.34/tk8.4.18/ &&
wget ftp://ftp.swin.edu.au/gentoo-portage...astevent.patch
&& patch -p0 < tk-8.4-lastevent.patch &&
cd ../nam-1.14/ && make clean && make && sudo make install
( 'sudo make install' will copy 'nam' to /usr/local/bin/ ).
..
Last edited by knudfl; 04-09-2011 at 09:11 AM.
|
|
|
04-09-2011, 07:49 AM
|
#49
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
Moved: This thread is more suitable in Linux Software and has been moved accordingly to help your question get the exposure it deserves.
|
|
|
04-09-2011, 11:38 AM
|
#50
|
LQ Newbie
Registered: Mar 2011
Posts: 13
Rep: 
|
Quote:
Originally Posted by knudfl
|
Thanks Problem Solved..
|
|
|
11-05-2013, 05:34 AM
|
#51
|
Member
Registered: Dec 2012
Posts: 31
Rep: 
|
hi , after AODV.cc modification in ns2.35 i tape
"make" with no error
but when i do" make install "an error occur :
for d in /usr/local/man/man1; do \
if [ ! -d $d ]; then \
mkdir -p $d ;\
fi;\
done
/usr/bin/install -c -m 755 ns /usr/local/bin
/usr/bin/install -c -m 644 ns.1 /usr/local/man/man1
when i type ./install this error appear:
-bash: ./install: no file or directory with this type
i have otcl-1.14 , can i patch it according to post #4
thx for any help
Last edited by info_mimi; 11-05-2013 at 09:48 AM.
|
|
|
11-05-2013, 08:58 AM
|
#52
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
# 51 .
Quote:
.. when i do" make install "an error occur :
|
No errors are shown. Just the normal 'make install' result.
Quote:
when i tape ./install this error appear:
|
I guess you mean : " When I type ./install ".
No file 'install' : You are in the wrong location.
The file install is in 'ns-allinone-2.35/'.
-
|
|
1 members found this post helpful.
|
11-06-2013, 03:13 AM
|
#53
|
Member
Registered: Dec 2012
Posts: 31
Rep: 
|
hi , thx for your reply , after the modification of the AODV.cc file, normally i need a new binary ns to use it for my tcl script.
so i rename the old binary ns placed in usr/local/bin to get the new one after the installation of ns2 .
after the installation i type "ns script.tcl"
my problem i didnt get a result with my modification i get the old result and the new binary ns didn't exist in usr/local/bin
i redo the installation maybe 4 times but same problem.
plz tell me if you can what wrong with that ? how can i get the new binary ns in every modification of my AODV.cc
thx so much.
|
|
|
11-06-2013, 03:35 AM
|
#54
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
# 53 .
Quote:
? how can I get the new binary ns in every modification of my AODV.cc
|
Howto recompile 'ns' : $ cd ns-2.35/ ; $ make clean && make
... And : Every new 'ns' should be copied to a new name, like
ns-aodv1, ns-aodv2, ns-aodv3, ns-aodv4, etc.
Simulations can usually be run with any ns-name :
$ ns-aodv2 file.tcl
-
|
|
1 members found this post helpful.
|
11-06-2013, 03:54 AM
|
#55
|
Member
Registered: Dec 2012
Posts: 31
Rep: 
|
thx for your reply , i just wonder if in every installation of a modified ns2, should i set the environment variables in file bashrc ?
like in this tutorial? http://princeabhinav.blogspot.com/
|
|
|
11-06-2013, 04:15 AM
|
#56
|
Member
Registered: Dec 2012
Posts: 31
Rep: 
|
#54
i do "make clean" and "make" before "./install"
but what i dont understand where is the binary ns? i check the usr/local/bin folder i dont find an executable ns2 with the name ns (a new one, cause the others i rename them all)
and when i execute the script tcl with "ns script.tcl" the old results appear without consideration of my modifications.
that mean the ns binary called ns is the old one , where is the new one? i'm stack with this issue plz help me
|
|
|
11-06-2013, 05:19 AM
|
#57
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
# 56 .
1) cd ns-allinone-2.35/ns-2.35/
2) sudo cp ns-<new-name> /usr/local/bin/
Quote:
when I execute the script tcl with "ns script.tcl"
|
Wrong. You will have to do $ ns-<new-name> script.tcl
-
|
|
1 members found this post helpful.
|
02-10-2014, 06:02 PM
|
#58
|
LQ Newbie
Registered: Feb 2014
Location: Tunisia
Distribution: Ubuntu
Posts: 29
Rep: 
|
Solution of the problem hidden symbol __stack_chk_fail_local for ns2.33 on ubuntu 13.10 32 bits
I am on ubuntu 13.10 and i am installing ns2.33.
I managed to solve the problem of : /usr/bin/ld: ns: hidden symbol `__stack_chk_fail_local' in /usr/lib/libc_nonshared.a(stack_chk_fail_local.oS) is referenced by DSO
The solution is in those links:
http://ubuntuforums.org/showthread.php?t=1444664
http://ramakrishnamundugar.blogspot....untu-1204.html
I am compiling with gcc 4.8 so another error not mentioned in the second link occurred in the file ns2.33/linkstate/ls.h and i fixed it by the solution proposed by GCC:
the fix is : replace line 137 by : void eraseAll() { this->erase(baseMap::begin(), baseMap::end()); }
replace line 114 by : this->erase(baseList::begin(), baseList::end());
I hope that it will help people to save time.
Last edited by abenmariem; 02-10-2014 at 06:06 PM.
|
|
|
All times are GMT -5. The time now is 04:16 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|