LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Tags used in this thread
Popular LQ Tags

Reply
 
Thread Tools
Old 10-30-2009, 05:44 PM   #16
knudfl
Senior Member
 
Registered: Jan 2008
Location: Copenhagen, Denmark
Distribution: pclos2009.2, slack13, Debian Lenny (+30 others, for test only)
Posts: 2,935
Thanked: 277

[Log in to get rid of this advertisement]
Quote:
... Nothing to be done for 'all'
Please have a look into the folders, and find that
these things were compiled seven years ago :

When the executable's already are created, there
really is nothing to do.

Example : file epa-tr-stat
" epa-tr-stat: ELF 32-bit LSB executable, Intel 80386,
version 1 (FreeBSD), for FreeBSD 4.4, dynamically linked
(uses shared libs), FreeBSD-style, not stripped "

If they work, then OK. ( Else use 'make clean' inside
each directory, and run 'make' again. As said by John VV.)
.....
linuxpclinuxos knudfl is offline     Reply With Quote
Old 10-30-2009, 06:21 PM   #17
John VV
Senior Member
 
Registered: Aug 2005
Location: Ann Arbor Mi.
Distribution: Arch Linux ,CentOS 5.4
Posts: 2,152
Thanked: 124
also WHY are you building it on " '/root/.gnome-desktop/" the root desktop ??

you should build it in /home/"your-user name"/ns-2.1b8
or /usr/mybuilds/src/ns-2.1b8
linux John VV is offline     Reply With Quote
Old 10-31-2009, 03:52 PM   #18
knudfl
Senior Member
 
Registered: Jan 2008
Location: Copenhagen, Denmark
Distribution: pclos2009.2, slack13, Debian Lenny (+30 others, for test only)
Posts: 2,935
Thanked: 277
As John VV said :
"WHY are you building it on " '/root/.gnome-desktop/" the root desktop ?"

/root/ is not supposed to be used for anything .. never.
The risk is that you trash the system when doing builds as root.
And then there are all the security risks,
And by the way, ns2 may not be usable in that location.

The standard build location is in /home/ , e.g.
/home/"user"/ns2/ns-2.1b8-mcast/ , where you of course will do all
build as ordinary user. The root function is for admin tasks only.
.....
.....
John VV : For your information, ns-2.34 is the latest version.
( Ref. post # 7 ). http://www.isi.edu/nsnam/ns/
.....

Last edited by knudfl; 10-31-2009 at 07:43 PM..
linuxpclinuxos knudfl is offline     Reply With Quote
Old 10-31-2009, 05:03 PM   #19
John VV
Senior Member
 
Registered: Aug 2005
Location: Ann Arbor Mi.
Distribution: Arch Linux ,CentOS 5.4
Posts: 2,152
Thanked: 124
ns-2.34 ok i do not use it so 2.29 was what i saw on sourceforge

on a diff note -- I often wonder is some of the rh 7 ,9 and fedora 2 users are oldtimers here having some " fun " with the rest of us .

some of them ARE students whos Prof. insits on using a dead OS ,but not all of them

Last edited by John VV; 10-31-2009 at 05:06 PM..
linux John VV is offline     Reply With Quote
Old 11-01-2009, 01:22 AM   #20
jeni_m110
LQ Newbie
 
Registered: Oct 2009
Posts: 14
Thanked: 0

Original Poster
Quote:
Originally Posted by John VV View Post
ns-2.34 ok i do not use it so 2.29 was what i saw on sourceforge

on a diff note -- I often wonder is some of the rh 7 ,9 and fedora 2 users are oldtimers here having some " fun " with the rest of us .

some of them ARE students whos Prof. insits on using a dead OS ,but not all of them
yes,
i'm a student and i need ns-2.1b8 for my dessertation, and because of the gcc version(gcc 2.96) i found this version after many challenges!
i examin this with suse 10.2, slackware 9, slackware 10,...
and yet i cant install this properly!
windows_vista jeni_m110 is offline     Reply With Quote
Old 11-01-2009, 01:35 AM   #21
jeni_m110
LQ Newbie
 
Registered: Oct 2009
Posts: 14
Thanked: 0

Original Poster
Quote:
Originally Posted by knudfl View Post
As John VV said :
"WHY are you building it on " '/root/.gnome-desktop/" the root desktop ?"

/root/ is not supposed to be used for anything .. never.
The risk is that you trash the system when doing builds as root.
And then there are all the security risks,
And by the way, ns2 may not be usable in that location.

The standard build location is in /home/ , e.g.
/home/"user"/ns2/ns-2.1b8-mcast/ , where you of course will do all
build as ordinary user. The root function is for admin tasks only.
.....
.....
John VV : For your information, ns-2.34 is the latest version.
( Ref. post # 7 ). http://www.isi.edu/nsnam/ns/
.....
Dear John,
Thanks alot for your useful information,
yes the Ns version that i use is very old, and i choose it because i want to work with ADMR protocol, i found it only in ns-2.1b8-mcast, maybe it's in other version of ns and i don't know!
may be you or other friends can find a better version for me?
windows_vista jeni_m110 is offline     Reply With Quote
Old 11-01-2009, 10:53 AM   #22
knudfl
Senior Member
 
Registered: Jan 2008
Location: Copenhagen, Denmark
Distribution: pclos2009.2, slack13, Debian Lenny (+30 others, for test only)
Posts: 2,935
Thanked: 277
Ref. post # 15 :
Please have a look into the folder ' ns-2.1b8/ ' for ns(1)
.. or use the ls command : ls ns-2.1b8/ns*

.. Is the file 'ns' present ? ?
If yes, please do this command : cp ns ns.1
.. and you have a chance, that 'make install' will work.

No matter, it may be a surplus file, it can be deleted later,
if you wish.
.....
.....

และ ... .. some more info about the topic ... may be ..

Google .. ns2 ADMR protocol ..
http://www.google.com/search?hl=en&s...h&aq=2&oq=ns2+

http://www.google.com/url?sa=t&sourc...zI0nt_HwBRPlxg

http://portal.acm.org/citation.cfm?id=1404083

http://www.computer.org/portal/web/c...ASCOTS.2007.69

http://www.google.com/url?sa=t&sourc...p1WBC8w-1CkKcQ

http://www.google.com/url?sa=t&sourc...us0ly9vTFjh1eQ
QUOTE : " ODMRP on ns2.29. Hi, I am running ODMRP protocol on ns2.29,
The implementation works fine for ADMR ... "

http://www.google.com/url?sa=t&sourc...eAoWR6oIpFP9Hw
.....
.....
http://mailman.isi.edu/pipermail/ns-...2005-April.txt

http://mailman.isi.edu/pipermail/ns-users/2007-June.txt
.....

Last edited by knudfl; 11-01-2009 at 05:20 PM..
linuxpclinuxos knudfl is offline     Reply With Quote
Old 11-01-2009, 04:20 PM   #23
knudfl
Senior Member
 
Registered: Jan 2008
Location: Copenhagen, Denmark
Distribution: pclos2009.2, slack13, Debian Lenny (+30 others, for test only)
Posts: 2,935
Thanked: 277
และ ... as you can see from the above, the "extra file" is ns.1 .
And it is not installed at all, so it's only half a bug. .. ..

I managed to get ns-2.1b8-mcast installed in Debian 4 Etch ,
which is the newest Linux with a workable gcc-2.95 / g++-2.95 .
The trick was to edit the Makefile.in , in tclcl-1.0b12 and ns-2.1b8-mcast :
( Ditto for nam-1.9 )
Code:
From :
CC	= @CC@
CPP	= @CXX@

to :
CC	= gcc-2.95
CPP	= g++-2.95
I could not build tcl8.3.x ( autotools misfit ? )
so the system tcl8.3.5 / tk-8.3.5 was used.
'otcl' version : 1.0a8. And otcl was build with gcc-4.1 .
Attached Files
File Type: txt validate-ns-2.1b8-mcast.txt (1.1 KB, 1 views)

Last edited by knudfl; 11-02-2009 at 04:38 AM..
linuxdebian knudfl is offline  
Tag This Post
Reply With Quote
Old 11-02-2009, 08:14 AM   #24
knudfl
Senior Member
 
Registered: Jan 2008
Location: Copenhagen, Denmark
Distribution: pclos2009.2, slack13, Debian Lenny (+30 others, for test only)
Posts: 2,935
Thanked: 277
What is " ns-allinone-2.1b8.patch " ? ?

Please provide a link to the patch .. if you have it.

..... .....

.....

Last edited by knudfl; 11-02-2009 at 08:17 AM..
linuxpclinuxos knudfl is offline  
Tag This Post
Reply With Quote
Old 11-15-2009, 04:24 AM   #25
jeni_m110
LQ Newbie
 
Registered: Oct 2009
Posts: 14
Thanked: 0

Original Poster
Quote:
Originally Posted by knudfl View Post
As John VV said :
"WHY are you building it on " '/root/.gnome-desktop/" the root desktop ?"

/root/ is not supposed to be used for anything .. never.
The risk is that you trash the system when doing builds as root.
And then there are all the security risks,
And by the way, ns2 may not be usable in that location.

The standard build location is in /home/ , e.g.
/home/"user"/ns2/ns-2.1b8-mcast/ , where you of course will do all
build as ordinary user. The root function is for admin tasks only.
.....
.....
John VV : For your information, ns-2.34 is the latest version.
( Ref. post # 7 ). http://www.isi.edu/nsnam/ns/
.....
thanks alot guys,
i used all of your information, and finally could install that version on old RedHat7.2
i can start my work no
windows_vista jeni_m110 is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
installing tk8.3.2 on RedHat7.2 jeni_m110 Linux - Software 2 10-29-2009 04:27 PM
trouble installing redhat7.3 on windows xp pc cyberiapost Linux - Newbie 1 12-09-2005 12:42 PM
doubt on installing redhat7.1 coolcruiser Linux - Software 1 12-17-2001 07:20 PM
Installing both Redhat7.1 & Mandrake8.1 tiwaris Linux - Software 0 10-06-2001 01:44 PM
Installing RedHat7 CropA Linux - Software 7 07-03-2001 11:42 AM


All times are GMT -5. The time now is 12:11 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration