I have the latest version of all required and optional prerequisite packages.
[url=https://root-forum.cern.ch/t/locate-like-command/65/1 to this other issue[/url] I’m attempting to build from source using a script which does the following:
which now fails during the cmake --build stage with the following (log file is attached)
[ 56%] Generating G__TMVAGui.cxx, ../../lib/libTMVAGui_rdict.pcm, ../../lib/libTMVAGui.rootmap
In file included from input_line_12:6:
In file included from /home/mcf/root_build/include/TRInterface.h:16:
In file included from /home/mcf/root_build/include/TRObject.h:15:
/home/mcf/root_build/include/RExports.h:68:9: fatal error: 'RcppCommon.h' file not found
#include<RcppCommon.h>
^
Error: /home/mcf/root_build/bin/rootcling: compilation failure (/home/mcf/root_build/lib/libRInterface5425c2c572_dictUmbrella.h)
bindings/r/CMakeFiles/G__RInterface.dir/build.make:72: recipe for target 'bindings/r/G__RInterface.cxx' failed
make[2]: *** [bindings/r/G__RInterface.cxx] Error 1
CMakeFiles/Makefile2:22896: recipe for target 'bindings/r/CMakeFiles/G__RInterface.dir/all' failed
make[1]: *** [bindings/r/CMakeFiles/G__RInterface.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 56%] Built target G__MySQL
[ 56%] Built target G__TMVAGui
[ 56%] Built target G__TMVA
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
Any thoughts? Also, is this the appropriate forum for these questions or should I be posting things like this in JIRA? cmake.out.txt (282 KB)
Does your installation on R has the ‘Rcpp’ modules? This is required as it says in the pre-requisites.
You can disable R with -Dr=OFF if you wish.
Pere
I am very sorry to have made this mistake, but you are quite correct, Mato. I had recently purged and reinstalled R and in doing so forgot to reinstall Rcpp and RInside (as outlined in the Ubuntu Build Prerequisites page).
and in this case I’m using a rebuild option in my script which is essentially just skipping the mkdir parts and pulling down changes from the master branch into root_src before building.
My build now fails during the cmake --build stage with the following (in cmake.out.txt)
make[2]: *** No rule to make target '/home/mcf/root_src/math/genvector/inc/Math/LinkDef_Point3D.h', needed by 'math/genvector/G__GenVector.cxx'. Stop.
CMakeFiles/Makefile2:16293: recipe for target 'math/genvector/CMakeFiles/GenVector.dir/all' failed
And as a check, it is seen that LinkDef_Point3D.h doesn’t exist where CMake wants it to.
I guess this is a good reminder that when encountering a failing build I should always do a clean install to make sure that I’m not failing on an artifact.
Well, usually our build system behaves better than in this case. We do incremental builds for every single merge, i.e. this is supposed to work, in principle.