Problem building ROOT

Here is an error I receive when running make command. I am trying to install ROOT 5.99 (version 5 necessary for my simulations). I am doing this in vm virtualbox for Linux Ubuntu 14.04. Help would be appreciated with this.

asfont.c:67:33: fatal error: freetype/freetype.h: No such file or directory

include <freetype/freetype.h>

                             ^

compilation terminated.
make[1]: *** [asfont.o] Error 1
make[1]: Leaving directory /home/simon/MST/build/root/graf2d/asimage/src/libAfterImage' make: *** [graf2d/asimage/src/libAfterImage/libAfterImage.a] Error 2 simon@ubuntu-14045:~/MST/build/root$ make -j4 bin/rmkdepend -R -fmath/genvector/src/3DConversions.d -Y -w 1000 -- -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DR__HAVE_CONFIG -std=c++11 -Wno-deprecated-declarations -pthread -D__cplusplus -- /home/simon/MST/build/root/math/genvector/src/3DConversions.cxx *** Building libAfterImage ... bin/rmkdepend -R -fmath/genvector/src/3DDistances.d -Y -w 1000 -- -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DR__HAVE_CONFIG -std=c++11 -Wno-deprecated-declarations -pthread -D__cplusplus -- /home/simon/MST/build/root/math/genvector/src/3DDistances.cxx g++ -O2 -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DR__HAVE_CONFIG -std=c++11 -Wno-deprecated-declarations -pthread -o math/genvector/src/3DConversions.o -c /home/simon/MST/build/root/math/genvector/src/3DConversions.cxx make[1]: Entering directory/home/simon/MST/build/root/graf2d/asimage/src/libAfterImage’
gcc -m64 -O3 -DNO_DEBUG_OUTPUT -fPIC -I/usr/include/freetype2 -c asfont.c -o asfont.o
g++ -O2 -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DR__HAVE_CONFIG -std=c++11 -Wno-deprecated-declarations -pthread -o math/genvector/src/3DDistances.o -c /home/simon/MST/build/root/math/genvector/src/3DDistances.cxx
bin/rmkdepend -R -fmath/genvector/src/AxisAngle.d -Y -w 1000 – -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DR__HAVE_CONFIG -std=c++11 -Wno-deprecated-declarations -pthread -D__cplusplus – /home/simon/MST/build/root/math/genvector/src/AxisAngle.cxx
g++ -O2 -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DR__HAVE_CONFIG -std=c++11 -Wno-deprecated-declarations -pthread -o math/genvector/src/AxisAngle.o -c /home/simon/MST/build/root/math/genvector/src/AxisAngle.cxx
asfont.c:67:33: fatal error: freetype/freetype.h: No such file or directory

include <freetype/freetype.h>

                             ^

compilation terminated.
make[1]: *** [asfont.o] Error 1
make[1]: Leaving directory /home/simon/MST/build/root/graf2d/asimage/src/libAfterImage' make: *** [graf2d/asimage/src/libAfterImage/libAfterImage.a] Error 2 make: *** Waiting for unfinished jobs.... simon@ubuntu-14045:~/MST/build/root$ make install *** Building libAfterImage ... make[1]: Entering directory/home/simon/MST/build/root/graf2d/asimage/src/libAfterImage’
gcc -m64 -O3 -DNO_DEBUG_OUTPUT -fPIC -I/usr/include/freetype2 -c asfont.c -o asfont.o
asfont.c:67:33: fatal error: freetype/freetype.h: No such file or directory

include <freetype/freetype.h>

                             ^

compilation terminated.
make[1]: *** [asfont.o] Error 1
make[1]: Leaving directory `/home/simon/MST/build/root/graf2d/asimage/src/libAfterImage’
make: *** [graf2d/asimage/src/libAfterImage/libAfterImage.a] Error 2

Hi,

ROOT 5.99 is an early version of ROOT6: it cannot be used as a ROOT5 version.
More importantly, what is the reason why ROOT6 cannot be used? ROOT5 is maintenance mode since years and ROOT6 offers tons of new exciting features!

Cheers,
D

Hi Daniel,

I don’t really understand the deep reason why I can’t use ROOT 6. I am
doing this for a University project to run Monte Carlo simulations for Muon
Scattering Tomography. The analysis framework that we have built requires
ROOT 5, according to my supervisor. I had actually installed ROOT 6 before
this but, was told to get ROOT 5. Is there a version of ROOT 5 that I can
build?

Best Regards,

Simon

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.