| 1 |
kusanagi |
2.5 |
Install procedure 2.x - Nagni 15 February 2005 |
| 2 |
kusanagi |
1.1 |
|
| 3 |
|
|
To install YODA: |
| 4 |
|
|
|
| 5 |
|
|
1) check that you have installed ROOT and your enviroment have defined |
| 6 |
|
|
|
| 7 |
|
|
#-----YODA's Environment----------------------- |
| 8 |
|
|
# this variable define where YODA will write the managed files |
| 9 |
|
|
export YODA_DATA= YourPathToStoreUnpackedFiles |
| 10 |
|
|
#-----YODA's Environment----------------------- |
| 11 |
|
|
|
| 12 |
|
|
#-----Cern's ROOT Environment----------------------- |
| 13 |
|
|
export ROOTSYS=/usr/share/root |
| 14 |
|
|
export PATH=$ROOTSYS/bin:$PATH |
| 15 |
|
|
export LD_LIBRARY_PATH=$ROOTSYS/lib |
| 16 |
|
|
#-----Cern's ROOT Environment----------------------- |
| 17 |
|
|
|
| 18 |
|
|
2) check that you have installed |
| 19 |
kusanagi |
1.3 |
---->log4cxx (jakarta logger for c++ programs) |
| 20 |
kusanagi |
1.1 |
---->g77 (GNU FORTRAN Compiler) |
| 21 |
|
|
---->LIBTOOL (compiler utility) |
| 22 |
|
|
|
| 23 |
|
|
3) create a directory (say YOUR_YODA) and copy the source into it |
| 24 |
|
|
|
| 25 |
kusanagi |
5.1 |
4) execute the following commands (please customize the ./configure line according to your system) |
| 26 |
kusanagi |
1.1 |
|
| 27 |
|
|
$ cd $YODA_ROOT |
| 28 |
kusanagi |
2.1 |
$ autoheader |
| 29 |
kusanagi |
1.2 |
$ libtoolize (eventually "libtoolize --force") |
| 30 |
kusanagi |
5.1 |
$ export CFLAGS="-g -O4" |
| 31 |
|
|
$ export FFLAGS="-g -O0 -keepC" |
| 32 |
|
|
$ export CXXFLAGS="-g -O4" |
| 33 |
kusanagi |
1.1 |
$ aclocal |
| 34 |
|
|
$ automake -a |
| 35 |
|
|
$ autoconf |
| 36 |
kusanagi |
5.1 |
$ ./configure --prefix=/path/where/you/want/to/install --with-log4cxx=/opt/log4cxx --enable-gprof=no |
| 37 |
|
|
$ make |
| 38 |
kusanagi |
1.1 |
|
| 39 |
|
|
that a look at the configure options |
| 40 |
|
|
$ ./configure --help |
| 41 |
|
|
|
| 42 |
|
|
$ ./configure |
| 43 |
|
|
|
| 44 |
kusanagi |
2.3 |
$ make |
| 45 |
kusanagi |
1.1 |
|
| 46 |
kusanagi |
2.3 |
then became ROOT user to install YODA |
| 47 |
kusanagi |
1.1 |
|
| 48 |
kusanagi |
2.3 |
$ make install |
| 49 |
kusanagi |
1.1 |
|
| 50 |
kusanagi |
2.5 |
if everthing has been correct typing |
| 51 |
|
|
|
| 52 |
|
|
$ yoda |
| 53 |
|
|
|
| 54 |
|
|
the program should reply something like below |
| 55 |
|
|
|
| 56 |
|
|
You have forgotten the file name. |
| 57 |
|
|
Try '--help' for more information. |
| 58 |
|
|
|
| 59 |
|
|
|
| 60 |
|
|
|
| 61 |
kusanagi |
1.1 |
|
| 62 |
kusanagi |
2.2 |
------>NOTE 1<------ |
| 63 |
|
|
On the source code is supplied also a tipical configuratin file for the Log4cxx tool. |
| 64 |
kusanagi |
2.4 |
The file is named log4cxx.conf and is designed to be put into the YODA_DATA directory. |
| 65 |
|
|
Notice that to set the output detail level you have to modify the log4cxx.conf |
| 66 |
|
|
according to your needs. |
| 67 |
kusanagi |
1.1 |
|
| 68 |
kusanagi |
2.3 |
------>NOTE 2<------ |
| 69 |
|
|
Because of major changes in ROOT, Trees produced with a version of ROOT greater than 4.01/02 |
| 70 |
kusanagi |
2.4 |
cannot be read by older ROOT versions. |
| 71 |
|
|
|
| 72 |
|
|
------>NOTE 3<------ |
| 73 |
kusanagi |
5.1 |
If you are doing an upgrading is highly recomended to uninstall your previous version. |