Installing observer at OSU

Installing ROOT

Most of the software is obtained through git. In most cases, I use the latest version, although switching to older is also possible. Building root takes a while.

gamma@linux-nakn:~> cd /data/software/src/
#install cmake if neccesary
gamma@linux-nakn:/data/software/build/root> sudo zypper install cmake
#we'll need fftw3 for fourier transform (convolution)
gamma@linux-nakn:/data/software/build/root> sudo zypper install fftw3-devel libXpm-devel
#get recent cmake (root likes those)
gamma@linux-nakn:/data/software/src> git clone git://cmake.org/cmake.git
gamma@linux-nakn:/data/software/src> cd ../build
gamma@linux-nakn:/data/software/build> mkdir ccmake
gamma@linux-nakn:/data/software/build> cd cmake/
gamma@linux-nakn:/data/software/build/cmake> ccmake ../../src/cmake
#make sure you change prefix to /data/software/install/cmake
gamma@linux-nakn:/data/software/build/cmake> make 
#get root
gamma@linux-nakn:/data/software/src> git clone http://root.cern.ch/git/root.git
gamma@linux-nakn:/data/software/src> cd ../build
gamma@linux-nakn:/data/software/build> mkdir root
gamma@linux-nakn:/data/software/src> cd ../build
gamma@linux-nakn:/data/software/build> mkdir root
gamma@linux-nakn:/data/software/build> cd root/
#use new ccmake to configure root
gamma@linux-nakn:/data/software/build/root> /data/software/install/cmake/bin/ccmake ../../src/root/
#make sure you set CCMAKE_INSTALL_PREFIX to /data/software/install/root

links

social