Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] sys-power/nut-2.4.3-r2 fails to compile driver
Date: Thu, 15 Jul 2010 17:10:32
Message-Id: 4C3F40CB.5030907@gmail.com
In Reply to: Re: [gentoo-user] sys-power/nut-2.4.3-r2 fails to compile driver by "Arttu V."
1 Arttu V. wrote:
2 > On 7/15/10, Dale<rdalek1967@×××××.com> wrote:
3 >
4 >> Hi folks,
5 >>
6 >> I'm trying to upgrade nut to the latest stable version. I have the
7 >> driver set in make.conf and according to the website, it is the correct
8 >> driver. I also while searching around noticed I need to make sure I
9 >> have the driver in /lib/nut and sure enough, it is there. In make.conf
10 >> I have this:
11 >>
12 >> NUT_DRIVERS="cyberpower"
13 >>
14 >> This is the error I am getting:
15 >>
16 >> make[1]: Entering directory
17 >> `/var/tmp/portage/sys-power/nut-2.4.3-r2/work/nut-2.4.3/drivers'
18 >> make[1]: *** No rule to make target `cyberpower', needed by `all-am'. Stop.
19 >> make[1]: Leaving directory
20 >> `/var/tmp/portage/sys-power/nut-2.4.3-r2/work/nut-2.4.3/drivers'
21 >> make: *** [all-recursive] Error 1
22 >> * ERROR: sys-power/nut-2.4.3-r2 failed:
23 >> * emake failed
24 >> *
25 >> * Call stack:
26 >> * ebuild.sh, line 48: Called src_compile
27 >> * environment, line 2904: Called _eapi2_src_compile
28 >> * ebuild.sh, line 640: Called die
29 >> * The specific snippet of code:
30 >> * emake || die "emake failed"
31 >> *
32 >> * If you need support, post the output of 'emerge --info
33 >> =sys-power/nut-2.4.3-r2',
34 >> * the complete build log and the output of 'emerge -pqv
35 >> =sys-power/nut-2.4.3-r2'.
36 >> * The complete build log is located at
37 >> '/var/log/portage/elog/sys-power:nut-2.4.3-r2:20100715-034546.log'.
38 >> * The ebuild environment file is located at
39 >> '/var/tmp/portage/sys-power/nut-2.4.3-r2/temp/environment'.
40 >> * S: '/var/tmp/portage/sys-power/nut-2.4.3-r2/work/nut-2.4.3'
41 >>
42 >> >>> Failed to emerge sys-power/nut-2.4.3-r2, Log file:
43 >>
44 >> >>> '/var/log/portage/elog/sys-power:nut-2.4.3-r2:20100715-034546.log'
45 >> *
46 >> * The following package has failed to build or install:
47 >> *
48 >> * ('ebuild', '/', 'sys-power/nut-2.4.3-r2', 'merge'), Log file:
49 >> * '/var/log/portage/elog/sys-power:nut-2.4.3-r2:20100715-034546.log'
50 >> *
51 >> root@smoker / #
52 >>
53 >> Any idea why it can't make my driver when it is the right one and is set
54 >> in make.conf? What am I missing? Oh, this is connected to my serial
55 >> port, NOT the USB port.
56 >>
57 > Wrong driver combined with outdated website info or other docs?
58 >
59 > I have no idea of their driver model but a hunch from the basis of
60 > cups and a quick grep would lead me to suggest that cyberpower driver
61 > possibly no longer exists. It might have been replaced by powerpanel:
62 >
63 > drivers/powerpanel.c: * powerpanel.c - Model specific routines for
64 > CyberPower text/binary
65 >
66
67 That's what I was thinking but when I saw it still listed on the website
68 I thought it would still be the right one. Maybe you are right tho, the
69 website is out of date or something. It does list power panel too tho.
70 I'll give it a try.
71
72 Thanks.
73
74 Dale
75
76 :-) :-)

Replies

Subject Author
Re: [gentoo-user] sys-power/nut-2.4.3-r2 fails to compile driver Dale <rdalek1967@×××××.com>