| 1 | Install procedure 2.0 - Nagni 20 September 2004 | Install procedure 2.x - Nagni 15 February 2005 | 
| 2 |  |  | 
| 3 | To install YODA: | To install YODA: | 
| 4 |  |  | 
| 25 | 4) execute the following commands | 4) execute the following commands | 
| 26 |  |  | 
| 27 | $ cd $YODA_ROOT | $ cd $YODA_ROOT | 
| 28 |  | $ autoheader | 
| 29 | $ libtoolize       (eventually "libtoolize --force") | $ libtoolize       (eventually "libtoolize --force") | 
| 30 | $ aclocal | $ aclocal | 
|  | $ autoheader |  | 
| 31 | $ automake -a | $ automake -a | 
| 32 | $ autoconf | $ autoconf | 
| 33 | $ export CXXFLAGS="-g" | $ export CXXFLAGS="-g" | 
| 35 | that a look at the configure options | that a look at the configure options | 
| 36 | $ ./configure --help | $ ./configure --help | 
| 37 |  |  | 
|  | if you want to install executable in the same directory of source code |  | 
| 38 | $ ./configure | $ ./configure | 
| 39 |  |  | 
| 40 |  | $ make | 
| 41 |  |  | 
| 42 | else | then became ROOT user to install YODA | 
|  | $ ./configure --libexecdir=yourDirectory |  | 
| 43 |  |  | 
| 44 | and finally | $ make install | 
| 45 | $ make |  | 
| 46 |  | 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 |  |  | 
|  | ------>NOTE<------ |  | 
|  | This procedure will generate the code in the same directory YODA |  | 
|  | sources has been copied. |  | 
|  | The executable file name is techmodelreader and it's located in |  | 
|  | TECHMODEL directory. |  | 
|  | To make yoda available using just the command "yoda" from every location |  | 
|  | just making a softlink to techmodel/.libs/techmodelreader in /usr/bin |  | 
|  | directory (root privileges are needed!) |  | 
| 56 |  |  | 
|  | ln -s techmodel/.libs/techmodelreader /usr/local/bin/yoda |  | 
| 57 |  |  | 
| 58 |  | ------>NOTE 1<------ | 
| 59 |  | On the source code is supplied also a tipical configuratin file for the Log4cxx tool. | 
| 60 |  | 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 |  |  | 
| 64 |  | ------>NOTE 2<------ | 
| 65 |  | Because of major changes in ROOT, Trees produced with a version of ROOT greater than 4.01/02 | 
| 66 |  | 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 |