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.
hi
i install ns2.29 on xp very well
i want to simulate handover between wifi and wimax so i want to install nist_mobility package ...
i downloaded this package but i didn't know how to install it..i know that " i must modify the make file but i dont know how ??"
and i notice that makefile.in size =0 in the package ..??
i hope u can help me to solve my problem please .....
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486
Rep:
# 3 .
Ref. post #2 :
The real Makefile.in is located in :
ns-allinone-2.29/ns-2.29/ucbt-0.9.8.2a/ns-2.29/Makefile.in
If the link `ns-allinone-2.29/ns-2.29/Makefile.in' isn't working,
.. you can replace it with a copy from ..
ns-allinone-2.29/ns-2.29/ucbt-0.9.8.2a/ns-2.29/Makefile.in
i found it, but why they do that in all the package i installed ??
1- must modify any thing in the files else "adding add the -DDEBUG_WIMAX switch in the DEFINE entry in make file " to make nist_mobility work on ns2.29 befor "make clean; ./configure ; make" ??..
2- if i install nist_mobility package i still need to install wimax package ??
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486
Rep:
# 5 .
Quote:
2. If I install nist_mobility package I still need to install wimax package ?
Depends which kind of wimax simulation, you want to do.
You can just install another ns-allinone-2.xx with the other patch,
to check out how it works.
No problem having many versions of ns-allinone-2.xx installed.
But do not add any *PATH text to .bashrc.
Quote:
1. must modify any thing in the files else "adding add the -DDEBUG_WIMAX switch
in the DEFINE entry in make file " to make nist_mobility work on ns2.29 before "make clean;
./configure ; make" ??
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486
Rep:
Information references :
1) nist-mob info http://www.linuxquestions.org/questi...-a-4175451154/
.. Example build :
a) $ tar xvf ns-allinone-2.29.3.tar.gz
b) $ cd ns-allinone-2.29/
c) $ tar xvf ns-2.29-nist-mob-022707.tgz
d) $ export CC=gcc34 CXX=g++34 && ./install
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486
Rep:
# 8 .
-DDEBUG_WIMAX
... is an extra option to be used only when you want to debug the executable 'ns'
with e.g. gdb.
Not something to use in the first run.
Better stick to the simplest possible for a starters. See post #7.
When / if you get any usable result, you can always setup another
ns-allinone-2.29/ for the debug things.
when i install after step "export CC=gcc34 CXX=g++34 "
i got error :
c compiler <gcc34 > works ......no
installation or configuration problem :C compiler cannot create executables.
tcl8.3.2 configuration failed ........
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486
Rep:
# 10 .
Please read post #7 as an example. (That's what is says : "Example build".)
So you will have to try with the available compilers for your OS.
** And when you get the recommended CentOS 6.5 - 32bits installed,
you can get the gcc-3.4.6 compilers with # yum install compat-gcc-34-c++
* I don't think you have much chance with Cygwin :
ns-2.29.3 can be compiled with g++ version 4.1.2 .
But the "ns-2.29-nist-mob-022707.tgz" code usually requires g++ 3.4.6 .
when i install after step "export CC=gcc34 CXX=g++34 "
i got error :
c compiler <gcc34 > works ......no
installation or configuration problem :C compiler cannot create executables.
tcl8.3.2 configuration failed ........
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486
Rep:
# 13 .
Please do not use text speak. Not appreciated at LQ.
Quote:
so you advice me to change the gcc version
No change : You can have as many versions of gcc/g++ as you want,
installed at the same time.
They'd usually have unique file name, hence the "export" command.
Which OS are you going to use ? (ns2 is for a 32bits (i686) OS.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.