Installation
ROOT:
You can download and install ROOT (version 5.28) from source on your machine from the following site:
http://root.cern.ch/drupal/content/installing-root-source
SCons:
This is a framework similar to make files but a lot cleaner and comes with a lot less headaches, for both beginners and advanced users alike. You can download and install this for your platform from the following site:
http://www.scons.org/download.php
Download the tar file for the Production version 2.1.0: scons-2.1.0.tar.gz
Here are the instructions and steps I used to install it on my OS X Lion laptop:
I first download the scons-2.1.0.tar.gz file to ~/Downloads/apps directory
$ cd ~/Downloads/apps $ tar -xvzf scons-2.1.0.tar.gz $ cd scons-2.1.0 $ python setup.py install --prefix=$HOME
This installs scons in my home directory, $HOME=/Users/puneetk, and associated binaries and libraries are stored in bin, lib, and man under the home directory.
Please ensure that $HOME/bin is in your PATH environment variable by adding the following lines to your shell script ($HOME/.bashrc or $HOME/.cshrc). For example, the following lines are added to my .bashrc file on my mac after the ROOT and SCons installation:
export ROOTSYS=/Applications/root; export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$ROOTSYS/lib; export MANPATH=$MANPATH:$ROOTSYS/man; export PATH=$PATH:$ROOTSYS/bin:$HOME/bin;
You should now be ready to use scons.
SSH (Windows only):
If you are on a Windows machine and would like to ssh into a Linux machine that already has the ROOT/C++ software for this workshop, then you need to have the following installed on your machine:
- Xming X Server: An X server environment to run unix style applications on a Windows machine. I would recommend that you install the standalone package from Sourceforge. You need to launch this server on your Windows machine to get the graphical output from programs running via PuTTY.
- PuTTY: An open source implementation of the ssh environment on Windows. You need to launch this to connect to the Linux host machine. Ensure that you have X11 Forwarding enabled in your connection settings and Xming is running.