LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-17-2005, 08:34 AM   #1
kkatebian
LQ Newbie
 
Registered: Jan 2005
Location: Canada
Distribution: Debian (Sarge)
Posts: 20

Rep: Reputation: 0
gtk-gnutella installation problems


I'm trying to install gtk-gnutella and I've hit a road bump.

the configuration went perfectly well and ended with the message "Now you must run '/usr/bin/make'."

I typed /usr/bin/make and just got a series of error messages ending with:
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/kkatebian/Software/gtk-gnutella-0.95.2/src'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/kkatebian/Software/gtk-gnutella-0.95.2'
make: *** [all] Error 2

I typed make and got the same

I did all this as root as well

Can someone help me?
 
Old 05-17-2005, 09:26 AM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
What did it say in the 5-10 lines before that? It's a bit like a car crash. You've shown us the crash, we need to see what happened before that. Also, what options did you choose when you configured it?
 
Old 05-17-2005, 10:54 AM   #3
kkatebian
LQ Newbie
 
Registered: Jan 2005
Location: Canada
Distribution: Debian (Sarge)
Posts: 20

Original Poster
Rep: Reputation: 0
I made a mistake in the first post as well, /usr/bin/make returned no such file or directory.
It was just make that returned the error.

so far as options are concerned, all the default settings were selected except gtk1 was used instead of gtk2.

as for the previous lines, they were all error lines, a few hundred or so.

here they are though:
main.c:492: error: `G_LOG_LEVEL_DEBUG' undeclared (first use in this function)
main.c:499: error: `FALSE' undeclared (first use in this function)
main.c:517: error: `saved_errno' undeclared (first use in this function)
main.c: In function `log_init':
main.c:523: error: syntax error before '*' token
main.c: At top level:
main.c:524: error: syntax error before "i"
main.c:524: error: `i' used prior to declaration
main.c:524: warning: data definition has no type or storage class
main.c: In function `main':
main.c:539: error: `gint' undeclared (first use in this function)
main.c:539: error: syntax error before "i"
main.c: At top level:
lib/prop.h:60: warning: array `prop_type_str' assumed to have one element
core/sockets.h:105: error: storage size of `wio' isn't known
if/core/downloads.h:96: error: storage size of `parq_version' isn't known
core/matching.h:83: error: storage size of `all_entries' isn't known
core/nodes.h:112: error: storage size of `header' isn't known

it's basically what looks like a thousand lines of error, warning, error, warning, ...
 
Old 05-17-2005, 12:06 PM   #4
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Well go back to the start of the errors, where it starts to go wrong
 
Old 05-17-2005, 01:32 PM   #5
kkatebian
LQ Newbie
 
Registered: Jan 2005
Location: Canada
Distribution: Debian (Sarge)
Posts: 20

Original Poster
Rep: Reputation: 0
here are the first few lines:
make[1]: Entering directory `/home/kkatebian/Software/gtk-gnutella-0.95.2'
Making all in src...
make[2]: Entering directory `/home/kkatebian/Software/gtk-gnutella-0.95.2/src'
Checking gnet_property.h in if...
cd if; make gnet_property.h
make[3]: Entering directory `/home/kkatebian/Software/gtk-gnutella-0.95.2/src/if'
make[3]: `gnet_property.h' is up to date.
make[3]: Leaving directory `/home/kkatebian/Software/gtk-gnutella-0.95.2/src/if'
Continuing in src...
Checking gui_property.h in if...
cd if; make gui_property.h
make[3]: Entering directory `/home/kkatebian/Software/gtk-gnutella-0.95.2/src/if'
make[3]: `gui_property.h' is up to date.
make[3]: Leaving directory `/home/kkatebian/Software/gtk-gnutella-0.95.2/src/if'
Continuing in src...
cc -c -I.. -I. -DCURDIR=src -O -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 main.c
In file included from main.c:26:
common.h:117:18: glib.h: No such file or directory
In file included from main.c:26:
common.h:130: error: syntax error before "filesize_t"
common.h:130: warning: data definition has no type or storage class
In file included from main.c:26:
common.h:287: error: syntax error before '*' token
common.h:287: error: `gboolean' declared as function returning a function
In file included from main.c:26:
 
Old 05-17-2005, 04:39 PM   #6
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Well there it is,
glib.h: No such file or directory
It looks like you need to install the development version of glib-1.2
 
Old 05-17-2005, 07:11 PM   #7
kkatebian
LQ Newbie
 
Registered: Jan 2005
Location: Canada
Distribution: Debian (Sarge)
Posts: 20

Original Poster
Rep: Reputation: 0
Not only was it already installed, I've re-installed it twice all the while I've been trying to install the program.

There's no way that it wasn't installed properly since I did it through the ubuntu package manager.
 
  


Reply


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
gtk-gnutella connecting problems jaakkop Linux - Software 0 07-17-2005 03:26 AM
Gtk-gnutella Installation Walk-thru LinuxNewbie101 Linux - Newbie 1 04-14-2005 06:38 PM
Gtk-Gnutella Problems berkough Linux - Software 2 08-14-2004 03:28 PM
gtk-gnutella problems.. euphoria Linux - Newbie 5 02-21-2004 11:12 PM
Problems with xMule, gtk-gnutella ...etc. Musikolo Linux - Security 2 07-23-2003 12:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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