LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-20-2005, 10:39 AM   #1
Avatar
Member
 
Registered: May 2001
Location: Canada
Distribution: old ones
Posts: 555

Rep: Reputation: 33
Question How do I tell an RPM that I really did install its dependencies?


Hi there I'm trying to install the following RPM on Mandrake 9.2

gtk2-2.4.0-1.i386.rpm

(This is required so I can install inkscape.)

It exits with an error (even if I use --force) :
Code:
error: Failed dependencies:
        atk >= 1.6.0-1 is needed by gtk2-2.4.0-1
        pango >= 1.4.0-1 is needed by gtk2-2.4.0-1
Yesterday, I installed both of those:
atk-1.9.0
pango-1.8.0

using these comands:
Code:
./configure --prefix=/usr
make
make install
So why am I still getting the above error about dependencies, and how can I fix it. Thanks!

 
Old 07-20-2005, 11:23 AM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
" Yesterday, I installed both of those:
atk-1.9.0
pango-1.8.0

using these comands:

code:

./configure --prefix=/usr
make
make install

So why am I still getting the above error about dependencies, and how can I fix it. Thanks!"

When you install using make install nothing is registered in the rpm data base. When you try to install gtk2 using rpm the rpm command only checks the rpm data base for dependencies. You can install gtk2 using the --nodeps option:
rpm --nodeps /pathname/gtk2-2.4.0-1.i386.rpm

A better solution is to use checkinstall to create rpm packages from your compiles. Then install the rpm. The method for creating rpm packages is:

./configure --prefix=/usr
make
checkinstall

I think that checkinstall is available on your Mandrake distribution. If not you can download it here:

http://asic-linux.com.mx/~izto/checkinstall/

-----------------------------
Steve Stites
 
Old 07-20-2005, 12:51 PM   #3
Avatar
Member
 
Registered: May 2001
Location: Canada
Distribution: old ones
Posts: 555

Original Poster
Rep: Reputation: 33
Thank you for the fast reply.

If I install the gtk2 rpm with the --nodeps option, will it still be able to work with the atk and pango software/package/whatever? Or do I need the checkinstall program to make it work? Thanks.
 
Old 07-20-2005, 03:06 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"If I install the gtk2 rpm with the --nodeps option, will it still be able to work with the atk and pango software/package/whatever? "

Yes.

----------------------------
Steve Stites
 
Old 07-20-2005, 03:44 PM   #5
Avatar
Member
 
Registered: May 2001
Location: Canada
Distribution: old ones
Posts: 555

Original Poster
Rep: Reputation: 33
Thanks for explaining. It worked!
 
  


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
RPM Install problem - dependencies The_JinJ Linux - Newbie 3 11-22-2004 07:08 PM
RPM install - failed dependencies. aje Linux - General 3 11-10-2004 02:40 AM
rpm dependencies gandhis Red Hat 2 11-01-2004 11:00 PM
install RPM whne it need dependencies niteshadw Linux - General 2 09-28-2003 08:38 AM
RPM 'failed dependencies': Why can I not install any rpm packages? leontini Linux - Newbie 7 09-16-2003 12:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:16 PM.

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