Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/var/db/pkg: what's the dif. between rdepend and pdepend?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
MasquedAvenger
Guru
Guru


Joined: 21 Aug 2003
Posts: 559
Location: Southern California

PostPosted: Fri Jan 02, 2004 6:14 am    Post subject: /var/db/pkg: what's the dif. between rdepend and pdepend? Reply with quote

Hey everyone. I was exploring the contents of /var and ran across /var/db/pkg. I took a look at some of the information and found dependencies for packages listed in pdepend, rdepend, and depend. I noticed that each was different, and was wondering, what's the difference?

James
Back to top
View user's profile Send private message
scout
Veteran
Veteran


Joined: 08 Mar 2003
Posts: 1991
Location: France, Paris en Semaine / Metz le W-E

PostPosted: Fri Jan 02, 2004 10:12 am    Post subject: Reply with quote

sometimes there are circular dependencies in portage: package A needs B but in your USE flag you put A and there is something in ebuild B that says: if there's the USE flag A, then we need A. But which one to compile first ?
I remeber there was such a circular dependency problem a few months ago with cups, gimp and gimp-print with some particular USE flags.
RDEPEND and PDEPEND are here to tell portage which package are really needed, so that it knows which one to compile first.
_________________
http://petition.eurolinux.org/ - Petition against ePatents
L'essence de la finesse
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9535
Location: beyond the rim

PostPosted: Fri Jan 02, 2004 4:24 pm    Post subject: Reply with quote

DEPEND = build time dependencies, needed to compile the package
RDEPEND = run time dependencies, needed by the package to work
PDEPEND = post-emerge dependencies, will be installed after the package (various reasons).

btw, all this is also in
Code:
man 5 ebuild
Back to top
View user's profile Send private message
MasquedAvenger
Guru
Guru


Joined: 21 Aug 2003
Posts: 559
Location: Southern California

PostPosted: Fri Jan 02, 2004 4:26 pm    Post subject: Reply with quote

Ah, I see. Thank you :)

James
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum