Changes between Version 7 and Version 8 of InstallingMars
- Timestamp:
- 11/07/18 09:56:02 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallingMars
v7 v8 19 19 }}} 20 20 21 Before you run *cmake*, please make sure that your root environment has been properly initialized. That is usually the case if you can execute root easily from your commandlineor if `export | grep ROOTSYS` gives a reasonable result. Otherwise, call `thisroot.sh` from your root installation. Assuming root is installed in /opt/root-6.14.04, this would be:21 Before you run *cmake*, please make sure that your root environment has been properly initialized. With recent ROOT versions it is often enough if `root-config` is in your path. That is usually the case if you can execute root easily from your commandline (or root-config itself) or if `export | grep ROOTSYS` gives a reasonable result. Otherwise, call `thisroot.sh` from your root installation. Assuming root is installed in /opt/root-6.14.04, this would be: 22 22 {{{ 23 23 [X] . /opt/root-6.14.04/bin/thisroot.sh … … 43 43 }}} 44 44 45 instead. 45 instead. If you are not sure which compiler to use, just use the default and see if it works. (In almost all cases using a different compiler is not worth it) 46 46 47 47 CMake will check for the availablility of all important packages. For Mars, this is mainly *root* and *libnova*. Although, we have managed to compile Mars with pre-installed binary packages, it is advised that you install root from scratch (see http://root.cern.ch). Libnova (if there is no package available -- don't forget the dev-package!) can be found here http://libnova.sourceforge.net/index.html and should be easy to compile (`./configure && make`.