LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   gtk-gnutella installation problems (https://www.linuxquestions.org/questions/linux-software-2/gtk-gnutella-installation-problems-324344/)

kkatebian 05-17-2005 08:34 AM

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?

Andrew Benton 05-17-2005 09:26 AM

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?

kkatebian 05-17-2005 10:54 AM

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, ...

Andrew Benton 05-17-2005 12:06 PM

Well go back to the start of the errors, where it starts to go wrong

kkatebian 05-17-2005 01:32 PM

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:

Andrew Benton 05-17-2005 04:39 PM

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

kkatebian 05-17-2005 07:11 PM

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.


All times are GMT -5. The time now is 12:33 PM.