Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
02-12-2011, 08:40 AM
|
#1
|
LQ Newbie
Registered: Nov 2010
Posts: 1
Rep:
|
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.
|
02-12-2011, 12:41 PM
|
#2
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
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
..
|
|
3 members found this post helpful.
|
03-24-2011, 03:33 PM
|
#3
|
Member
Registered: Mar 2011
Distribution: Fedora 12
Posts: 56
Rep:
|
I've followed all the steps. Thank you
|
|
|
03-26-2011, 10:16 AM
|
#4
|
Member
Registered: Mar 2011
Distribution: Fedora 12
Posts: 56
Rep:
|
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
|
|
|
03-26-2011, 05:15 PM
|
#5
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
Xgraph, SL 6.0
1) patch -p1 < ..........
2) aclocal
3) ./configure
4) make : No errors .......... Did you forget 'aclocal' ?
..
|
|
1 members found this post helpful.
|
03-27-2011, 05:26 AM
|
#6
|
Member
Registered: Mar 2011
Distribution: Fedora 12
Posts: 56
Rep:
|
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
|
|
|
09-08-2012, 11:41 PM
|
#7
|
LQ Newbie
Registered: Sep 2012
Posts: 14
Rep: 
|
Patch command not found
patch -p1 < debian/patches/debian-changes-12.1-13 when i run this command ....i got error :command not found plz help me
|
|
|
09-08-2012, 11:53 PM
|
#8
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
Post # 7, @nirvruti : Welcome to LQ.
Please install the package 'patch' with your Package Manager.
|
|
|
09-09-2012, 12:03 AM
|
#9
|
LQ Newbie
Registered: Sep 2012
Posts: 14
Rep: 
|
Patch command not found
Hi cab you please tell me the command for install patch ? i am new to linux.
|
|
|
09-09-2012, 12:07 AM
|
#10
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
|
|
|
09-09-2012, 12:10 AM
|
#11
|
LQ Newbie
Registered: Sep 2012
Posts: 14
Rep: 
|
fedora 13..
|
|
|
09-09-2012, 12:12 AM
|
#12
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
# 11 :
1) su <password>
2) yum install patch
|
|
|
09-09-2012, 12:13 AM
|
#13
|
LQ Newbie
Registered: Sep 2012
Posts: 14
Rep: 
|
Thank you for your quick reply...i will try it...
Thank you for your gr8 help
|
|
|
01-03-2013, 11:27 AM
|
#14
|
Member
Registered: Oct 2011
Posts: 32
Rep: 
|
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:
[n@localhost examples]$ xgraph xgtest.xg or xgraph bar.xg
Segmentation fault (core dumped)
why is that so?
Thanks for the help in advance.
Last edited by Narges; 01-03-2013 at 11:41 AM.
Reason: give more details
|
|
|
01-03-2013, 12:24 PM
|
#15
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
# 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.
.
|
|
|
All times are GMT -5. The time now is 10:42 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|