I am trying to install Root 6.08 on Ubuntu 16.04. I downloaded and unzipped the file in my home directory and am trying to build it with cmake 3.8.1. From my build directory (called rootbuild) if I run
cmake ../root
I get an error:
CMake Error: The source directory "/home/me/root" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
I noticed that CMakeLists.txt was in the test directory so I tried:
cmake ../root/test
and got:
CMake Error at CMakeLists.txt:9 (find_package):
By not providing "FindROOT.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "ROOT", but
CMake did not find one.
Could not find a package configuration file provided by "ROOT" with any of
the following names:
ROOTConfig.cmake
root-config.cmake
Add the installation prefix of "ROOT" to CMAKE_PREFIX_PATH or set
"ROOT_DIR" to a directory containing one of the above files. If "ROOT"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring incomplete, errors occurred!
See also "/home/me/rootbuild/CMakeFiles/CMakeOutput.log".
Anybody know how to fix this and complete the build? Thanks in advance for any help