1 |
I did not answer your questions... |
2 |
I want that information to a specific installed system. |
3 |
I can not handle the USE flags in gentoo.. What i really |
4 |
need is a information about "minimum" depends. What packages |
5 |
are requireds to each software to run (execute without errors). |
6 |
If the gentoo have a manner to give me that answer, thanks. If not, |
7 |
i will get a screenshot of dependences, with a gentoo system with |
8 |
a USE flags specific configurations. If you can send me a file that |
9 |
describes that to your home computer by example... thanks. In debian |
10 |
it is very, very simple. I have a computer with 600 installed packages, |
11 |
and with one command i get the "required" depends for each one. It is |
12 |
what i want from gentoo. :)) |
13 |
Thanks. |
14 |
|
15 |
On Sun, 18 Jul 2004, Georgi Georgiev wrote: |
16 |
|
17 |
> Date: Sun, 18 Jul 2004 02:15:46 +0900 |
18 |
> From: Georgi Georgiev <chutz@×××.net> |
19 |
> To: gentoo-dev@l.g.o |
20 |
> Subject: Re: [gentoo-dev] dependences |
21 |
> |
22 |
> maillog: 17/07/2004-16:09:08(+0000): omestre types |
23 |
>> |
24 |
>> Hello, |
25 |
>> My name is Leal, i'm working in my graduation monograph, |
26 |
>> and the subject is "GNU/Linux Distribution's application |
27 |
>> management software". Initially, I'm testing two distros... |
28 |
>> Debian and Gentoo. After that, i will try out fedora. I know |
29 |
>> Debian, but with gentoo i have found some "problems", and i'm |
30 |
>> asking you help, to make my work as right as possible. One of |
31 |
>> my principal tasks is determine how much dependences a package |
32 |
>> have. With "qpkg" i have got that informations for my installed |
33 |
>> gentoo system, but the "SYSTEM PROFILE" confuses me. Some packages |
34 |
>> have as dependence the word "SYSTEM PROFILE" that is not a package, |
35 |
>> but too many of them... So i have created a "fake" package "SYSTEM-PROFILE |
36 |
>> " to my tasks... The question is: There is a manner to extract the |
37 |
>> informations that i want, whithout this SYSTEM PROFILE? |
38 |
>> Well, in my opinion this procedure used by gentoo is "confuse" because |
39 |
>> creates global dependence. In production environments, the information |
40 |
>> about packages dependences (exactly) is essential. If one software |
41 |
>> dependes on libc6, i want to know that, and don't want know that it |
42 |
>> depends on SYSTEM PROFILE. In my home page have "graphs" and text files, |
43 |
>> take a look and tell me if gentoo give a tool to get the informations |
44 |
>> that i want: Especifics depends. |
45 |
> |
46 |
> I am not sure what you're trying to accomplish, and am pretty sure that those |
47 |
> numbers that you're gathering would make little sense in a cross-distribution |
48 |
> paper. Several other things that bother me: what do you do when useflags change |
49 |
> the number of dependcies? Or what do you do, if a dependency is not listed in |
50 |
> one distro, because it depends on something else that requires the other one |
51 |
> anyway. Something like having a dependency on gtk, but not on x11, because gtk |
52 |
> depends on x11 anyway. Take a look at what is listed in the ebuild for gedit, |
53 |
> and what it says on http://packages.debian.org/unstable/gnome/gedit for |
54 |
> example. |
55 |
> |
56 |
> Now to your question. Are you interested in run-time dependencies, or |
57 |
> compile-time dependencies? If you're comparing to a binary distribution, I'd |
58 |
> say you are looking for run-time deps, a.k.a RDEPEND, and here is how to find |
59 |
> both of them. |
60 |
> |
61 |
> emerge --pretend --emptytree |
62 |
> |
63 |
> This command will show you what packages are needed to get a given package |
64 |
> running on a fresh system. This is the best way to find all the dependencies |
65 |
> for a given package. However, since you probably want to differentiate between |
66 |
> DEPEND and RDEPEND, I suggest the following approach: |
67 |
> |
68 |
> mkdir /mnt/dummy |
69 |
> export ROOT=/mnt/dummy |
70 |
> emerge --pretend --emptytree gedit |
71 |
> |
72 |
> Running the same command as above, but with a different root, will tell you |
73 |
> what packages need be installed on your current system (if it were fresh) in |
74 |
> order to compile the package, and what packages need to be installed in the |
75 |
> $ROOT system (if it were fresh, and it really is fresh) in order to run the |
76 |
> package there. Those that are to be installed in /mnt/dummy are the run-time |
77 |
> dependencies. The rest are the compile-time dependencies. Version numbers |
78 |
> however, would be irrelevant, since they heavily depend on what is currently in |
79 |
> your portage tree and your ACCEPT_KEYWORDS. |
80 |
> |
81 |
> -- |
82 |
> \ Georgi Georgiev \ I cannot draw a cart, nor eat dried oats; \ |
83 |
> / chutz@×××.net / If it be man's work I will do it. / |
84 |
> \ +81(90)6266-1163 \ \ |
85 |
> |
86 |
> -- |
87 |
> gentoo-dev@g.o mailing list |
88 |
> |
89 |
> |
90 |
|
91 |
omestre@××××××××××××.org |
92 |
SDF Public Access UNIX System - http://sdf.lonestar.org |
93 |
|
94 |
-- |
95 |
gentoo-dev@g.o mailing list |