I meet some problem when installing the v6.18.04T
I selected -Dall=ON at cmake 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?
Yes you are right, I checked again and find the first error occour at 50%
I put the codes start from 45% under this link https://pastebin.com/HM0u7gEb
Sorry I can’t put all of them from 0%, that seems expire the size limit of pastebin to paste.
In file included from /home/lym/ROOT/root-6.18.04/graf3d/glew/src/glew.c:44:0:
/home/lym/ROOT/root/include/GL/glew.h:1141:10: fatal error: GL/glu.h: No such file or directory
#include <GL/glu.h>
^~~~~~~~~~
compilation terminated.
graf3d/glew/CMakeFiles/GLEW.dir/build.make:62: recipe for target 'graf3d/glew/CMakeFiles/GLEW.dir/src/glew.c.o' failed
make[2]: *** [graf3d/glew/CMakeFiles/GLEW.dir/src/glew.c.o] Error 1
The above is the real problem. You probably don’t have dependencies required to build all options you enabled. In this case, you’d have to disable OpenGL support or install GLEW and GLU/GLUT.