This is probably a basic, but I can't find any reference to it in the CentOS docs.  It appears g++ is not installed (or was not provided) in the CentOS distribution 4.2.  Should this be present or must it be installed manually?
 
I'm attempting to build gnu bison, and get:
 
source='calc++-scanner.cc' object='calc++-scanner.o' libtool=no \
DEPDIR=.deps depmode=none /bin/sh ../../build-aux/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../..      -c -o calc++-scanner.o calc++-scanner.cc
../../build-aux/depcomp: line 512: exec: g++: not found
make[4]: *** [calc++-scanner.o] Error 127
make[4]: Leaving directory `/root/bison-2.1/examples/calc++'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/root/bison-2.1/examples/calc++'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/bison-2.1/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/bison-2.1'
make: *** [all] Error 2