LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 02-12-2011, 08:40 AM   #1
raihana74
LQ Newbie
 
Registered: Nov 2010
Posts: 1

Rep: Reputation: 0
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.
Old 02-12-2011, 12:41 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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.
Old 03-24-2011, 03:33 PM   #3
unodior
Member
 
Registered: Mar 2011
Distribution: Fedora 12
Posts: 56

Rep: Reputation: 28
I've followed all the steps. Thank you
 
Old 03-26-2011, 10:16 AM   #4
unodior
Member
 
Registered: Mar 2011
Distribution: Fedora 12
Posts: 56

Rep: Reputation: 28
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
 
Old 03-26-2011, 05:15 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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.
Old 03-27-2011, 05:26 AM   #6
unodior
Member
 
Registered: Mar 2011
Distribution: Fedora 12
Posts: 56

Rep: Reputation: 28
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
 
Old 09-08-2012, 11:41 PM   #7
nirvruti
LQ Newbie
 
Registered: Sep 2012
Posts: 14

Rep: Reputation: Disabled
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
 
Old 09-08-2012, 11:53 PM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Post # 7, @nirvruti : Welcome to LQ.


Please install the package 'patch' with your Package Manager.
 
Old 09-09-2012, 12:03 AM   #9
nirvruti
LQ Newbie
 
Registered: Sep 2012
Posts: 14

Rep: Reputation: Disabled
Patch command not found

Hi cab you please tell me the command for install patch ? i am new to linux.
 
Old 09-09-2012, 12:07 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 9

Which OS is it about ?
http://www.linuxquestions.org/linux/...Ask_a_Question
http://linuxsilo.net/docs/smart-questions_en.html
.. Like CentOS 6, Fedora 17, Ubuntu 12.04, etc.
 
Old 09-09-2012, 12:10 AM   #11
nirvruti
LQ Newbie
 
Registered: Sep 2012
Posts: 14

Rep: Reputation: Disabled
fedora 13..
 
Old 09-09-2012, 12:12 AM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 11 :

1) su <password>

2) yum install patch
 
Old 09-09-2012, 12:13 AM   #13
nirvruti
LQ Newbie
 
Registered: Sep 2012
Posts: 14

Rep: Reputation: Disabled
Thank you for your quick reply...i will try it...

Thank you for your gr8 help
 
Old 01-03-2013, 11:27 AM   #14
Narges
Member
 
Registered: Oct 2011
Posts: 32

Rep: Reputation: Disabled
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
 
Old 01-03-2013, 12:24 PM   #15
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 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.

.
 
  


Reply

Tags
ns2, xgraph


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in installing "xgraph 12.1" in ubuntu 9.1 for ns 2.34 neeraj.dwivedi Linux - Newbie 5 03-10-2010 08:01 AM
having a problem installing Fedora 10 and selecting "customize now" ??? landonmkelsey Linux - Software 10 10-03-2009 07:05 PM
how to use "xgraph" in the scripts shells with ns2.33 in fc9 messy2010 Fedora 1 01-21-2009 03:56 AM
Problem installing Packages in "Engineering ans Scientific" in Fedora Core 6 jsky_20 Linux - Software 3 06-24-2007 03:40 PM
HD problem installing Fedora - "assertion failed" vinthund Linux - Software 1 02-24-2005 08:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:37 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration