Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   Gtk-Gnutella (Linux/Unix/Mac OSX/Windows) (https://www.gnutellaforums.com/gtk-gnutella-linux-unix-mac-osx-windows/)
-   -   gtk-config error (https://www.gnutellaforums.com/gtk-gnutella-linux-unix-mac-osx-windows/23823-gtk-config-error.html)

wrightjj February 8th, 2004 04:33 PM

gtk-config error
 
i'm new to linux and i'm trying to install a file sharing program but have had no luck with limewire, mutella, qtella, and gtk-gnutella. i can't get any of them to install.
can anyone help?
suse 9.0

checking for gtk-config... no
checking for GTK - version >= 1.2.0... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: error: Cannot find GTK: Is gtk-config in path?

PapaSMURFFS February 10th, 2004 03:31 PM

That error message says that it cannot find the correct version of the gtk library for gtk-gnutella.

Now, if you're using QT you might not have gtk of any version installed on your system, at which point I advise you install it, in Redhat based systems it'll be a rpm file to download, for debian its a .deb and for slackware you should be able to find a .tgz for it.

If you do have gtk (for use with gnome and other apps) it could just be that you only have gtk2+ rather then gtk1. when you compile gtk-gnutella specify the environment as gtk v2 rather then v1. Read the README file which comes with the source.

Otherwise you could always find a binary package for the system you're on (again, it'll be rpm, deb, or tgz depending on the flavour of linux) and as long as you have all the required components (rpm and deb files will tell you what components are needed, tgz files will just install but when it comes to running the program it won't work)

Hope that helps

PapaSMURFFS February 10th, 2004 03:34 PM

I thought of another possiblity, if gtk is installed and its still not being detected check your /etc/ld.so.conf file to make sure the correct path is specified, but this will most likely be already set correctly if gtk is installed unless you are using one odd distro and packaging system

Andrew Benton February 11th, 2004 05:43 PM

I have no trouble compiling it with gtk+-2. It doesn't need gtk+-1. It looks much better with gtk+-2. You have to tell it to use gtk+-2 during ./Configure. gtk-config is in /usr/bin on my computer. If that isn't in your $PATH...well it must be, so it seems you haven't installed it. If you want to compile from the source you'll need to install a few things. If you're using an .rpm based distro you'll need to install the versions with lib and devel in the title. eg, something like libgtk+2.0_0-dev

fsbooks February 24th, 2004 03:57 PM

Because you are new to linux, you may not be aware that you will need the development versions of the packages. As rpms, these will have a -devel appended to the package name.


All times are GMT -7. The time now is 06:08 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.