| 1 | Install procedure 1.1 - Nagni 11 May 2004 | 
| 2 |  | 
| 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 | export YODA_LOGS= YourPathToLogs | 
| 11 | #-----YODA's Environment----------------------- | 
| 12 |  | 
| 13 | #-----Cern's ROOT Environment----------------------- | 
| 14 | export ROOTSYS=/usr/share/root | 
| 15 | export PATH=$ROOTSYS/bin:$PATH | 
| 16 | export LD_LIBRARY_PATH=$ROOTSYS/lib | 
| 17 | #-----Cern's ROOT Environment----------------------- | 
| 18 |  | 
| 19 | 2) check that you have installed | 
| 20 | ---->log4cpp (logger for c++ programs) | 
| 21 | ---->g77     (GNU FORTRAN Compiler) | 
| 22 | ---->LIBTOOL (compiler utility) | 
| 23 |  | 
| 24 | 3) create a directory (say YOUR_YODA) and copy the source into it | 
| 25 |  | 
| 26 | 4) execute the following commands | 
| 27 |  | 
| 28 | $ cd $YODA_ROOT | 
| 29 | $ libtoolize       (eventually "libtoolize --force") | 
| 30 | $ aclocal | 
| 31 | $ autoheader | 
| 32 | $ automake -a | 
| 33 | $ autoconf | 
| 34 | $ export CXXFLAGS="-g" | 
| 35 |  | 
| 36 | that a look at the configure options | 
| 37 | $ ./configure --help | 
| 38 |  | 
| 39 | if you want to install executable in the same directory of source code | 
| 40 | $ ./configure | 
| 41 |  | 
| 42 |  | 
| 43 | else | 
| 44 | $ ./configure --libexecdir=yourDirectory | 
| 45 |  | 
| 46 | and finally | 
| 47 | $ make | 
| 48 |  | 
| 49 |  | 
| 50 | ------>NOTE<------ | 
| 51 | This procedure will generate the code in the same directory YODA | 
| 52 | sources has been copied. | 
| 53 | The executable file name is techmodelreader and it's located in | 
| 54 | TECHMODEL directory. | 
| 55 | To make yoda available using just the command "yoda" from every location | 
| 56 | just making a softlink to techmodel/.libs/techmodelreader in /usr/bin | 
| 57 | directory (root privileges are needed!) | 
| 58 |  | 
| 59 | ln -s techmodel/.libs/techmodelreader /usr/local/bin/yoda | 
| 60 |  | 
| 61 |  | 
| 62 |  |