I am trying to install smupsd to monitor my UPS. System is RedHat 5.1 with patches. Dual PPro 180 with 2.0.35 kernel compiled for SMP. I found an RPM and installed it, but it is a libc5 binary and caused problems...log entries with incorrect time, etc. I then downloaded a libc6 smupsd-0.9.1-1.src.rpm and am attemting to compile it. I get this message when I run make in the src directory: ]# make gcc -Wall -O2 -c smups.cc gcc: installation problem, cannot exec `cc1plus': No such file or directory make: *** [smups.o] Error 1 ]# I added a -v to the Makefile for verbose output. <snip> CC = gcc CFLAGS = -v -Wall -O2 <snip> I then get: ]# make gcc -v -Wall -O2 -c smups.cc Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/specs gcc version 2.7.2.3 /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=7 -D__ELF__ -Dunix -Di386 -Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__linux__ -D__unix -D__i386 -D__linux -Asystem(unix) -Asystem(posix) -Acpu(i386) -Amachine(i386) -D__OPTIMIZE__ -Wall smups.cc /tmp/cca02751.ii GNU CPP version 2.7.2.3 (i386 Linux/ELF) #include "..." search starts here: #include <...> search starts here: /usr/include/g++ /usr/local/include /usr/i386-redhat-linux/include /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include /usr/include End of search list. cc1plus /tmp/cca02751.ii -quiet -dumpbase smups.cc -O2 -Wall -version -o /tmp/cca02751.s gcc: installation problem, cannot exec `cc1plus': No such file or directory make: *** [smups.o] Error 1 Is this telling me that the gcc/egcs compiler is not installed properly? ]# locate cc1plus /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.90.27/cc1plus ]# rpm -q gcc gcc-2.7.2.3-11 ]# rpm -q egcs egcs-1.0.2-8 Any ideas where to look? Thanks, Curt
