Hi,
I am trying to install ROOT for the first time on Ubuntu and I am running into some problems.
I unpacked sources and then did
cmake -Dfortran=ON /home/valluk/ROOT/root-6.10.00
and then cmake --build .
I get next error:
[ 54%] Linking CXX executable src/rootcling_stage1
…/dictgen/CMakeFiles/Dictgen.dir/src/rootcling_impl.cxx.o: file not recognized: File truncated
collect2: error: ld returned 1 exit status
core/rootcling_stage1/CMakeFiles/rootcling_stage1.dir/build.make:213: recipe for target ‘core/rootcling_stage1/src/rootcling_stage1’ failed
make[2]: *** [core/rootcling_stage1/src/rootcling_stage1] Error 1
CMakeFiles/Makefile2:14695: recipe for target ‘core/rootcling_stage1/CMakeFiles/rootcling_stage1.dir/all’ failed
make[1]: *** [core/rootcling_stage1/CMakeFiles/rootcling_stage1.dir/all] Error 2
Makefile:149: recipe for target ‘all’ failed
make: *** [all] Error 2
It is my first attempt to fully switch to Ubuntu, so it would be really helpful if someone could provide a solution guide for beginners.
Did you restart an interrupted build? Or maybe you ran out of disk space? The problem is that an output file is truncated for some reason. Please restart with a fresh build.
The error above is from your compiler, not from ROOT. Maybe you ran out of memory and the process was killed? Please provide more information about your toolchain. All I can say with the information you provided is that the problem seems to be with your compiler and/or system configuration and not ROOT itself.