[Nut-upsuser] Powerware 5115 on Debian Etch
Kjell Claesson
kjell.claesson at epost.tidanet.se
Mon Feb 18 15:18:06 UTC 2008
Den Monday 18 February 2008 16.03.23 skrev Daniel Nyström:
OK,
> Thanks! Forgot it didn't come with the repo. :)
>
> Now it do compile, but "configure" didn't find my missing
> "dbus/dbus-glib.h". Maybe something to add to autoconf?
>
> But doing "make install" still halts:
>
Yep there have been some issues with the install path.
But as I think you are going to run nut as standard and not with
hal, you may add --whitout-hal to the configure.
As it looks like it stop on that.
Kjell
> /bin/sh ../libtool --mode=install /usr/bin/install -c 'mge-xml'
> '/opt/nut/bin/mge-xml'
> /usr/bin/install -c mge-xml /opt/nut/bin/mge-xml
> /bin/sh ../libtool --mode=install /usr/bin/install -c 'upsdrvctl'
> '/opt/nut/bin/upsdrvctl'
> /usr/bin/install -c upsdrvctl /opt/nut/bin/upsdrvctl
> test -z "" || /bin/mkdir -p ""
> /bin/sh ../libtool --mode=install /usr/bin/install -c
> 'hald-addon-usbhid-ups' '/hald-addon-usbhid-ups'
> libtool: install: `' must be an absolute directory name
> Try `libtool --help --mode=install' for more information.
> make[2]: *** [install-halexecPROGRAMS] Error 1
> make[2]: Leaving directory `/home/daniel/nut-trunk/drivers'
> make[1]: *** [install-am] Error 2
> make[1]: Leaving directory `/home/daniel/nut-trunk/drivers'
> make: *** [install-recursive] Error 1
> daniel at proliant:~/nut-trunk$
>
> I guess it's pretty simple, since all other files works.
>
> Kjell Claesson wrote:
> > Den Monday 18 February 2008 15.25.26 skrev Daniel Nyström:
> > OK,
> >
> > There have been some updates to the configure script and some other
> > things.
> >
> > You may have to do a 'autoreconf' first so you have a fresh configure
> > script.
> >
> > Kjell
> >
> >> I just updated my svn checkout (now revision 1308), but it wasn't even
> >> able to compile at all;
> >>
> >> daniel at proliant:~/nut-trunk$ ./configure --with-usb --without-ssl
> >> --without-snmp --without-serial --without-ipv6 --prefix=/opt/nut
> >>
> >> [..snip...]
> >>
> >> daniel at proliant:~/nut-trunk$ make
> >> [..snip...]
> >> gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O -Wall
> >> -Wsign-compare -MT sstate.o -MD -MP -MF .deps/sstate.Tpo -c -o sstate.o
> >> sstate.c
> >> mv -f .deps/sstate.Tpo .deps/sstate.Po
> >> make[1]: *** No rule to make target `access.o', needed by `upsd'. Stop.
> >> make[1]: Leaving directory `/home/daniel/nut-trunk/server'
> >> make: *** [all-recursive] Error 1
> >> daniel at proliant:~/nut-trunk$
> >>
> >> Ideas?
> >>
> >> Kjell Claesson wrote:
> >>> Den Monday 18 February 2008 10.51.35 skrev Daniel Nyström:
> >>>
> >>> Hi Daniel,
> >>>
> >>> This is fixed in tha latest trunk and also in the testing branch that
> >>> is going to be the next release.
> >>>
> >>> You can grab a tarball from http://buildbot.ghz.cc/public/nut/ for
> >>> Debian Etch. If you want to try this out.
> >>>
> >>> Regards
> >>> Kjell
> >>>
> >>> P.S. Driver version should be 0.14 to have the fix.
> >>>
> >>>> Bumping this one, as there seems to be others having similar problems.
> >>>>
> >>>> Any ideas?
> >>>>
> >>>> Daniel Nyström wrote:
> >>>>> I've got some strange problem with NUT on my 5115 on Debian Etch:
> >>>>> ---snip---
> >>>>> $ sudo ./bcmxcp_usb -DDDDDDD -a 5115 -u root
> >>>>> Network UPS Tools - BCMXCP UPS driver 0.13 (2.3.0-1181)
> >>>>>
> >>>>> Warning: This is an experimental driver.
> >>>>> Some features may not function correctly.
> >>>>>
> >>>>> debug level is '7'
> >>>>> Communications with UPS lost: Receive error (Request command):
> >>>>> COMMAND: 31
> >>>>>
> >>>>> RECONNECT USB DEVICE
> >>>>>
> >>>>> Communications with UPS lost: Receive error (Request command):
> >>>>> COMMAND: 31
> >>>>>
> >>>>> RECONNECT USB DEVICE
> >>>>>
> >>>>> Communications with UPS lost: Receive error (Request command):
> >>>>> COMMAND: 31
> >>>>>
> >>>>> RECONNECT USB DEVICE
> >>>>>
> >>>>> Communications with UPS lost: Receive error (Request command):
> >>>>> COMMAND: 31
> >>>>>
> >>>>> RECONNECT USB DEVICE
> >>>>>
> >>>>> Communications with UPS lost: Receive error (Request command):
> >>>>> COMMAND: 31
> >>>>>
> >>>>> RECONNECT USB DEVICE
> >>>>>
> >>>>> Communications with UPS lost: Error executing command
> >>>>> Could not communicate with the ups: Inappropriate ioctl for device
> >>>>> ---snip---
> >>>>>
> >>>>> Saw a similar issue earlier on this list, but it was never solved.
> >>>>> Any ideas?
> >>>>
> >>>> _______________________________________________
> >>>> Nut-upsuser mailing list
> >>>> Nut-upsuser at lists.alioth.debian.org
> >>>> http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
> >>
> >> _______________________________________________
> >> Nut-upsuser mailing list
> >> Nut-upsuser at lists.alioth.debian.org
> >> http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
>
> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
More information about the Nut-upsuser
mailing list