Obtaining the source
Download the rave source from http://www.hepforge.org/downloads/rave.
svn co http://svn.hepforge.org/rave/trunk rave_svn
Download the org.lcsim plugin from http://stop.itp.tuwien.ac.at/websvn/listing.php?repname=lcsimrave
Building Rave at SLAC
Note | ||
---|---|---|
| ||
The following assumes that your current shell is bash. If you are uncertain whether this is the case, type |
You will need autotools to build Rave from source. The installation was successfully tested with
- m4 (GNU M4) 1.4.9
- libtool (GNU libtool) 1.5.22
- autoconf (GNU Autoconf) 2.61
- automake (GNU automake) 1.10
At SLAC these are already set up for you. Simply
source /nfs/slac/g/lcd/mc/prj/scripts/setup-autotools.sh
Now change to the rave source directory.
cd rave_svn
If you don't have a configure script inside rave_svn, you will now have to type
./bootstrap
Configure the package to install to a custom location, and to pick up the right versions of CLHEP and BOOST.
At SLAC you should use the following setup to build with Java bindings.
Code Block |
---|
source /nfs/slac/g/lcd/mc/prj/scripts/setup-swig.sh ./configure --with-boost=/nfs/slac/g/lcd/mc/prj/sw/extern/boost/v1-33-1 \ --with-clhep=/nfs/slac/g/lcd/mc/prj/sw/extern/clhep/2.0.3.0 \ --with-clhep_matrix-libpath=/nfs/slac/g/lcd/mc/prj/sw/extern/clhep/2.0.3.0/lib \ --with-clhep_vector-libpath=/nfs/slac/g/lcd/mc/prj/sw/extern/clhep/2.0.3.0/lib \ --disable-btagging \ --prefix=<installation-dir> |
If you don't want Java bindings, you can use this instead
Code Block |
---|
./configure --with-boost=/nfs/slac/g/lcd/mc/prj/sw/extern/boost/v1-33-1 \ --with-clhep=/nfs/slac/g/lcd/mc/prj/sw/extern/clhep/2.0.3.0 \ --with-clhep_matrix-libpath=/nfs/slac/g/lcd/mc/prj/sw/extern/clhep/2.0.3.0/lib \ --with-clhep_vector-libpath=/nfs/slac/g/lcd/mc/prj/sw/extern/clhep/2.0.3.0/lib \ --disable-java --prefix=<installation-dir> |
In either case, replace <installation-dir> with the path where you want to install Rave.
After configuration has finished you will get a status report which options Rave will be built with.
Build and install the package with
make && make install