From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OZRxA-0006jb-94 for garchives@archives.gentoo.org; Thu, 15 Jul 2010 17:10:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EE284E099B; Thu, 15 Jul 2010 17:09:37 +0000 (UTC) Received: from mail-gx0-f181.google.com (mail-gx0-f181.google.com [209.85.161.181]) by pigeon.gentoo.org (Postfix) with ESMTP id D3C1DE099B for ; Thu, 15 Jul 2010 17:09:37 +0000 (UTC) Received: by gxk28 with SMTP id 28so980334gxk.40 for ; Thu, 15 Jul 2010 10:09:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=0nnMMbZoWHNqqtIm/hmG5kLUSQYTBtR+Tr/Rj74fDGs=; b=dDjicW+tpopNx7eK1OrwHRSvo/hHjgx1dxuLmcDWFJNL20057qTTdji51TzpPJq98Y XtU/a4FdgdqBa1oSgIaFqQD/lyX6z9LLxIIQskcM5rt0Jp0cXu4SHx1b7CMfun6ju5uE 7jfPxqWR/rrZrd8r9gGMu/MDYhHXGbLVmvrJc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=mQWBVU8tPTxCVzA/5dVvd2LUn9govmUqvrGr+HdRyqMyIxF+FTIwoobNiqjKC/6+qf OQAK/Ml4UsrW0w3jI+mj0P5u4L+WqO2R8FMJV7/9lpyKwtioXNXo+o0PU10MI1pSTP89 Gx32VoNg7Ciwez0dzaJTWIgejrjHL+H2ZNhPY= Received: by 10.151.134.34 with SMTP id l34mr90174ybn.263.1279213775028; Thu, 15 Jul 2010 10:09:35 -0700 (PDT) Received: from [192.168.1.2] (adsl-95-147-114.jan.bellsouth.net [98.95.147.114]) by mx.google.com with ESMTPS id q17sm1260570ybk.5.2010.07.15.10.09.32 (version=SSLv3 cipher=RC4-MD5); Thu, 15 Jul 2010 10:09:33 -0700 (PDT) Message-ID: <4C3F40CB.5030907@gmail.com> Date: Thu, 15 Jul 2010 12:09:31 -0500 From: Dale User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.10) Gecko/20100630 Gentoo/2.0.5 SeaMonkey/2.0.5 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] sys-power/nut-2.4.3-r2 fails to compile driver References: <4C3E88E4.3000509@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 70e2a9e4-e16e-4e0e-98bd-979436605b90 X-Archives-Hash: 58c4dd1824b68220a06a4225f0765078 Arttu V. wrote: > On 7/15/10, Dale wrote: > >> Hi folks, >> >> I'm trying to upgrade nut to the latest stable version. I have the >> driver set in make.conf and according to the website, it is the correct >> driver. I also while searching around noticed I need to make sure I >> have the driver in /lib/nut and sure enough, it is there. In make.conf >> I have this: >> >> NUT_DRIVERS="cyberpower" >> >> This is the error I am getting: >> >> make[1]: Entering directory >> `/var/tmp/portage/sys-power/nut-2.4.3-r2/work/nut-2.4.3/drivers' >> make[1]: *** No rule to make target `cyberpower', needed by `all-am'. Stop. >> make[1]: Leaving directory >> `/var/tmp/portage/sys-power/nut-2.4.3-r2/work/nut-2.4.3/drivers' >> make: *** [all-recursive] Error 1 >> * ERROR: sys-power/nut-2.4.3-r2 failed: >> * emake failed >> * >> * Call stack: >> * ebuild.sh, line 48: Called src_compile >> * environment, line 2904: Called _eapi2_src_compile >> * ebuild.sh, line 640: Called die >> * The specific snippet of code: >> * emake || die "emake failed" >> * >> * If you need support, post the output of 'emerge --info >> =sys-power/nut-2.4.3-r2', >> * the complete build log and the output of 'emerge -pqv >> =sys-power/nut-2.4.3-r2'. >> * The complete build log is located at >> '/var/log/portage/elog/sys-power:nut-2.4.3-r2:20100715-034546.log'. >> * The ebuild environment file is located at >> '/var/tmp/portage/sys-power/nut-2.4.3-r2/temp/environment'. >> * S: '/var/tmp/portage/sys-power/nut-2.4.3-r2/work/nut-2.4.3' >> >> >>> Failed to emerge sys-power/nut-2.4.3-r2, Log file: >> >> >>> '/var/log/portage/elog/sys-power:nut-2.4.3-r2:20100715-034546.log' >> * >> * The following package has failed to build or install: >> * >> * ('ebuild', '/', 'sys-power/nut-2.4.3-r2', 'merge'), Log file: >> * '/var/log/portage/elog/sys-power:nut-2.4.3-r2:20100715-034546.log' >> * >> root@smoker / # >> >> Any idea why it can't make my driver when it is the right one and is set >> in make.conf? What am I missing? Oh, this is connected to my serial >> port, NOT the USB port. >> > Wrong driver combined with outdated website info or other docs? > > I have no idea of their driver model but a hunch from the basis of > cups and a quick grep would lead me to suggest that cyberpower driver > possibly no longer exists. It might have been replaced by powerpanel: > > drivers/powerpanel.c: * powerpanel.c - Model specific routines for > CyberPower text/binary > That's what I was thinking but when I saw it still listed on the website I thought it would still be the right one. Maybe you are right tho, the website is out of date or something. It does list power panel too tho. I'll give it a try. Thanks. Dale :-) :-)