libHistFactory missing in root 6.12.04 built on Ubuntu 17.10

Dear experts,

I am missing libHistFactory and all the HistFactory header files in my root 6.12.04 installation that I built on my laptop with Ubuntu 17.10.
Here are the steps I did:
  1. mkdir build; cd build; mkdir /home/pleskot/programs/root-6.12.04-minuit_hack/

  2. cmake …/root-6.12.04/ -DCMAKE_INSTALL_PREFIX=/home/pleskot/programs/root-6.12.04-minuit_hack/

  3. cmake --build . – -j4

  4. cmake -DCMAKE_INSTALL_PREFIX=/home/pleskot/programs/root-6.12.04-minuit_hack/ -P cmake_install.cmake

    I will appreciate if you could help me ASAP. Thank you very much in advance.
    Best regards

Vojtech

Try to configure your version using cmake -Dall=ON ... (check the output of root-config --features and see if you have “roofit” inside).

Dear Wile,

thank you for your answer. roofit is among the features, indeed. However, the libHistFactory library doesn't exist in lib/ and RooStats/HistFactory doesn't exist in include/. Have you got an idea how to get HistFactory, please?
Best regards

Vojtech

Check the output of root-config --features and see if you have “xml” inside (it seems it is required for “histfactory”).

Dear Wile,

thank you very much for your prompt replies. Indeed, xml is not listed in root-config --features.
Shall I just install libxml2-dev or what shall I do?
Best regards

Vojtech

I think yes. Then you need to configure and build your ROOT completely from scratch again.

One more question, please. If I don’t want to install all the builtins (-Dall=ON) what everything shall I install in order to have roofit, roostats and histfactory?

cmake -Dminimal=ON -Dxml=ON -Droofit=ON …

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.