[CentOS] Re: g++ missing

Wed Apr 5 15:25:01 UTC 2006
Rex Dieter <rdieter at math.unl.edu>

Mark Richards wrote:
> 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:

Why bother?  It's included in CentOS.
$ yum install bison

> 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

$ yum install gcc-c++

-- Rex