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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20060405/8c2e5508/attachment-0001.html>
On Wed, Apr 05, 2006 at 11:20:12AM -0400, Mark Richards enlightened us:> 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? >It's provided, you just didn't install it. Hint: man yum and look for provides Matt -- Matt Hyclak Department of Mathematics Department of Social Work Ohio University (740) 593-1263
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