Re: [Nut-upsuser] Cyberpower Value 600E UPS (USB) is not recognized by usbhid-ups under FreeBSD 7.2

2009-05-19 Thread forsite
Hmm... Interesting. I have looked through the mailing-list archives
and encountered that libusb-based
packages such as NUT do not work with uhid* device nodes (where my UPS
currently sits).

http://lists.alioth.debian.org/pipermail/nut-upsuser/2008-July/004260.html

I suppose I need to find a workaround.  I will keep you posting on the results.

Rgs,
forsite

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Compiling NUT static binaries

2009-05-19 Thread cooleyr
On Tue, May 19, 2009 at 2:21 PM, cool...@gmail.com wrote:


 I expect there's some libtool / gcc linking flag I'm ignorant of, or
 neglecting to use, but extensive trial and error has not found it.
 [-Xlinker] -all-static , -without-shared, -static-libtool-libs, etc. have
 not had any effect on the end binary.


Problem solved.

The ./configure script errors-out when LDxxx=-all-static is used,
with/without -Xlinker.   However, there's nothing actually wrong with using
the option on this or other systems... It's merely ./configure
brain-damage.

After running configure without the option, adding the -all-static option to
the LDFLAGS of each individual Makefile (in my case, just
nut-2.4.1/clients/Makefile) works perfectly.

I only hope my hours of neddless suffering helps someone.
___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser