LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-01-2010, 11:15 PM   #1
sunitverma
LQ Newbie
 
Registered: Jun 2009
Posts: 12

Rep: Reputation: 0
gtkgraph-0.6.2 not working


I am trying to install gtkgraph-0.6.2, but when i try to "make" it, it gives some errors :

student@student-desktop:~/Desktop/gtkgraph-0.6.2$ make
make all-recursive
make[1]: Entering directory `/home/student/Desktop/gtkgraph-0.6.2'
Making all in intl
make[2]: Entering directory `/home/student/Desktop/gtkgraph-0.6.2/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/student/Desktop/gtkgraph-0.6.2/intl'
Making all in src
make[2]: Entering directory `/home/student/Desktop/gtkgraph-0.6.2/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"\" -DLIBDIR=\"/usr/local/lib\" -I../intl -I./../lib -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -O2 -Wall -c main.c
main.c: In function ‘set_error’:
main.c:102: warning: implicit declaration of function ‘strlen’
main.c:102: warning: incompatible implicit declaration of built-in function ‘strlen’
main.c:112: warning: incompatible implicit declaration of built-in function ‘strlen’
main.c: At top level:
main.c:566: fatal error: opening dependency file .deps/main.pp: No such file or directory
compilation terminated.
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/student/Desktop/gtkgraph-0.6.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/student/Desktop/gtkgraph-0.6.2'
make: *** [all-recursive-am] Error 2



i have tried with the older version also but same error was there. I am using ubuntu 8.04

Please help me .



Regards

sunit verma
 
Old 02-02-2010, 12:57 AM   #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.

The gtkgraph-0.6.2 source code is 10 years old.
'gtkgraph' is still available for Mandriva, PCLinuxOS,
i.e. there is a patch fixing the code for a modern Linux.
http://spout.ussg.indiana.edu/linux/...os2007.src.rpm
> > gtkgraph-0.6.2-8pclos2007.src.rpm
Unpack with :
rpm2cpio gtkgraph-0.6.2-8pclos2007.src.rpm | cpio -idmv
.. which provides ..
gtkgraph-0.6.1-configure.in-fix.optflags.patch.bz2
Extract the patch and copy it into gtkgraph-0.6.2/
1) cd gtkgraph-0.6.2/
2) make distclean ( only if you are reusing the gtkgraph-0.6.2/
from your first try.)
3) patch -p1 < gtkgraph-0.6.1-configure.in-fix.optflags.patch
4) ./configure && make
.....

Last edited by knudfl; 02-02-2010 at 05:21 AM.
 
Old 02-03-2010, 12:03 AM   #3
sunitverma
LQ Newbie
 
Registered: Jun 2009
Posts: 12

Original Poster
Rep: Reputation: 0
I tried as you said but still the same error is coming :

student@student-desktop:~/Desktop/gtkgraph-0.6.2$ make
make all-recursive
make[1]: Entering directory `/home/student/Desktop/gtkgraph-0.6.2'
Making all in intl
make[2]: Entering directory `/home/student/Desktop/gtkgraph-0.6.2/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/student/Desktop/gtkgraph-0.6.2/intl'
Making all in src
make[2]: Entering directory `/home/student/Desktop/gtkgraph-0.6.2/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"\" -DLIBDIR=\"/usr/local/lib\" -I../intl -I./../lib -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -g -O2 -Wall -c main.c
main.c: In function ‘set_error’:
main.c:102: warning: implicit declaration of function ‘strlen’
main.c:102: warning: incompatible implicit declaration of built-in function ‘strlen’
main.c:112: warning: incompatible implicit declaration of built-in function ‘strlen’
main.c: At top level:
main.c:566: fatal error: opening dependency file .deps/main.pp: No such file or directory
compilation terminated.
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/student/Desktop/gtkgraph-0.6.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/student/Desktop/gtkgraph-0.6.2'
make: *** [all-recursive-am] Error 2

what am i supposed to do now ?


regards,

sunit verma
 
Old 02-03-2010, 06:04 AM   #4
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
Ubuntu 8.04.1 Hardy .. .. gtkgraph

sudo apt-get install gdk-imlib11-dev imlib11-dev libgtk1.2-dev

And suggest : Start from scratch , example :

.. make a new folder in /home/"username"/ :
mkdir 4
cp gtkgraph-0.6.2-8pclos2007.src.rpm 4/
cd 4/
rpm2cpio gtkgraph-0.6.2-8pclos2007.src.rpm | cpio -idmv
tar xvf gtkgraph-0.6.2.tar.bz2
bzip2 -d gtkgraph-0.6.1-configure.in-fix.optflags.patch.bz2
mv gtkgraph-0.6.1-configure.in-fix.optflags.patch gtkgraph-0.6.2/
cd gtkgraph-0.6.2/
patch -p1 < gtkgraph-0.6.1-configure.in-fix.optflags.patch
./configure && make
.. no errors .. using gcc version 4.2.4
The command 'gcc -v' will tell, what you have.

Quote:
error: opening dependency file .deps/main.pp: No such file ..
There are no files suffix .pp, but if somthing else is messing
up the Makefile etc., may be try : cp main.P main.pp
.....

Last edited by knudfl; 02-03-2010 at 06:10 AM.
 
Old 02-03-2010, 11:45 PM   #5
sunitverma
LQ Newbie
 
Registered: Jun 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Thank you now i am able to compile it. but when i am trying to run the object file, it is showing gui with graph and some option keys. these keys do not have the labels which is creating problem to recognize their functions.

Can you please look into this matter ?


Regards,

sunit verma
 
Old 02-04-2010, 04:29 AM   #6
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
I think it looks OK here.

Also on other Linux's. The image is from PCLinuxOS 2009.2.
.....

http://i390.photobucket.com/albums/o...-04-112826.jpg

http://i390.photobucket.com/albums/o...g?t=1265370103

Last edited by knudfl; 02-05-2010 at 05:42 AM.
 
Old 02-04-2010, 11:48 PM   #7
sunitverma
LQ Newbie
 
Registered: Jun 2009
Posts: 12

Original Poster
Rep: Reputation: 0
gtkgraph

I am using ubuntu 8.04 hardy version. but i am unable to get the labels and also get segmentation fault error when i click on button for "bold" in "set title".

I have attached screenshot of gtkgraph which i am getting on my screen.


regards,

sunit verma
Attached Thumbnails
Click image for larger version

Name:	Screenshot-GtkGraph.png
Views:	10
Size:	8.2 KB
ID:	2660  
 
Old 02-05-2010, 05:36 AM   #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
Please read post # 4 : I created gtkgraph-0.6.2 on Ubuntu Hardy.

Are you sure, you have all dependencies installed ?
'ldd gtkgraph' :
libgtk-1.2.so.0
libgdk-1.2.so.0
libgdk_imlib.so.2
libgmodule-1.2.so.0
libglib-1.2.so.0
libXau.so.6
libxcb-xlib.so.0
libxcb.so.1
libXdmcp.so.6
libXi.so.6
libXext.so.6
libX11.so.6
libm.so.6
.. which should all be present in /usr/lib/ ( /lib/ ).

You could try out the result, I made : Click my name.
send an email, and I will attach files to a return mail.
.....
Attached Thumbnails
Click image for larger version

Name:	gtkgraph_bold.jpg
Views:	9
Size:	15.1 KB
ID:	2662  
 
Old 02-09-2010, 12:12 AM   #9
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
Email from @sunitverma :

"" I have install all the libraries for gtkgraphs but
could not install "libgmodule-1.2.so.0". I have checked
in internet but did not find it. ""
.....
.....

'libgmodule-1.2.so.0' is the in package 'libglib1.2ldbl' :

sudo apt-get install libglib1.2ldbl libglib1.2-dev

http://packages.ubuntu.com/hardy/i38...2ldbl/filelist
Search = libglib1.2 ubuntu
http://www.google.com/webhp#hl=en&q=...3c88006b48283c
> > http://packages.ubuntu.com/hardy/libglib1.2ldbl
.....
 
  


Reply



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
Working Grip 3.3.1 settings in Ubuntu 7.10 for FLAC with working meta info robocoop Linux - Software 0 04-06-2008 03:28 PM
media problem with .avi --- audio only in vlc working rest amarock ,etc. not working fedex Linux - Newbie 1 12-22-2007 08:06 AM
SED - minor changes work - Larger doesn't (working and non working code included) Nimoy Programming 17 09-22-2007 04:34 PM
Fortemedia FM801 card not working under FC5 on Intel 845 but working with windows morningkiran Linux - Hardware 0 11-30-2006 07:57 AM
acpi nearly working IBM thinkpad R40e 2684HVG no Fn key working, throttling OK Emmanuel_uk Linux - Laptop and Netbook 2 05-31-2006 01:41 AM

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

All times are GMT -5. The time now is 08:11 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