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'm having problems with rpmdrake and gtk2. I want to install scim (a Chinese input method), but every time I do, I get a warning:
Quote:
gtk2 = 2.2.0 is needed by scim- 0.8.1-1
Installation cancelled
I have Mandrake 9.1 installed, so I assume I have gtk2 installed as well. What's going on?
More specifically:
1) How do I find out if I have gtk2 installed? rpm -qi libgtk2 gave no response.
2) If I don't have gtk2 installed, how do I install it? What is its file name? Do I have to get it from the installation CD's or can I use rpmdrake to do the installation?
3) If I do have gtk2 installed, how do I get rpmdrake (or scim?) to recognize it?
For Linux Mandrake there is a command called urpmq which you can use to query a file, and it will return which package the file is in. If I enter
urpmi gtk2 it responds libgtk+2.0_0.
Then you could su root and enter: urpmi libgtk+2.0_0
If the package is installed, the response will be,
Everything already installed, otherwise, it will be installed.
I tried rpm -qi on gtk+2.0, and got back that I have 2.2.1 installed. However, when I tried urpmi on gtk+2.0, it said that there is no package with this name. Huh?
I've also updated my sources using urpmi.addmedia -- using the commands from Easy Urpmi. However, rpmdrake still doesn't make any mention of gtk+2.0.
Finally, when I did a urpmq gtk2, I got:
Quote:
The following packages contain gtk2: pygtk2.0-glarea libwxgtk2.5-devel eclipse-gtk2 libwxgtk2.4 pygtk2.0-libglade pygtk2.0 libwxgtk2.5 pygtk2.0-wrapper libwxgtk2.4devel pygtk2.0-devel
So, what's going on? Do I need to install one of these? I'm still rather lost.
Sorry, I lost track of this post. Your best bet may be to do a google/linux search for libgtk+2.0_0. You may be missing a package. I'm at work know, so I can't search my disks to see which one this library package is located.
One problem I run into sometimes, is when a different version is needed for different programs.
the easiest way to see if something is installed is to use rpmdrake-remove (the software removal thingy). Search for gtk and it will list all the packages that have gtk in their names.
You might try installing everything that is remotely gtk related.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.