Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Nov 1999 15:09:02 -0500 (EST)
From:      "Christopher T. Griffiths" <cgriffiths@quansoo.com>
To:        "Lowkrantz, Goran" <Goran.Lowkrantz@infologigruppen.se>
Cc:        ups@lists.exploits.org, freebsd-questions@FreeBSD.ORG
Subject:   RE: Problems with Freebsd3.3 -stable and NUT 0.42.0
Message-ID:  <Pine.BSF.4.10.9911021508380.6033-100000@defiant.quansoo.com>
In-Reply-To: <B500F74C6527D311B61F0000C0DF5ADC0D4829@valhall.ign.se>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <nut-0.42.0.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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9911021508380.6033-100000>