LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 02-09-2014, 11:20 PM   #1
hibaa
LQ Newbie
 
Registered: Feb 2014
Posts: 25

Rep: Reputation: Disabled
Unhappy nist_mobility package download for ns2.29


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 .....

Last edited by hibaa; 02-09-2014 at 11:22 PM.
 
Old 02-10-2014, 07:14 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Assume ns-2.29-nist-mob-022707.tgz :
Quote:
I notice that makefile.in size =0
Makefile.in is a symlink to bluetooth/ns-2.29/Makefile.in
... where bluetooth is a symlink to ucbt-0.9.8.2a/

"xp" : Do you mean a Cygwin install ?
Or is it a genuine Linux OS in a Virtual Machine ?

-

Last edited by knudfl; 02-10-2014 at 07:15 AM.
 
Old 02-10-2014, 12:59 PM   #3
hibaa
LQ Newbie
 
Registered: Feb 2014
Posts: 25

Original Poster
Rep: Reputation: Disabled
yes i install cygwin and ns2.29 on xp
.....i didn't understand what u said about makefile.in
did u mean the code similar to the code in this link : https://github.com/metrue/ns2-umts/b...29/Makefile.in


thanx for ur reply

Last edited by hibaa; 02-10-2014 at 01:07 PM.
 
Old 02-10-2014, 05:02 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 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

-
 
1 members found this post helpful.
Old 02-10-2014, 10:16 PM   #5
hibaa
LQ Newbie
 
Registered: Feb 2014
Posts: 25

Original Poster
Rep: Reputation: Disabled
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 ??

thanx very much knudfl .

Last edited by hibaa; 02-10-2014 at 10:19 PM.
 
Old 02-11-2014, 06:02 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 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" ??
Where did you get that information ?

-
 
Old 02-11-2014, 06:22 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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

2) WIMAX info http://www.linuxquestions.org/questions/tags/wimax/


-
 
Old 02-11-2014, 08:28 AM   #8
hibaa
LQ Newbie
 
Registered: Feb 2014
Posts: 25

Original Poster
Rep: Reputation: Disabled
i get information : "adding add the -DDEBUG_WIMAX switch
in the DEFINE entry in make file " from this file
Attached Files
File Type: txt INSTALL_mobility.TXT (1.9 KB, 75 views)
 
Old 02-11-2014, 09:44 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 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.

-
 
Old 02-11-2014, 03:21 PM   #10
hibaa
LQ Newbie
 
Registered: Feb 2014
Posts: 25

Original Poster
Rep: Reputation: Disabled
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 ........

???
 
Old 02-12-2014, 06:55 AM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 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 .

-
 
Old 02-12-2014, 02:03 PM   #12
kirejak
LQ Newbie
 
Registered: Feb 2014
Posts: 15

Rep: Reputation: Disabled
I can help you with this

Quote:
Originally Posted by hibaa View Post
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 ........

???
Just write me on kire_jakimoski@yahoo.com. I will send you the whole thing done in once.
 
Old 02-13-2014, 02:48 PM   #13
hibaa
LQ Newbie
 
Registered: Feb 2014
Posts: 25

Original Poster
Rep: Reputation: Disabled
so u advice me to change the gcc version to work with "ns-2.29-nist-mob-022707.tgz" ؟؟

Last edited by hibaa; 02-13-2014 at 02:57 PM.
 
Old 02-13-2014, 03:27 PM   #14
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 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.)

-
 
1 members found this post helpful.
Old 02-14-2014, 03:50 AM   #15
hibaa
LQ Newbie
 
Registered: Feb 2014
Posts: 25

Original Poster
Rep: Reputation: Disabled
sorry for using "text speak " ...
i use 32bits (i686) OS
 
  


Reply

Tags
nist-mob, ns2, wimax-nist


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Needed ns2.1b6 all-in-one package on ubuntu stud17 Linux - Newbie 3 12-09-2011 10:12 PM
Package invoking in NS2.34 version Gayathriharini Linux - Software 17 04-08-2011 12:41 AM
which package for download? notnor Fedora 6 06-02-2008 12:34 PM
download package chengjin Debian 6 04-11-2008 09:35 AM
Which package shall I download satimis Linux - Software 1 07-21-2007 09:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration