Quote:
Originally Posted by macemoneta
Just use apcupsd to control the shutdown and monitoring of your UPS. It works fine on any network of Linux machines. I even run slaves on laptops connected to the network, so they shutdown gracefully before their internal batteries die.
|
Hi, i didnt find any rmp for my slackware 10.1 so i downloaded the .tar.gz source code, i have everithing needed for compile it, such as gcc, gawk, grep, ett, but it cannot compile it this is the ouput of the execution of the ./configure command:
--------------------------------------------------------
root@nas1:/home/workware/Aldo/apc/apcupsd-3.12.3# ./configure
checking for true... /bin/true
checking for false... /bin/false
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking whether gcc and cc understand -c and -o together... yes
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking for gawk... gawk
checking for library containing strerror... none required
checking for g++... g++
configure: error: Unable to find C++ compiler
root@nas1:/home/workware/Aldo/apc/apcupsd-3.12.3#
--------------------------------------------------------