{"action":"opened","issue":{"url":"https://api.github.com/repos/mkarbach/gammacombo/issues/11","labels_url":"https://api.github.com/repos/mkarbach/gammacombo/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/mkarbach/gammacombo/issues/11/comments","events_url":"https://api.github.com/repos/mkarbach/gammacombo/issues/11/events","html_url":"https://github.com/mkarbach/gammacombo/issues/11","id":59456930,"number":11,"title":"installation problems","user":{"login":"fredRos","id":1833693,"avatar_url":"https://avatars.githubusercontent.com/u/1833693?v=3","gravatar_id":"","url":"https://api.github.com/users/fredRos","html_url":"https://github.com/fredRos","followers_url":"https://api.github.com/users/fredRos/followers","following_url":"https://api.github.com/users/fredRos/following{/other_user}","gists_url":"https://api.github.com/users/fredRos/gists{/gist_id}","starred_url":"https://api.github.com/users/fredRos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fredRos/subscriptions","organizations_url":"https://api.github.com/users/fredRos/orgs","repos_url":"https://api.github.com/users/fredRos/repos","events_url":"https://api.github.com/users/fredRos/events{/privacy}","received_events_url":"https://api.github.com/users/fredRos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-02T09:30:53Z","updated_at":"2015-03-02T09:30:53Z","closed_at":null,"body":"Dear Moritz,\r\n\r\nlooks like I get to file the first issue for your project. Following your talk in Karlsruhe https://indico.cern.ch/event/357770/session/1/contribution/12/material/slides/0.pdf, I tried to install gammacombo. Here are the steps I took after cloning the repo.\r\n\r\n```sh\r\n$ mkdir build\r\n$ cd build\r\n$ cmake ..\r\n-- Couldn't retrieve a version number from SVN to set in documentation.\r\n-- Found global svn revision to be NoNumberAvailable.\r\nCMake Error at /usr/share/cmake-3.0/Modules/FindBoost.cmake:1198 (message):\r\n  Unable to find the requested Boost libraries.\r\n\r\n  Unable to find the Boost header files.  Please set BOOST_ROOT to the root\r\n  directory containing Boost or BOOST_INCLUDEDIR to the directory containing\r\n  Boost's headers.\r\nCall Stack (most recent call first):\r\n  CMakeLists.txt:43 (FIND_PACKAGE)\r\n\r\n\r\n-- Configuring incomplete, errors occurred!\r\nSee also \"/home/beaujean/workspace/gammacombo/build/CMakeFiles/CMakeOutput.log\".\r\n~/\r\n```\r\n\r\nYou should add the boost dependencies to the installation instructions. Being lazy, I just installed all boost libraries+headers, then cmake didn't complain anymore. But for convenience, you should say which boost libraries you need, because one might not want to install the whole batch (+200MB on debian).\r\n\r\nThen I went again\r\n\r\n```sh\r\n$ rm -rf *\r\n$ cmake ..\r\n$ make\r\nScanning dependencies of target gammacomboCoreDict\r\n[  2%] Generating gammacomboCoreDict.cxx, gammacomboCoreDict.h\r\n[  2%] Built target gammacomboCoreDict\r\nScanning dependencies of target gammacomboCoreComponents\r\n[  4%] Generating gammacomboCoreDict.cxx, gammacomboCoreDict.h\r\n[ 10%] [ 10%] [ 10%] Building CXX object CMakeFiles/gammacomboCoreComponents.dir/core/src/OneMinusClPlot.cpp.o\r\nBuilding CXX object CMakeFiles/gammacomboCoreComponents.dir/core/src/FitResultCache.cpp.o\r\nBuilding CXX object CMakeFiles/gammacomboCoreComponents.dir/core/src/RooPoly4Var.cpp.o\r\n[ 12%] Building CXX object CMakeFiles/gammacomboCoreComponents.dir/core/src/UtilsConfig.cpp.o\r\n[ 14%] Building CXX object CMakeFiles/gammacomboCoreComponents.dir/core/src/Combiner.cpp.o\r\n[ 16%] Building CXX object CMakeFiles/gammacomboCoreComponents.dir/core/src/ControlPlots.cpp.o\r\n[ 18%] Building CXX object CMakeFiles/gammacomboCoreComponents.dir/core/src/GammaComboEngine.cpp.o\r\n[ 20%] Building CXX object CMakeFiles/gammacomboCoreComponents.dir/core/src/MethodGenericPluginScan.cpp.o\r\nIn file included from /home/beaujean/workspace/gammacombo/./core/include/GammaComboEngine.h:23:0,\r\n                 from /home/beaujean/workspace/gammacombo/core/src/GammaComboEngine.cpp:1:\r\n/home/beaujean/workspace/gammacombo/./core/include/ParameterEvolutionPlotter.h:14:19: fatal error: TRoot.h: No such file or directory\r\n #include \"TRoot.h\"\r\n                   ^\r\ncompilation terminated.\r\n```\r\n\r\nSo cmake picks up my root installation but apparently the includes aren't properly set in the makefiles. For reference, my root installation is in my home directory `/home/beaujean/.local/sw/root/linux-debian-8.0-x86_64/6.02.03` and `$ROOTSYS`, `$LD_LIBRARY_PATH` etc. are all set up properly."}}