1 |
On Sun, 2009-08-23 at 09:42 +0200, Jarry wrote: |
2 |
> Hi, |
3 |
> |
4 |
> I'm trying to install lm_sensors using gentoo-wiki, but I came |
5 |
> accros some dependency problem: |
6 |
> ____________________________ |
7 |
> |
8 |
> # emerge --pretend lm_sensors |
9 |
> These are the packages that would be merged, in order: |
10 |
> Calculating dependencies... done! |
11 |
> [ebuild N ] sys-fs/sysfsutils-2.1.0 |
12 |
> [ebuild N ] x11-misc/read-edid-1.4.2 |
13 |
> [ebuild N ] sys-apps/lm_sensors-2.10.7 USE="-sensord" |
14 |
> ____________________________ |
15 |
> |
16 |
> What is that x11-misc/read-edid good for? I do not want to pull |
17 |
> the whole x11 stuff with it, as this is a server with no graphics. |
18 |
> |
19 |
|
20 |
http://bugs.gentoo.org/181029 |
21 |
|
22 |
> Next, I want to use sensord for monitoring, so I modified |
23 |
> package.use and tried it once more: |
24 |
> ____________________________ |
25 |
> |
26 |
> # echo "sys-apps/lm_sensors sensord" >> /etc/portage/package.use |
27 |
> # emerge --pretend lm_sensors |
28 |
> These are the packages that would be merged, in order: |
29 |
> Calculating dependencies... done! |
30 |
> |
31 |
> emerge: there are no ebuilds built with USE flags to satisfy |
32 |
> ">=x11-libs/cairo-1.4.6[svg]". |
33 |
> !!! One of the following packages is required to complete your request: |
34 |
> - x11-libs/cairo-1.8.6-r1 (Change USE: +svg) |
35 |
> (dependency required by "net-analyzer/rrdtool-1.3.8" [ebuild]) |
36 |
> (dependency required by "sys-apps/lm_sensors-2.10.7" [ebuild]) |
37 |
> (dependency required by "lm_sensors" [argument]) |
38 |
> ____________________________ |
39 |
> |
40 |
> Now I do not understand it at all. Why rrdtool? All I want |
41 |
> to use sensord for is to have some status messages recorded |
42 |
> to syslog. Why should I install that x11-libs/cairo graphics |
43 |
> library and rrdtool stuff??? |
44 |
|
45 |
Likely sensord does a lot more than recording to syslog. |
46 |
|
47 |
rrdtools is used as a database but also used to build graphs from its |
48 |
database, which probably explains cairo. Cairo is a graphics library |
49 |
that can render to multiple devices including X11. |
50 |
|
51 |
If you want you can submit a patched ebuild for rrdtool that maybe uses |
52 |
a cairo USE flag and clearly separates the graphics system from the |
53 |
database system. You'll probably need to work closely with upstream for |
54 |
that. |
55 |
|
56 |
If you want you can submit a patched ebuild for cairo that maybe uses an |
57 |
X use flag that clearly separates the X11 rendering backend from the |
58 |
others. You'll probably need to work closely with upstream for that. |
59 |
|
60 |
-a |