Red HatThis forum is for the discussion of Red Hat Linux.
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.
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
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?
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?
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.
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,285
Rep:
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.
.....
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?
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.
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,285
Rep:
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 ?
.....
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?
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.