| 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 | 1.2 | 4) execute the following commands | 
| 26 | kusanagi | 1.1 |  | 
| 27 |  |  | $ cd $YODA_ROOT | 
| 28 | kusanagi | 2.1 | $ autoheader | 
| 29 | kusanagi | 1.2 | $ libtoolize       (eventually "libtoolize --force") | 
| 30 | kusanagi | 1.1 | $ aclocal | 
| 31 |  |  | $ automake -a | 
| 32 |  |  | $ autoconf | 
| 33 |  |  | $ export CXXFLAGS="-g" | 
| 34 |  |  |  | 
| 35 |  |  | that a look at the configure options | 
| 36 |  |  | $ ./configure --help | 
| 37 |  |  |  | 
| 38 |  |  | $ ./configure | 
| 39 |  |  |  | 
| 40 | kusanagi | 2.3 | $ make | 
| 41 | kusanagi | 1.1 |  | 
| 42 | kusanagi | 2.3 | then became ROOT user to install YODA | 
| 43 | kusanagi | 1.1 |  | 
| 44 | kusanagi | 2.3 | $ make install | 
| 45 | kusanagi | 1.1 |  | 
| 46 | kusanagi | 2.5 | if everthing has been correct typing | 
| 47 |  |  |  | 
| 48 |  |  | $ yoda | 
| 49 |  |  |  | 
| 50 |  |  | the program should reply something like below | 
| 51 |  |  |  | 
| 52 |  |  | You have forgotten the file name. | 
| 53 |  |  | Try '--help' for more information. | 
| 54 |  |  |  | 
| 55 |  |  |  | 
| 56 |  |  |  | 
| 57 | kusanagi | 1.1 |  | 
| 58 | kusanagi | 2.2 | ------>NOTE 1<------ | 
| 59 |  |  | On the source code is supplied also a tipical configuratin file for the Log4cxx tool. | 
| 60 | kusanagi | 2.4 | The file is named log4cxx.conf and is designed to be put into the YODA_DATA directory. | 
| 61 |  |  | Notice that to set the output detail level you have to modify the log4cxx.conf | 
| 62 |  |  | according to your needs. | 
| 63 | kusanagi | 1.1 |  | 
| 64 | kusanagi | 2.3 | ------>NOTE 2<------ | 
| 65 |  |  | Because of major changes in ROOT, Trees produced with a version of ROOT greater than 4.01/02 | 
| 66 | kusanagi | 2.4 | cannot be read by older ROOT versions. | 
| 67 |  |  |  | 
| 68 |  |  | ------>NOTE 3<------ | 
| 69 |  |  | If you are doing an upgrading is highly recomended to execute a | 
| 70 |  |  | $ make distclean |