@Axel should we pin this?
I have been trying to build ROOT 16.14/00 with Ubuntu 16.4 and GCC 4.8.0.
I get the following error every time I run “cmake --build .” in the build directory:
[ 88%] Generating G__ROOTVecOps.cxx, ../../lib/libROOTVecOps_rdict.pcm, ../../lib/libROOTVecOps.rootmap
In file included from input_line_12:7:
/usr/local/root6.14/include/ROOT/RVec.hxx:36:10: fatal error: 'vdt/vdtMath.h' file not found
#include <vdt/vdtMath.h>
^~~~~~~~~~~~~~~
Error: /usr/local/root6.14/bin/rootcling: compilation failure (/usr/local/root6.14/lib/libROOTVecOpse693d0882a_dictUmbrella.h)
math/vecops/CMakeFiles/G__ROOTVecOps.dir/build.make:69: recipe for target 'math/vecops/G__ROOTVecOps.cxx' failed
make[2]: *** [math/vecops/G__ROOTVecOps.cxx] Error 1
CMakeFiles/Makefile2:21150: recipe for target 'math/vecops/CMakeFiles/G__ROOTVecOps.dir/all' failed
make[1]: *** [math/vecops/CMakeFiles/G__ROOTVecOps.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
Done, thanks for reporting! It will be part of a v6.14/02 that we expect in a couple of weeks.
@uzair90 Please try again with GCC 4.8.5 or newer. ROOT needs full support for C++11, and GCC 4.8.0 does not have it yet.
Edit: This specific problem may actually be a problem with dependencies in CMake, however (see ROOT-9478).
And Ubuntu 16.04 comes with GCC 5.3.
Hello,
I am also having trouble with root installation. This is the error I am getting:
[ 88%] Generating G__ROOTVecOps.cxx, ../../lib/libROOTVecOps_rdict.pcm, ../../lib/libROOTVecOps.rootmap
In file included from input_line_12:7:
/home/arka/Root6_Build/include/ROOT/RVec.hxx:36:10: fatal error: 'vdt/vdtMath.h' file not found
#include <vdt/vdtMath.h>
^~~~~~~~~~~~~~~
Error: /home/arka/Root6_Build/bin/rootcling: compilation failure (/home/arka/Root6_Build/lib/libROOTVecOpse1583191ba_dictUmbrella.h)
math/vecops/CMakeFiles/G__ROOTVecOps.dir/build.make:69: recipe for target 'math/vecops/G__ROOTVecOps.cxx' failed
make[2]: *** [math/vecops/G__ROOTVecOps.cxx] Error 1
CMakeFiles/Makefile2:20851: recipe for target 'math/vecops/CMakeFiles/G__ROOTVecOps.dir/all' failed
make[1]: *** [math/vecops/CMakeFiles/G__ROOTVecOps.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2
This is my gcc version ubuntu 18.04:
gcc (Ubuntu 7.3.0-16ubuntu3) 7.3.0
How do I fix this issue?
Thanks,
Arka
Hi Arka,
see Guilherme’s comment in the linked Jira ticket: Loading...
you should add the line
set_property(GLOBAL APPEND PROPERTY ROOT_BUILTIN_TARGETS VDT)
right after line
set(vdt ON CACHE BOOL "" FORCE)
in filecmake/modules/SearchInstalledSoftware.cmake
.
Cheers, Axel.
Alternatively, without making any change to ROOT, you can do (in the build directory):
$ cmake --build . --target VDT
$ cmake --build .
The problem is that CMake fails to add a dependency on VDT, so it is not built early enough.
This is being fixed here: https://github.com/root-project/root/pull/2205.
The problem is fixed. Thank you very much.
It’s also fixed on the master and 6.14 branches as well, so when 6.14/02 is released, this will not be a problem anymore. Cheers,
Hi,
Will there be a binary distribution of v6.14 compatible with SLC 6.9? This doesnt seem to be the case at the moment. Hence one cannot set it up on lxplus - SLC 6.9 from CVMFS either.
And trying to compile ROOT v6.14 on SLC 6.9 runs into other problems, such as requiring cmake version 3.4.3 which doesnt seem to be available for SLC 6.
Any suggestions would be very welcome.
Thanks
Halil
Hi
I am new to jupyter
can we install python 2 and 3 on same system through Jupyter
You could simply log on to lxplus7.cern.ch. Would that be a solution for you?
Hi priyanka_120993, could you open a new topic for this?
Axel
Hi Axel,
Sure, that works in principle. However bulk of the input samples I would like to work with are not stored on lxplus but in other machines where the OS is still SLC 6 (probably a fairly common situation). Is there a fundamental reason why an SLC 6.9 binary is difficult to centrally provide? I understand that CentOS 7 is the next step but this will really save a lot of hassle until the transition is complete. Normally I wouldnt mind not having the latest version of ROOT, but this one surely deserves an update
Thanks
Halil
Hi Halil,
SLC6’s compiler (GCC4.4!) is too old to build ROOT - GCC 4.4.0 is from 2009! Use LCG releases to create a custom environment (but then e.g. emacs is broken etc), or simply log on to lxplus7 where the compiler is old, too, but just recent enough.
Axel.