Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

apcupsd-3.10.6 without /usr/sbin/apcupsd

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
sg00
n00b
n00b
User avatar
Posts: 20
Joined: Mon Feb 24, 2003 11:34 am
Location: Vilnius, Lithuania

apcupsd-3.10.6 without /usr/sbin/apcupsd

  • Quote

Post by sg00 » Thu Nov 20, 2003 8:52 am

Hi,
I've emerged apcupsd-3.10.6, but trying to start it
/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
Top
Borusa
n00b
n00b
Posts: 1
Joined: Sat Nov 22, 2003 11:14 pm
Location: Palm Beach Gardens, FL USA

Re: apcupsd-3.10.6 without /usr/sbin/apcupsd

  • Quote

Post by Borusa » Sat Nov 22, 2003 11:25 pm

sg00 wrote:Hi,
I've emerged apcupsd-3.10.6, but trying to start it
/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.
Top
Dixie_Flatline
n00b
n00b
User avatar
Posts: 6
Joined: Tue Oct 29, 2002 2:36 pm

  • Quote

Post by Dixie_Flatline » Tue Dec 02, 2003 8:44 pm

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: Select all

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.
Top
bruor
Apprentice
Apprentice
Posts: 239
Joined: Tue Jul 08, 2003 8:12 am

  • Quote

Post by bruor » Wed Jul 21, 2004 2:34 am

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

Code: Select all

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: Select all

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

Code: Select all

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.
Top
Post Reply

4 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic