Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i am running configure for one the the apps i am trying to build and i am getting these warnings:
checking whether GTK UI requested... yes
checking for gtk-config... (cached) 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: warning: GTK+ not found. Reverting to Xlib UI
and
checking for glib-config... (cached) no
checking for GLIB - version >= 1.2.0... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: warning: glib not found - using internal replacement
now i have all the libglib/libgtk and the dev versions installed what does it think i dont have? what about those env variables? how exactly do i create those?
i use debian and i can only find packages for redhat for those two names. *sigh* all i want to do is a simple configure why does it make it so difficult for me sometimes?
I have the same problem over here, using SuSE 7.3. GTK's obviously required for just about everything under the sun I could even think of trying to install, and ./configure fails for everything. I've installed every package I could find on the GTK website, including glib 2.0.4, gtk 2.0.5, atk 1.0.1, pango 1.0.3, and ALL the associated -devel packages for those.
Still, gtk-config does not exist on my machine (did an updatedb and locate found nothing), closest I get is one /usr/lib/gtk-2.0/include/gdkconfig.h. Argh!
both versiona of gtk run fine side by side. gtk2 is new, and developed inline with gnome2. most gtk based apps are only compatible with the previous version of gtk, whose API has been stable for about 4 years, as opposed to 4 months...
thanks for that. i went to gtk.org and downloaded the source of gtk1.2 and glib1.2 and its now working fine (had to do a bit of tweaking though as i had two versions of gtk and glib-config) i just deleted the older version.
So how do I get these different versions of things to coexist?
Trying to install gtk+ 1.2.8 fails for dependencies, saying gkrellm and libglade need gtk+. Trying to install gtk+-devel fails for need of glib-devel, and installing glib-devel conflicts with glib2-devel, so no one's happy. Thanks for your enormous help!
Thanks soooo much....yes, once again the simplest answers are often the best - it's nice when things finally work after weeks of frustration! (glib and gtk installed fine, gtk-gnutella did too and qt & scribus are on their way)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.