Hi Jeronimo,
2008/2/24, xdark1 at aim.com <xdark1 at aim.com>:> Hi, i new on this list i don't know if this goes on development list or
this
> list, i have a ups Tripp Lite 750AVR(lusb info in the attach) , i
retrieve
> the current development tree from the subvervsion repo, and trying to
> compile NUT on Fedora8 to test the usb driver.
you're on the right list ;-)
> the configure is ok:
not fully in fact... see below
> Configuration summary:
> enable SSL development code: yes
> enable IPv6 support: yes
> build CGI programs: no
> build upsclient library: no
> build serial drivers: yes
> build SNMP drivers: no
> build USB drivers: hiddev-based drivers only
the driver you need (seems usbhid-ups) requires libusb
just install libusb devel, configure and make again.
> enable HAL support: no
> enable MGE XML/HTTP support: yes
> build neon based XML driver: no
>
>
>
> but got compilation errors
>
> /bin/sh ../libtool --tag=CC --mode=link gcc -I../include -O -Wall
> -Wsign-compare -o upsc upsc.o ../common/libcommon.a -lupsclient -lssl
> -lcrypto
> gcc -I../include -O -Wall -Wsign-compare -o upsc upsc.o
> ../common/libcommon.a -lupsclient -lssl -lcrypto
> /usr/bin/ld: cannot find -lupsclient
> collect2: ld returned 1 exit status
> make[1]: *** [upsc] Error 1
> make[1]: Leaving directory
> `/home/strafe/nut-subversion/trunk/clients'
> make: *** [all-recursive] Error 1
well, this is another problem here!
nut's internal libupsclient is not found.
I recall earlier this week, that Kjell mentioned such an issue on gentoo iirc.
but I don't recall what was the cause.
please post a complete make log (gzip'ed)
Arnaud
--
Linux / Unix Expert R&D - MGE Office Protection Systems -
http://www.mgeops.com
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
Free Software Developer - http://arnaud.quette.free.fr/