problem in installing "xgraph 12.1" in fedora for ns 2.34
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
problem in installing "xgraph 12.1" in fedora for ns 2.34
Hi,
I am having problen in installing "xgraph-12.1" in fedora 12 for ns2.34.
I did follow the "INSTALL" instructions and when I did run "make install", the error happens like:
...
...
...
/usr/include/stdio.h:651: error: prototype declaration
make: *** [dialog.o]
Can anyone help me out?
Click here to see the post LQ members have rated as the most helpful post in this thread.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Welcome to LQ.
cd ns-allinone-2.34/ && ./install : The reply for xgraph is :
Can not create xgraph; But xgraph is an optional package, continuing...
However, it can be build. ( No other Fedora available application seems
to be able to handle the xgraph files : .xg ).
The source : http://ftp.de.debian.org/debian/pool....1.orig.tar.gz
The required patch http://ftp.de.debian.org/debian/pool....debian.tar.gz
cd xgraph-12.1.orig/ && tar xvf xgraph_12.1-13.debian.tar.gz &&
patch -p1 < debian/patches/debian-changes-12.1-13 && aclocal &&
./configure && make ; # make install : And you have /usr/local/bin/xgraph
I've had problems with xgraph 12 in my desk-pc too. So I have followed the instructions. Everything seems correct until I get to "make". The answer to make:
cd . && automake --foreign --include-deps Makefile
aclocal.m4:16: warning: this file was generated for autoconf 2.64.
You have another version of autoconf. It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically `autoreconf'.
configure.in:3: version mismatch. This is Automake 1.11.1,
configure.in:3: but the definition used by this AM_INIT_AUTOMAKE
configure.in:3: comes from Automake 1.11. You should recreate
configure.in:3: aclocal.m4 with aclocal and run automake again.
make: *** [Makefile.in] Error 63
Could you tell me which is the new problem??
Kind Regards
I thought I had done it correctly yesterday, but I must have made a mistake. Sometimes I want to go fast, and I don't remember patience is a virtue
Now it works, with the same steps
Thank you very much
Hi.
I also want to install xgraph on fedora 15 in ns-2.29.3
I did all the steps as post no.2 said.
But when I do:
make
I got some warnings, mostly like:
tgif.c:271:13: warning: unused variable ‘k’ [-Wunused-variable]
tgif.c:270:13: warning: unused variable ‘j’ [-Wunused-variable]
and the last line I got is :
make[1]: Leaving directory `/home/n/ns2/ns-allinone-2.29/xgraph-12.1.orig'
and then I did:
#su
#make install
when I type
#xgraph
nothing happens!
(shouldn't it be like ns or nam?when you type ns->you get % and when you type nam->nam window will open)
I tried to run the examples given in /xgraph-12.1.orig/examples
some of them I can run and get the graph but i get followings:
Parameter LabelFont: can't translate `helvetica-10' into a font (defaulting to `fixed')
Parameter TitleFont: can't translate `helvetica-18' into a font (defaulting to `fixed')
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
after 629 requests (620 known processed) with 0 events remaining.
and some example files I can not run ,and I get memory error:
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
# 14
Quote:
when I type
#xgraph
nothing happens!
Nothing is supposed to happen. Works with a file only :
1) cd ns2/ns-allinone-2.29/xgraph-12.1/examples/
2) xgraph bar.xg
2a) xgraph Animation.xg
.... etc. etc.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.