Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
apcupsd-3.10.6 without /usr/sbin/apcupsd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
sg00
n00b
n00b


Joined: 24 Feb 2003
Posts: 20
Location: Vilnius, Lithuania

PostPosted: Thu Nov 20, 2003 8:52 am    Post subject: apcupsd-3.10.6 without /usr/sbin/apcupsd Reply with quote

Hi,
I've emerged apcupsd-3.10.6, but trying to start it
Quote:

/etc/init.d/apcupsd.start
* Starting APC UPS daemon...
start-stop-daemon: stat /usr/sbin/apcupsd: No such file or directory [ !! ]


it doesn't start because /usr/sbin/apcupsd can not be found.

Where can I find it? Any clues?

Regards,

--
sg00
Back to top
View user's profile Send private message
Borusa
n00b
n00b


Joined: 22 Nov 2003
Posts: 1
Location: Palm Beach Gardens, FL USA

PostPosted: Sat Nov 22, 2003 11:25 pm    Post subject: Re: apcupsd-3.10.6 without /usr/sbin/apcupsd Reply with quote

sg00 wrote:
Hi,
I've emerged apcupsd-3.10.6, but trying to start it
Quote:

/etc/init.d/apcupsd.start
* Starting APC UPS daemon...
start-stop-daemon: stat /usr/sbin/apcupsd: No such file or directory [ !! ]


it doesn't start because /usr/sbin/apcupsd can not be found.

Where can I find it? Any clues?


I discovered something similar during a recent update. The symptom for me was apcaccess not being found.

I removed the package and re-emerged it while watching the screen and found there were some errors in compiling. I am in the process of downgrading to apcupsd-3.10.5 for the near future. If I have some spare time, I intend to try looking into why the compile failed.
Back to top
View user's profile Send private message
Dixie_Flatline
n00b
n00b


Joined: 29 Oct 2002
Posts: 6

PostPosted: Tue Dec 02, 2003 8:44 pm    Post subject: Reply with quote

It's failing because apcupsd doesn't want to compile with the net-snmp headers, so none of the binaries actually get built. (I don't know Portage well enough to figure out why the emerge still succeeds.)

Works fine for me if I use "-snmp" when building, i.e.:

Code:
USE="-snmp" emerge apcupsd


I think this is going to be the long-term solution -- the maintainer, Kern Sibbald, has said on the apcupsd mailing list that there's no one left who understands the SNMP driver in apcupsd, so I don't expect it to be updated to work with net-snmp anytime soon.
Back to top
View user's profile Send private message
bruor
Apprentice
Apprentice


Joined: 08 Jul 2003
Posts: 239

PostPosted: Wed Jul 21, 2004 2:34 am    Post subject: Reply with quote

this is a bit of a resurrection for this thread but im getting the same problem now....

Code:
In file included from linux-usb.c:21:
/usr/include/linux/hiddev.h:134: error: `HID_MAX_USAGES' undeclared here (not in a function)
gmake[3]: *** [linux-usb.o] Error 1

Code:
/usr/bin/ranlib libdrivers.a
touch net_stamp
gmake[2]: *** No rule to make target `usb/libusb.a', needed by `usb_stamp'.  Stop.

Code:

gcc -g -O  apcupsd.o apcoptd.o apcnet.o apcreports.o apcaction.o apcnis.o apcdevice.o /var/tmp/portage/apcupsd-3.10.10-r2/work/apcupsd-3.10.10/src/drivers/libdrivers.a /var/tmp/portage/apcupsd-3.10.10-r2/work/apcupsd-3.10.10/src/lib/libapc.a  -lpthread    -o apcupsd
apcupsd.o(.text+0x33f): In function `main':
: undefined reference to `attach_driver'
collect2: ld returned 1 exit status
gmake[1]: *** [apcupsd] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/apcupsd-3.10.10-r2/work/apcupsd-3.10.10/src'


despite these problems, it emerges successfully, if anyone has an idea what to try please let me know.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum