MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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 trying to compile a program (sisctrl, the runtime XFree configurator for the sis_drv.o driver, by Thomas Winischhofer). I am having dependency difficulties. The configure script complains that GTK+ >= 2.0 must be installed. Yet I did install the libgtk rpm (and the -devel package too).
When I investigate the config.log, I find it is trying to #include <gtk/gtk.h>
I look in /usr/include, and find that Mandrake has given me a directory called gtk-2.0 (confusingly there is also one called gtk-1.2) and within that folder is are two directories, gtk and gdk. Inside this folder (/usr/include/gtk-2.0/gtk) there seem to be all the header files I need, so I thought maybe I'll fix the problem my creating a pair of links:
(in /usr/include):
# ln -s gtk-2.0/gtk gtk
# ln -s gtk-2.0/gdk gdk
but the configure script still complains that GTK+ is not installed correctly. The config.log has not changed (and I did delete it before running configure again).
Anybody encountered this kind of trouble (with Mandrake, 9.1 to be specific) and fixed it? It seems that Mandrake are putting their files in non-standard places, is that correct? How can I work around this?
I simply downloaded the latest versions of Glib, GTK, ATK, and Pango. You'll need the bison and flex packages (get them in the rpmdrake interface). Use --prefix=/usr for everything, and it works out perfectly.
Once bison and flex are installed (you'll need the cds, of course), just extract glib, gtk, atk and pango. Glib needs to be installed first, a simple './configure --prefix=/usr' works fine here, make && make install. The same procedure follows for the others in this order: ATK, Pango, GTK. The files are at gtk.org.
Of course, there may be another solution, but this is what I did, and it worked.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.