Problems with installing root 6.04.06

Hi,

I try install root v6.04.06 in another computer with steps BUILDING ROOT https://root.cern.ch/building-root but when I run step 6, the installation process stop at 42%

linux@LSD05:~/root$ sudo cmake --build /home/linux/root/ --target install linux@LSD05:~/root$ sudo cmake --build /home/linux/root/ --target install [ 0%] Built target LZMA [ 2%] Built target LLVMSupport ... ... [ 25%] Built target LLVMInstCombine [ 26%] Built target LLVMTransformUtils [ 26%] Built target LLVMInstrumentation [ 27%] Built target LLVMipo [ 27%] Built target LLVMVectorize [ 28%] Built target LLVMObjCARCOpts [ 28%] Built target LLVMLinker [ 28%] Built target LLVMipa [ 30%] Built target LLVMAnalysis [ 30%] Built target LLVMMCDisassembler [ 31%] Built target LLVMMC [ 31%] Built target LLVMObject [ 31%] Built target LLVMMCParser [ 31%] Built target LLVMOption [ 31%] Built target LLVMExecutionEngine [ 31%] Built target LLVMOrcJIT [ 31%] Built target LLVMMCJIT [ 31%] Built target LLVMRuntimeDyld [ 31%] Built target LLVMTarget [ 31%] Updating X86GenRegisterInfo.inc... [ 31%] Updating X86GenDisassemblerTables.inc... [ 31%] Updating X86GenInstrInfo.inc... [ 31%] Updating X86GenAsmWriter.inc... [ 31%] Updating X86GenAsmWriter1.inc... [ 31%] Updating X86GenAsmMatcher.inc... [ 31%] Updating X86GenDAGISel.inc... [ 31%] Updating X86GenFastISel.inc... [ 31%] Updating X86GenCallingConv.inc... [ 31%] Updating X86GenSubtargetInfo.inc... [ 31%] Built target X86CommonTableGen [ 31%] Built target LLVMX86AsmParser [ 32%] Built target LLVMX86CodeGen [ 32%] Built target LLVMX86Disassembler [ 32%] Built target LLVMX86AsmPrinter [ 32%] Built target LLVMX86Utils [ 32%] Built target LLVMX86Info [ 32%] Built target LLVMX86Desc [ 32%] Built target LLVMAsmParser [ 34%] Built target LLVMProfileData [ 35%] Built target clangLex [ 36%] Built target clangParse [ 37%] Built target clangSema [ 37%] Built target clangAnalysis [ 37%] Built target clangEdit [ 37%] Built target clangDriver [ 38%] Built target clangSerialization [ 39%] Built target clangFrontend [ 40%] Built target Clib [ 40%] Built target MetaUtils [ 40%] Built target MetaUtilsLLVM [ 42%] Built target rootcling_tmp [ 42%] Generating G__IO.cxx, ../../lib/libRIO.rootmap ERROR in cling::CIFactory::createCI(): resource directory /home//root/etc/cling/lib/clang/3.7.0 not found! In file included from input_line_4:2: /usr/include/stdlib.h:32:10: fatal error: 'stddef.h' file not found #include <stddef.h> ^ Error: Error loading the default header files. make[2]: *** [io/io/G__IO.cxx] Error 1 make[1]: *** [io/io/CMakeFiles/G__IO.dir/all] Error 2 make: *** [all] Error 2

What’s happened? What can I do fix it?

Regards,

Hi. We need more information. What version of ROOT? What is your platform (OS, compiler and version)?

BTW, the instructions do not say that you need to use ‘sudo’. And I am assuming that /home/linux/root/ is the build directory that you have created and run cmake command.

sudo cmake --build /home/linux/root/ --target install

Hi mato,

I’m using Ubuntu 14.04 (LTS)
Root realease 6.04.06 2015-10-13.
I installed all dependencies needed.

I followed instructions of the building root page.

  • I created root dir in my home
  • then, inside the root dir:
  • after

but without sudo doesn’t worked, so I put sudo. Without sudo, permission denied!

When I installed root in another pc I put sudo cmake --build… and worked.

You only need sudo if you want to install in the system area (e.g. /usr ). In any case, I think the problem is known and I was working on it. The problem is the directory named ‘linux’ in your path. See sft.its.cern.ch/jira/browse/ROOT-7738