Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Nov 1999 20:52:33 +0100 
From:      "Lowkrantz, Goran" <Goran.Lowkrantz@infologigruppen.se>
To:        "'Christopher T. Griffiths'" <cgriffiths@quansoo.com>, "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:  <B500F74C6527D311B61F0000C0DF5ADC0D4829@valhall.ign.se>

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


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?B500F74C6527D311B61F0000C0DF5ADC0D4829>