View previous topic :: View next topic |
Author |
Message |
MasquedAvenger Guru
Joined: 21 Aug 2003 Posts: 559 Location: Southern California
|
Posted: Fri Jan 02, 2004 6:14 am Post subject: /var/db/pkg: what's the dif. between rdepend and pdepend? |
|
|
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 |
|
|
scout Veteran
Joined: 08 Mar 2003 Posts: 1991 Location: France, Paris en Semaine / Metz le W-E
|
Posted: Fri Jan 02, 2004 10:12 am Post subject: |
|
|
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 |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9535 Location: beyond the rim
|
Posted: Fri Jan 02, 2004 4:24 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
MasquedAvenger Guru
Joined: 21 Aug 2003 Posts: 559 Location: Southern California
|
Posted: Fri Jan 02, 2004 4:26 pm Post subject: |
|
|
Ah, I see. Thank you
James |
|
Back to top |
|
|
|