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.
i have already installed ns2.34 on ubuntu 10.04 and given the PATH in Bashrc
but i want to install gpsr-KeLiu-patched-ns234.tar in same ubantu for GPSR. can i do this on same ubuntu.
sir due to your help i pacth some of protocols ,A lot of THANKS sir GPSR implimentation in ns-allinone-2.33.
Terminal output
.............
.............
for i in indep-utils/cmu-scen-gen/setdest indep-utils/webtrace-conv/dec indep-utils/webtrace-conv/epa indep-utils/webtrace-conv/nlanr indep-utils/webtrace-conv/ucb; do ( cd $i; make all; ) done
make[1]: Entering directory `/home/user/ns2/ns-allinone-2.33/ns-2.33/indep-utils/cmu-scen-gen/setdest'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/user/ns2/ns-allinone-2.33/ns-2.33/indep-utils/cmu-scen-gen/setdest'
make[1]: Entering directory `/home/user/ns2/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/dec'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/user/ns2/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/dec'
make[1]: Entering directory `/home/user/ns2/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/epa'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/user/ns2/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/epa'
make[1]: Entering directory `/home/user/ns2/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/nlanr'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/user/ns2/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/nlanr'
make[1]: Entering directory `/home/user/ns2/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/ucb'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/user/ns2/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/ucb'
root@XubunTOS:/home/user/ns2/ns-allinone-2.33/ns-2.33# ns
The program 'ns' is currently not installed. You can install it by typing:
apt-get install ns2
root@XubunTOS:/home/user/ns2/ns-allinone-2.33/ns-2.33# cd hls
root@XubunTOS:/home/user/ns2/ns-allinone-2.33/ns-2.33/hls# ls
cellbuilder.h hls_advanced.o hls_basic.h hls.cc hls.o quadratic.cc quadratic.o utils
hls_advanced.cc hls_basic.cc hls_basic.o hls.h position.h quadratic.h README_HLS
root@XubunTOS:/home/user/ns2/ns-allinone-2.33/ns-2.33/hls# cd utils/
root@XubunTOS:/home/user/ns2/ns-allinone-2.33/ns-2.33/hls/utils# ns hls.tcl
The program 'ns' is currently not installed. You can install it by typing:
apt-get install ns2
root@XubunTOS:/home/user/ns2/ns-allinone-2.33/ns-2.33/hls/utils#
sir after installaion of ns-allinone-2.33,path variabls change then make clean && perform the above commands.
please help for this error
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,484
Rep:
# 5 .
I guess you will have to read the above post #4.
And don't use root for any ns2 commands. Except 'make install'.
How to build ns-2.33 + GPSR-hls : Post #5 here ... http://www.linuxquestions.org/questi...-4175498876/#5
$ cd ns-allinone-2.33/
$ tar xvf gpsr-hls-ns233-patching.tar.bz2
$ export CC=gcc41 CXX=g++41 && ./install
$ cd ns-2.33/
$ sudo make install
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,484
Rep:
# 7 .
Perl or awk can be used to sort / extract results from hls_test.tr :
Four perl scripts are included →
hls/utils/{evaluate.pl, evFromdirectory.pl, gls_evaluate.pl, runfromdirectory.pl}
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,484
Rep:
# 9 : No errors shown : What do you mean by "wrong result" ?
"parameters*.awk" : Must be edited if you want to use it.
Alternatively try out the other files from "awk_scripts_03.2014.tar.bz2".
# 10 : The attached file is 6.9 kB.
A typical hls_test.tr is 7.3 MB, 99,980 lines.
but when executing ns hls.tcl i am getting error
--------------------------------------
invalid command name "Agent/GPSR"
while executing
"Agent/GPSR set bdesync_ 0.5 "
(file "run.tcl" line 41)
----------------------------------------
i think , i used correct ns version 2.33 and correct patch for it
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.