From owner-freebsd-questions Tue Nov 2 12: 9:43 1999 Delivered-To: freebsd-questions@freebsd.org Received: from defiant.quansoo.com (defiant.quansoo.com [63.66.225.90]) by hub.freebsd.org (Postfix) with ESMTP id 0815414F10 for ; Tue, 2 Nov 1999 12:09:38 -0800 (PST) (envelope-from cgriffiths@quansoo.com) Received: from localhost (cgriffiths@localhost) by defiant.quansoo.com (8.9.3/8.9.3) with ESMTP id PAA06076; Tue, 2 Nov 1999 15:09:03 -0500 (EST) (envelope-from cgriffiths@quansoo.com) X-Authentication-Warning: defiant.quansoo.com: cgriffiths owned process doing -bs Date: Tue, 2 Nov 1999 15:09:02 -0500 (EST) From: "Christopher T. Griffiths" To: "Lowkrantz, Goran" Cc: ups@lists.exploits.org, freebsd-questions@FreeBSD.ORG Subject: RE: Problems with Freebsd3.3 -stable and NUT 0.42.0 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks, this finally works. Chris On Tue, 2 Nov 1999, Lowkrantz, Goran wrote: > Hi Chris, > > This is my config line: > > ./configure --libdir=/usr/local/lib --includedir=/usr/local/include \ > --sysconfdir=/usr/local/etc/ups --enable-celsius --with-uid=66 --with-gid=66 > > Cheers, > GLZ > > -----Original Message----- > From: Christopher T. Griffiths [mailto:cgriffiths@quansoo.com] > Sent: Tuesday, November 02, 1999 7:22 PM > To: Lowkrantz, Goran > Cc: ups@lists.exploits.org; freebsd-questions@FreeBSD.ORG > Subject: RE: Problems with Freebsd3.3 -stable and NUT 0.42.0 > > > I have applied the following patch after I run configure using the > following: > > # ./configure > > # patch > # make > > # make install > > # make install-cgi > > Then I edited the etc stuff and ran: > > # /usr/local/ups/bin/apcsmart /dev/cuaa0 > > and I now got: > > Network UPS Tools - APC Smart protocol driver 0.20 (0.42.0) > Unable to open (1) /dev/cuaa0: Permission denied > > > I just did a default configure, do I need to specify gid and uid? > Am I missing something? > > > Thanks in advance. > > Chris > > > On Tue, 2 Nov 1999, Lowkrantz, Goran wrote: > > > Hi Chris, > > > > I found that this was due to a second attempt to lock the the port. The > > config script don't find GD for me, so I had to patch the include/config.h > > after configure. I also had problems with the CFLAGS and LDFLAGS that had > to > > be declared outside the make. > > > > I have attached the patch for you. > > > > Cheers, > > GLZ > Christopher T. Griffiths Senior Network/Systems Administrator Quansoo Group Inc. cgriffiths@quansoo.com Phone: (302) 777-4141 Fax: (302) 777-4142 Mobile: (302) 521-3436 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message