Hello,
I am trying to build the master from source but the following error occurs.
Scanning dependencies of target RooFitHS3
[ 98%] Building CXX object roofit/hs3/CMakeFiles/RooFitHS3.dir/src/JSONParser.cxx.o
[ 98%] Building CXX object roofit/hs3/CMakeFiles/RooFitHS3.dir/src/RooJSONFactoryWSTool.cxx.o
[ 98%] Building CXX object roofit/hs3/CMakeFiles/RooFitHS3.dir/src/HistFactoryJSONTool.cxx.o
[ 98%] Building CXX object roofit/hs3/CMakeFiles/RooFitHS3.dir/src/JSONFactories_RooFitCore.cxx.o
[ 98%] Building CXX object roofit/hs3/CMakeFiles/RooFitHS3.dir/src/JSONFactories_HistFactory.cxx.o
[ 98%] Building CXX object roofit/hs3/CMakeFiles/RooFitHS3.dir/src/JSONInterface.cxx.o
/home/Downloads/root/roofit/hs3/src/HistFactoryJSONTool.cxx:16:10: fatal error: RooStats/HistFactory/Measurement.h: No such file or directory
16 | #include "RooStats/HistFactory/Measurement.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [roofit/hs3/CMakeFiles/RooFitHS3.dir/src/HistFactoryJSONTool.cxx.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
/home/Downloads/root/roofit/hs3/src/JSONFactories_HistFactory.cxx:16:10: fatal error: RooStats/HistFactory/ParamHistFunc.h: No such file or directory
16 | #include <RooStats/HistFactory/ParamHistFunc.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [roofit/hs3/CMakeFiles/RooFitHS3.dir/src/JSONFactories_HistFactory.cxx.o] Error 1
gmake[1]: *** [roofit/hs3/CMakeFiles/RooFitHS3.dir/all] Error 2
gmake: *** [all] Error 2
I have tried again on a machine with libxml2-devel
and get a successful build. Thanks a lot!
ROOT Version: 6.27/01
Platform: CentOS7.9
Compiler: gcc9.3.0