CentOS release 5.11 (Final), CentOS release 6.6 (Final) x64 test passed.
The gcc version, the glibc version, the libstdc++.so.6 version, the gnu-binutils version, the tar version, the python version, and the re2c version must all be correct. In the end, the one that is already vomiting blood needs a higher version of glibc. It can't be done, and the risk would be too great if we insist on doing it.
The latest version of v8js, 0.1.5beta, cannot be used on CentOS5. Various version dependencies cannot be used, so the old version is used.
Version:
Note:
When installing gcc, contrib/download_prerequisites can automatically download the required dependencies.
If it is a 64-bit system, you need yum install glibc-devel.i686 libstdc++.i686, etc.
make -j4 uses 4 logical CPUs to compile, which can speed up the compilation, but it may be unstable and cause internal errors and the like. Just remove -j4. Personal experience is that don't use the -j parameter, it is easy to encounter nausea problems.
For a 64-bit system, if php is installed with yum, php is 64-bit, and 64-bit libv8.so needs to be compiled (make x64.release library=shared).