LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 10-29-2009, 08:57 AM   #1
jeni_m110
LQ Newbie
 
Registered: Oct 2009
Posts: 17

Rep: Reputation: 0
installing on RedHat7.2


hi all,
i tried to install ns on redhat 7.2, it's ok with tcl8.3.2 but when i try to install tk8.3.2, it gives me along list of warnings and errors, end with:
"/root/.gnome-desktop/ns/tk8.3.2/unix/../generic/tk3d.c:1398: 'objptr' undeclared (first use in this function)
/root/.gnome-desktop/ns/tk8.3.2/unix/../generic/tk3d.c:1407:warning: control reachesend of non-void function
/root/.gnome-desktop/ns/tk8.3.2/unix/../generic/tk3d.c:At top level:
/root/.gnome-desktop/ns/tk8.3.2/unix/../generic/tk3d.c:1131: storage size of 'shift table' isn't known
/root/.gnome-desktop/ns/tk8.3.2/unix/../generic/tk3d.c:30: warning: 'BorderInit' used but never defined
/root/.gnome-desktop/ns/tk8.3.2/unix/../generic/tk3d.c:34: warning:'Intersect' declared 'static' but never defined
/root/.gnome-desktop/ns/tk8.3.2/unix/../generic/tk3d.c:37: warning: 'shiftline' declared 'static' but never defined
make ***[tk3d.0] Error 1
 
Old 10-29-2009, 09:51 AM   #2
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,113
Blog Entries: 1

Rep: Reputation: 124Reputation: 124
Why are you still on RH 7.2? Just curious.

My guess is that Tk has some more demanding dependancy. Since Errors originated in tk3D.c, it must have something to do with 3D graphics. Maybe to disable 3D support in Tk config?
 
Old 10-29-2009, 10:02 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: back to Arch
Posts: 16,641

Rep: Reputation: 423Reputation: 423Reputation: 423Reputation: 423Reputation: 423
RedHat 7.2 is hopelessly out of date. I would install a more modern distro before trying anything else.

http://fixunix.com/setup/541166-pcmc...hat-7-2-a.html They state that official support ended in 2003
 
Old 10-29-2009, 11:25 AM   #4
jeni_m110
LQ Newbie
 
Registered: Oct 2009
Posts: 17

Original Poster
Rep: Reputation: 0
tk8.3.2 in redhat7.2

Quote:
Originally Posted by DrLove73 View Post
Why are you still on RH 7.2? Just curious.

My guess is that Tk has some more demanding dependancy. Since Errors originated in tk3D.c, it must have something to do with 3D graphics. Maybe to disable 3D support in Tk config?
i should use this version because i need to install ns-2.1b8-mcast.
i'm a new user, what do you mean? do you have any suggestion?
 
Old 10-29-2009, 11:47 AM   #5
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 10,003

Rep: Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189
Quote:
Originally Posted by jeni_m110 View Post
i should use this version because i need to install ns-2.1b8-mcast.
i'm a new user, what do you mean? do you have any suggestion?
Well, when you're installing Tk, disable the 3D support. Look at the installation notes on it, or the Readme that came with it.

And as pixellany said...RH 7.2 is hopelessly out of date. If you're doing any sort of development, do a fresh install of something current. The latest Fedora is 11 (12 is in beta), CentOS 5.4, and openSUSE 11.2 is rapidly approaching. Anything you write around a RH7.2 platform is probably going to have problems anywhere else.
 
Old 10-29-2009, 11:57 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: back to Arch
Posts: 16,641

Rep: Reputation: 423Reputation: 423Reputation: 423Reputation: 423Reputation: 423
A quick Google does not tell me what "ns" is. I'm not promising to be much help, but someone might be more helpful by knowing this.
 
Old 10-29-2009, 02:57 PM   #7
John VV
Guru
 
Registered: Aug 2005
Location: Ann Arbor Mi.
Distribution: OpenSUSE 11.4 & Scientfic Linux 6.1
Posts: 7,272

Rep: Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706
ns-2.1b8-mcast
on google/linux
gives me an artical FROM 2002
"Network Simulator 2: a Simulation Tool for Linux"
http://www.linuxjournal.com/article/5929\

install the CURRENT " ns-allinone-2.29.2.tar.gz "
ON A CURRENT & SUPPORTED Opperating system !!!
 
Old 10-29-2009, 03:30 PM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,285

Rep: Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350
Quote:
gives me along list of warnings and errors, end with
Warnings are not errors, but information, often about
something declared, but not used.

The begin of the errors probably say :
X11/Xlib.h : no such file ... ( or other "xlib" file.h ).
.. The missing files are in the package 'XFree86-devel',
which you will have to install.
.....

Last edited by knudfl; 10-29-2009 at 04:36 PM.
 
Old 10-29-2009, 08:44 PM   #9
jeni_m110
LQ Newbie
 
Registered: Oct 2009
Posts: 17

Original Poster
Rep: Reputation: 0
XFree86-devel

Quote:
Originally Posted by knudfl View Post
Warnings are not errors, but information, often about
something declared, but not used.

The begin of the errors probably say :
X11/Xlib.h : no such file ... ( or other "xlib" file.h ).
.. The missing files are in the package 'XFree86-devel',
which you will have to install.
.....
hi, thanks for your guide, but which of them is suitable for RedHat7.2? how can i understand that?
 
Old 10-29-2009, 09:01 PM   #10
John VV
Guru
 
Registered: Aug 2005
Location: Ann Arbor Mi.
Distribution: OpenSUSE 11.4 & Scientfic Linux 6.1
Posts: 7,272

Rep: Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706
ns-2.1b8-mcast is very old and unsupported
WHY do you need to use the old and unsupported RH 7.2


any and every thing for this ancent system will need to be built from the pre-2002 code
there is NOTHING new that will install on it .

try tk 8.2 released on Dec 16, 1999 rh7 came out in 2001
 
Old 10-29-2009, 10:24 PM   #11
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 10,003

Rep: Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189
Quote:
Originally Posted by jeni_m110 View Post
hi, thanks for your guide, but which of them is suitable for RedHat7.2? how can i understand that?
The main thing I think you need to understand, from the advice of several on this thread, is Don't use RH7.2...UPGRADE

That's an ancient OS. If you want to correct the errors you're seeing, it'll take so much time, effort, patches, etc., that you could have a new OS installed in about 1/10th the time. Not to mention all the security holes in the version you've got, that have been patched.
 
Old 10-29-2009, 11:57 PM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,285

Rep: Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350
Ref. post # 9
Quote:
but which of them is suitable for RedHat7.2
Do you mean which package ' XFree86-devel ' ?
Some packages can be found at http://rpm.pbone.net/
> Search > "Advanced Search" → Redhat 7.X ,
keyword = XFree86-devel .

.....
And by the way, the required ' tk ' for ns-2.1b8-mcast
is version 8.3.2 , so it is OK. ( OK for an old OS ...
but old tk will not build with all modern auto tools.)
.....

What is so special about ns-2.1b8-mcast, that is not
to be found in e.g. ns-2.34 ? ?
'ns-2.34' is the latest version and will work perfectly
in ' Redhat Fedora 11 '. 'ns-2.34' contains almost the
same " mcast files " as ns-2.1b8-mcast. ? Or ?
.....

Last edited by knudfl; 11-01-2009 at 04:26 PM.
 
Old 10-30-2009, 10:36 AM   #13
jeni_m110
LQ Newbie
 
Registered: Oct 2009
Posts: 17

Original Poster
Rep: Reputation: 0
Nothing to be done for 'all'

Quote:
Originally Posted by knudfl View Post
Ref. post # 9

Do you mean which package ' XFree86-devel ' ?
Some packages can be found at http://rpm.pbone.net/
> Search > "Advanced Search" → Redhat 7.X ,
keyword = XFree86-devel .

.....
And by the way, the required ' tk ' for ns-2.1b8-mcast
is version 8.3.2 , so it is OK. ( OK for an old OS ...
but old tk will not build with modern auto tools.)
.....

What is so special about ns-2.1b8-mcast, that is not
to be found in e.g. ns-2.34 ? ?
'ns-2.34' is the latest version and will work perfectly
in ' Redhat Fedora 11 '. 'ns-2.34' contains almost the
same " mcast files " as ns-2.1b8-mcast. ? Or ?
.....

hi, i need to work with ADMR that it is in Ns-2.1b8-mcast.
thanks alot for your information.
i installed them successfully, now i have problem with installing ns!
when i type ./configure
every thing seems to be ok!
and it gives me :
creating makefile
creating autoconf.h
and something else
the problem is when i type make or make all, it gives me:
"for i in indep-utils/cmu-scen-gen/setdest indeputils/webtrace-conv/dec indep-utils/webtrace-conv/nlanr indep-utils/webtrace-conv/ucb; do (cd $i; make all; ) done
make[1]: Entering directory '/root/.gnome-desktop/ns/ns-2.1b8-mcast/indep-utils/cmu-scen-gen/setdest'
make[1]:Nothing to be done for 'all'
make[1]: Leaving directory '/root/.gnome-desktop/ns/ns-2.1b8-mcast/indep-utils/cmu-scen-gen/setdest'
make[1]: Entering directory '/root/.gnome-desktop/ns/ns-2.1b8-mcast/indep-utils/webtrace-conv/dec'
make[1]:Nothing to be done for 'all'
make[1]: Leaving directory '/root/.gnome-desktop/ns/ns-2.1b8-mcast/indep-utils/webtrace-conv/epa'
make[1]: Entering directory '/root/.gnome-desktop/ns/ns-2.1b8-mcast/indep-utils/webtrace-conv/epa'
make[1]:Nothing to be done for 'all'
make[1]: Leaving directory '/root/.gnome-desktop/ns/ns-2.1b8-mcast/indep-utils/webtrace-conv/epa'
make[1]: Entering directory '/root/.gnome-desktop/ns/ns-2.1b8-mcast/indep-utils/webtrace-conv/nlanr'
make[1]:Nothing to be done for 'all'
make[1]: Leaving directory '/root/.gnome-desktop/ns/ns-2.1b8-mcast/indep-utils/webtrace-conv/lanr'
make[1]: Entering directory '/root/.gnome-desktop/ns/ns-2.1b8-mcast/indep-utils/webtrace-conv/ucb'
make[1]:Nothing to be done for 'all'
make[1]: Leaving directory '/root/.gnome-desktop/ns/ns-2.1b8-mcast/indep-utils/webtrace-conv/ucb'

when i look at the ns-2.1b8-mcast folde, i see configure,makefile and makefile.in files,
do you know what is the problem?
how can i solve it?
 
Old 10-30-2009, 02:54 PM   #14
John VV
Guru
 
Registered: Aug 2005
Location: Ann Arbor Mi.
Distribution: OpenSUSE 11.4 & Scientfic Linux 6.1
Posts: 7,272

Rep: Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706
Have you ran " make clean " between tries ????
compilling 101

also for solving a problem on the dead and unsupported rh 7 will sake SO LONG -- just tracking down the 7 year old things that might be missing will be a nightmare
 
Old 10-30-2009, 04:28 PM   #15
jeni_m110
LQ Newbie
 
Registered: Oct 2009
Posts: 17

Original Poster
Rep: Reputation: 0
problem

Quote:
Originally Posted by John VV View Post
Have you ran " make clean " between tries ????
compilling 101

also for solving a problem on the dead and unsupported rh 7 will sake SO LONG -- just tracking down the 7 year old things that might be missing will be a nightmare
yes! i write make clean befor every try, but maybe it's not an error, but when I try to run “make install” or “sudo make install” it shows me this message:
"/usr/bin/install -c -m 555 -o bin -g bin ns /usr/local/bin
/usr/bin/install -c -m 444 -o bin -g bin ns1 /usr/local/bin
/usr/bin/install: can not stat 'ns.1': No such file or directory
make:***[install-man] Error1"

And when I check my bin folder , there isn’t any executable ns.
It's nice of you to guide me in this stage.
 
  


Reply

Tags
ns-2.1b8-mcast, ns2, ns2.1b8


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 03:27 PM
trouble installing redhat7.3 on windows xp pc cyberiapost Linux - Newbie 1 12-09-2005 11:42 AM
doubt on installing redhat7.1 coolcruiser Linux - Software 1 12-17-2001 06:20 PM
Installing both Redhat7.1 & Mandrake8.1 tiwaris Linux - Software 0 10-06-2001 12:44 PM
Installing RedHat7 CropA Linux - Software 7 07-03-2001 10:42 AM


All times are GMT -5. The time now is 11:42 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration