Monday, July 5, 2004
Compiling Apcupsd in Slackware 10 -- 9:40 am CST, Update by A.T. Hun
I had a problem getting Apcupsd (a Linux UPS monitoring program) to compile with Slackware 10. It seems that recently some changes have been made to the kernel headers with USB. Thankfully, there is a reasonably easy solution. Edit the file src/drivers/usb/linux-usb.c in Apcupsd's source. Before any of the #include statements, add this line:
#define HID_MAX_USAGES 0
Once that is done, everything should compile just fine. This only affects people with USB-equipped UPSes.
Recent Headlines
January 5, 2015: It Returns!
August 10, 2007: SCO SUCKS IT DOWN!
July 5, 2007: Slackware 12.0 Released
May 20, 2007: PhpBB 3.0 RC 1 Released
February 2, 2007: DOOM3 1.31 Patch
January 27, 2007: Join the World Community Grid
January 17, 2007: Flash Player 9 for Linux
December 30, 2006: Darkness over Daggerford 1.2
December 19, 2006: Pocket Tunes 4.0 Released
December 9, 2006: WRT54G 1.01.1 Firmware OK with Linux/Mac
The Haus is powered by:
All original information on this website is copyright © TheHaus.Net, 1999-2005. The use of original images, text, and/or code from this website without expressed written consent is prohibited. The authors of this site cannot be held responsible for any damage, real or imagined, which comes from the use of information presented on this site. All trademarks used are the properties of their respective owners. This site is not to be used as a floatation device (but if you try, I want a video tape of it).