c++ – How to install V8 for R on CentOS 7

Been trying to install V8 on a CentOS 7 server, but, when trying to install it, I’m getting a sequence of errors bigger than the console. It seems to be because of this:

error This file requires compiler and library support for the ISO C++ 2011 standard. This
support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.

Installed libv8 and entered to .R/Makevars and added the following:

CFLAGS += -std=c++11

CFLAGS += -std=gnu++11

But I’m still not able to make it. I’m adding a couple of screenshots if they can help anyone:

Start of error:
enter image description here

End of error:

enter image description here

I’m using R 3.6.0 too. Any help would be appreciated

Read more here: Source link