Error when installing ROOT6.18.04

Please read tips for efficient and successful posting and posting code

ROOT Version: 6.18.04
Compiler: CMake

Hello guys

I meet some problem when installing the v6.18.04T
I selected -Dall=ON before build and it run smoothly,
but when I do the cmake build it turns out an error at 57% as

[ 57%] Building CXX object core/base/CMakeFiles/Base.dir/src/TVirtualPS.cxx.o
[ 57%] Building CXX object core/base/CMakeFiles/Base.dir/src/TVirtualViewer3D.cxx.o
[ 57%] Building CXX object core/base/CMakeFiles/Base.dir/src/TVirtualX.cxx.o
[ 57%] Built target Base
Makefile:151: recipe for target ‘all’ failed
make: *** [all] Error 2

Some websites said it may because I run out of disk or RAM space but it is not likely, It is not run it on a VM and I have plenty of either disk or RAM space
How can I solve it?


Duplicate of Error when instaling to about 57%