Difference: TimothyBrooks (13 vs. 14)

Revision 1411 May 2010 - TimothyBrooks

Line: 1 to 1
 
META TOPICPARENT name="TWikiUsers"

My Links

Line: 55 to 55
 

Installing Root from source

The Root source code can be downloaded from root.cern.ch There are a few packages you will need on your system; on ubuntu 9.10, I needed libx11-dev, libxft-dev, libxpm-dev and libxext-dev. All the requirements the root page recommends can be had using:
sudo apt-get install make g++ gcc binutils libx11-dev libxpm-dev libxft-dev libxext-dev
Changed:
<
<
Once that's done; untar the root package and in the unzipped folder run ./configure --prefix=/usr/local --enable-soversion then make (or, if you want; make -j n where j is the number of cores in your machine)
>
>
Once that's done; untar the root package move the unzipped folder somewhere (e.g. /opt/root). Then, in the root folder, run ./configure --prefix=/opt/ then make (or, if you want; make -j n where n is the number of cores in your machine). This should leave you with a working root install, then set up your env variables to use it:
 

Setting up root

Line: 65 to 65
  export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${ROOTSYS}/lib
export PATH=${PATH}:${ROOTSYS}/bin
Changed:
<
<
Where /usr/local/root/v5.22.00/slc5.gcc3.4/root is the path of the current stable build of root (ie. check this is correct!)
>
>
Where /usr/local/root/v5.22.00/slc5.gcc3.4/root is the path of the current stable build of root (ie. check this is correct! /usr/local/root/v5.22.00/slc5.gcc3.4/root is ok for machines at RHUL)
  For example; here are my .bashrc and .bash_profile.
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding RHUL Physics Department TWiki? Send feedback