LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Hlep installing gtk-gnutella (https://www.linuxquestions.org/questions/linux-newbie-8/hlep-installing-gtk-gnutella-184282/)

mike8994 05-21-2004 06:02 PM

Hlep installing gtk-gnutella
 
I decompressed the downloaded file ok. Went to that directory and did a make. That seemd to run ok. Whenver I try a 'make' or 'make install' I get screen after screen of parse errors. Some are like "interface-glade1.c:11825: error: parse error before "gtk_widget_unref".

Could use some help please.

Andrew Benton 05-22-2004 03:59 AM

Can we have some more details please? Did you choose gtk1 or 2? bison -y or yacc? And can you post some more of the error message. Please include the 5 or 10 lines before it says error.

Edit - apologies for that lazy reply, I was busy. You need to use the Mandrake Control Centre to install libgtk+2.0_0-devel- more-numbers.

mike8994 05-22-2004 08:25 PM

Tried installing (libgtk+2.0_0-devel- more-numbers) and still got many, many errors but he 1st few were...

errors installinginterface-glade1.c:11825: error: `GtkDestroyNotify' undeclared (first use in this function)
interface-glade1.c:11825: error: parse error before "gtk_widget_unref"
interface-glade1.c: At top level:
interface-glade1.c:11836: error: parse error before '*' token
interface-glade1.c: In function `create_dlg_filters':
interface-glade1.c:11839: error: `GtkWidget' undeclared (first use in this function)
interface-glade1.c:11839: error: `dlg_filters' undeclared (first use in this function)
interface-glade1.c:11840: error: `vbox_filter_main' undeclared (first use in this function)
Other idea's

Andrew Benton 05-23-2004 03:23 AM

So did you choose to build it with gtk 1 or 2? If you chose gtk 1 then you'll need to install the libgtk-1-devel-whatever it is. I always choose gtk 2 as it looks nicer. Also, delete the old source folder and untar a fresh one before you start again, that way there won't be any problems left from the previous errors.

mike8994 05-23-2004 09:16 AM

I was able to get everything to compile and install ok. (No errors) -Thanks Andy.
However I cannot get the program to run. If I enter "gtk-gnutella" at the run command and get "Could not run the specified command!"
This is terribly frustrating to a newbie!

mike8994 05-24-2004 05:29 AM

Suggestions?

0103970 05-24-2004 06:51 AM

same problem and some solution
 
I installed my gtk-gnutella with Control-Center and found that I can run it by typing:
gtk_gnutella

mike8994 05-25-2004 09:15 AM

I installed it from console. You must have installed the RPM through control center. I get "Could not run the specified command!" even when I try gtk_gnutella.

0103970 05-25-2004 01:58 PM

I'm a noob in linux too, so I don't have alot of answers. Now I installed the new gtk-gnutella from command-line and used gtk_1(or whatever) and it works like a charm by just typing gtk-gnutella to prompt. Before installing gtk-gnutella, I installed both libgtk-1-devel-... and libgtk+2.0_0-devel... .


All times are GMT -5. The time now is 02:34 AM.