LinuxQuestions.org
Review your favorite Linux distribution.
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-29-2009, 09:57 AM   #1
jeni_m110
LQ Newbie
 
Registered: Oct 2009
Posts: 14
Thanked: 0
installing on RedHat7.2


[Log in to get rid of this advertisement]
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
windows_vista jeni_m110 is offline     Reply With Quote
Old 10-29-2009, 10:51 AM   #2
DrLove73
Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.4 i386
Posts: 295
Thanked: 20
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?
linux DrLove73 is offline     Reply With Quote
Old 10-29-2009, 11:02 AM   #3
pixellany
Moderator
 
Registered: Nov 2005
Location: Pasadena, CA
Distribution: Arch
Posts: 13,173
Thanked: 285
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
linux pixellany is offline     Reply With Quote
Old 10-29-2009, 12:25 PM   #4
jeni_m110
LQ Newbie
 
Registered: Oct 2009
Posts: 14
Thanked: 0

Original Poster
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?
windows_vista jeni_m110 is offline     Reply With Quote
Old 10-29-2009, 12:47 PM   #5
TB0ne
Senior Member
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, Mandrake, RedHat, Gentoo, Slack
Posts: 4,074
Thanked: 143
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.
linuxsuse TB0ne is offline     Reply With Quote
Old 10-29-2009, 12:57 PM   #6
pixellany
Moderator
 
Registered: Nov 2005
Location: Pasadena, CA
Distribution: Arch
Posts: 13,173
Thanked: 285
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.
linux pixellany is offline  
Tag This Post
Reply With Quote
Old 10-29-2009, 03:57 PM   #7
John VV
Senior Member
 
Registered: Aug 2005
Location: Ann Arbor Mi.
Distribution: Arch Linux ,CentOS 5.4
Posts: 2,152
Thanked: 124
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 !!!
linux John VV is offline     Reply With Quote
Old 10-29-2009, 04:30 PM   #8
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
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 05:36 PM..
linuxcentos knudfl is offline  
Tag This Post
Reply With Quote
Old 10-29-2009, 09:44 PM   #9
jeni_m110
LQ Newbie
 
Registered: Oct 2009
Posts: 14
Thanked: 0

Original Poster
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?
windows_vista jeni_m110 is offline     Reply With Quote
Old 10-29-2009, 10:01 PM   #10
John VV
Senior Member
 
Registered: Aug 2005
Location: Ann Arbor Mi.
Distribution: Arch Linux ,CentOS 5.4
Posts: 2,152
Thanked: 124
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
linux John VV is offline     Reply With Quote
Old 10-29-2009, 11:24 PM   #11
TB0ne
Senior Member
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, Mandrake, RedHat, Gentoo, Slack
Posts: 4,074
Thanked: 143
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.
windows_xp_2003 TB0ne is offline     Reply With Quote
Old 10-30-2009, 12:57 AM   #12
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 # 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 05:26 PM..
linuxpclinuxos knudfl is offline  
Tag This Post
Reply With Quote
Old 10-30-2009, 11:36 AM   #13
jeni_m110
LQ Newbie
 
Registered: Oct 2009
Posts: 14
Thanked: 0

Original Poster
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?
windows_vista jeni_m110 is offline     Reply With Quote
Old 10-30-2009, 03:54 PM   #14
John VV
Senior Member
 
Registered: Aug 2005
Location: Ann Arbor Mi.
Distribution: Arch Linux ,CentOS 5.4
Posts: 2,152
Thanked: 124
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
linux John VV is offline     Reply With Quote
Old 10-30-2009, 05:28 PM   #15
jeni_m110
LQ Newbie
 
Registered: Oct 2009
Posts: 14
Thanked: 0

Original Poster
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.
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 10:01 PM.

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