GPSR in ns2
I am new to ns2 and want to run GPSR in ns2, and I don't know any thing about this.
some links that addressed in posts like "http://www.cn.uni-duesseldorf.de/alu.../hls-ns2-patch", is unavailable. may you help me to do my project? I have download this file https://drive.google.com/file/d/0B7S...it?usp=sharing " , but I can not use it. with which version of ns2,can I do may project? 2.33 or 2.34? what is this patch "http://www.cn.uni-duesseldorf.de/alu.../hls-ns2-patch" and for what we should use it?? Please help me ... May I ask you to write a complete post from begin to end with all links is need, that somebody like me that is new to ns2 can use it? |
GPSR : There are two versions : GPSR-hls and GPSR-KeLiu.
GPSR-hls : ns-2.33 . GPSR-KeLiu : ns-2.34 . And you can have as many versions of ns-allinone-2.xx as you want, installed at the same time. But do not add any *PATH text to .bashrc. Never required. GPSR-hls : Build example, post #5 here http://www.linuxquestions.org/questi...-4175498876/#5 GPSR-KeLiu : #3 http://www.linuxquestions.org/questi...-4175448663/#3 * Both are examples for a contemporary Ubuntu, 32bits (i686). * Other OS : The compiler may be different. Ubuntu : The version decides which gcc to use. * So you will have to specify your OS : a) $ uname -m b) OS name and version. GPSR information http://www.linuxquestions.org/questions/tags/gpsr/ - |
Quote:
a) i686 b) My OS is: RedHat.Enterprise.5 what compiler I should use?and how to use that? what is the difference between file in post 80 and 89?which one should I use it? |
# 3 .
Quote:
Nam : nam-1.14-fc6.el5.i386.tar.gz $ cd nam-1.14-fc6.el5.i386./ # cp nam /usr/local/bin/ The build command is : $ ./install * No "export <?> && ./install" , as the default RHEL5 gcc/g++ already is version 4.1.2. Post #80 here http://www.linuxquestions.org/questi...526/page6.html → → Not relevant, please ignore. Post #89 : `gpsr-keliu-ns-2.34-ubuntu10_i386.deb´ is a binary package, like any other package you install with yum. Provides /usr/local/bin/ns-gpsr-k. But : A <package>.deb is for Debian/Ubuntu only. RHEL packages are <name>.rpm . - |
1 Attachment(s)
Quote:
http://www.linuxquestions.org/questi...1&d=1398671769 :mad: what should I do?? - if it's easier for me to do with Ubuntu , I can change my OS , Is it necessary?? |
# 5 .
If you have no paid for account at Redhat, you cannot use the commercial RHEL 5 : No packages. But : It's easy to migrate to the free version, `Redhat CentOS 5´: http://wiki.centos.org/HowTos/MigrationGuide → → Go to section "Migration an existing system from RHEL5 to CentOS 5". - |
1 Attachment(s)
Quote:
when I use ns-gpsr-k ..,I saw this error: http://www.linuxquestions.org/questi...1&d=1398681873 what should do I? IS "export CC=gcc41 CXX=g++41 && ./install" command appropriate for this version of Ubuntu? if not what should do I? |
Ubuntu 13.10 - i686, GPSR-KeLiu.
# 7 .
Prerequisites : $ sudo apt-get install \ g++ g++-4.4 autoconf automake libtool make patch libxmu-dev xgraph $ cd ns-allinone-2.34/ $ tar xvf gpsr-KeLiu-patched-ns234.tar.gz $ export CC=gcc-4.4 CXX=g++-4.4 $ ./install $ cd ns-2.34/ $ cp ns ns-gpsr-keliu $ sudo cp ns-gpsr-keliu /usr/local/bin/ $ cd gpsr/ $ ns-gpsr-keliu wireless-gpsr.tcl - |
2 Attachment(s)
Quote:
http://www.linuxquestions.org/questi...1&d=1398786538 Is it correct? And the next problem is that when I run "cp ns ns-gpsr-keliu" , I met this result: http://www.linuxquestions.org/questi...1&d=1398787275 I think that there is no "ns" and "ns-gpsr-keliu" file ... what should do I? |
# 9 .
Please do not quote entire posts. A one word reference will do. (Like "#8".) Your errors : May be I was lucky at using gcc-4.4 / g++-4.4 ? You can just use one of the other extra compilers : gcc41 / g++41, for Ubuntu 12.10 ... 14.04 : Post #47 here http://www.linuxquestions.org/questi...532/page4.html .. Then the build commands are : $ export CC=gcc41 CXX=g++41 $ ./install - |
#10
The result of installing NS after using this files: a) gcc41-compat*1210 https://docs.google.com/file/d/0B7S2...FQY2VJbjA/edit b) g++41-compat https://docs.google.com/file/d/0B7S2...jN2M2MGU4/edit and about this problem that there is no "ns" and "ns-gpsr-keliu" file for this command "cp ns ns-gpsr-keliu ", what should do I? |
# 11 .
Quote:
Please read the text when "./install" runs, and tell where it stops with an error. - |
1 Attachment(s)
|
# 13 : Ubuntu 13.10 - i686.
Your errors → → No compiler "gcc41" : Install the packages, and check that gcc41/g++41 are present → $ sudo dpkg -i gcc41-compat-4.1.2-ubuntu1210_i386.deb g++41-compat-4.1.2_i386.deb → or use the `Package Installer´ to install : Click the package. ... Then reboot, and the new compilers can be checked : 1) $ which gcc41 2) $ which g++41 - |
1 Attachment(s)
#14
I installed the gcc41 and g++41 and then start to install with this command "./install" , and this is the result of running it: http://www.linuxquestions.org/questi...1&d=1399032608 I think that this error is about "otcl" , but there is no "ns" and "ns-gpsr-keliu" file for this command "cp ns ns-gpsr-keliu ". What should do I? |
All times are GMT -5. The time now is 03:49 PM. |