LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-26-2003, 01:48 AM   #1
Jiawen
Member
 
Registered: Aug 2003
Location: Twin Cities, MN, US
Distribution: Mandriva -> Ubuntu
Posts: 106

Rep: Reputation: 15
rpmdrake and gtk2


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?

Thanks in advance for any help you can give.
 
Old 09-26-2003, 08:59 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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.

Last edited by jschiwal; 09-26-2003 at 09:01 AM.
 
Old 09-26-2003, 12:52 PM   #3
Jiawen
Member
 
Registered: Aug 2003
Location: Twin Cities, MN, US
Distribution: Mandriva -> Ubuntu
Posts: 106

Original Poster
Rep: Reputation: 15
Thanks for the reply!

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.

And again -- thanks in advance for any help!
 
Old 10-27-2003, 05:41 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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.
 
Old 10-27-2003, 06:48 PM   #5
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rpmdrake dependencies JesterMania Mandriva 17 10-29-2009 11:23 PM
lost rpmdrake cheech Mandriva 1 03-05-2005 11:03 AM
rpmdrake RedHat simquest Linux - Software 1 03-18-2004 06:59 PM
problems with rpmdrake mike1114 Linux - Newbie 1 03-07-2004 12:20 AM
rpmdrake help elfrosto Linux - Newbie 3 01-31-2004 07:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 09:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration