make: g++: Command not found on CentOS/RHEL 7- FIXED

A repair for the g++ command didn’t discover an error whereas putting in nodejs packages.

I used to be putting in Browsertime on CentOS 7 and bumped into this error.

information sharp Downloading https://github.com/lovell/sharp-libvips/releases/obtain/v8.8.1/libvips-8.8.1-linux-x64.tar.gz
prebuild-install WARN set up No prebuilt binaries discovered (goal=11.15.0 runtime=node arch=x64 libc= platform=linux)
make: Getting into listing `/usr/lib/node_modules/browsertime/node_modules/sharp/construct'
  TOUCH Launch/obj.goal/libvips-cpp.stamp
  CXX(goal) Launch/obj.goal/sharp/src/frequent.o
make: g++: Command not discovered
make: *** [Release/obj.target/sharp/src/common.o] Error 127
make: Leaving listing `/usr/lib/node_modules/browsertime/node_modules/sharp/construct'
gyp ERR! construct error 
gyp ERR! stack Error: `make` failed with exit code: 2

Nicely, this will occur with any bundle that g++ library. To repair this error, you simply want to put in developer instruments yum like under command.

yum groupinstall 'Improvement Instruments'

Attempt to set up what you have been putting in. It labored for me, and I hope for you too.

Rate this post
porno izle altyazılı porno porno