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