| 1 | kusanagi | 1.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) from LIBTOOL directory copy into YOUR_YODA the following files | 
| 27 |  |  |  | 
| 28 |  |  | config.guess | 
| 29 |  |  | config.sub | 
| 30 |  |  | ltmain.sh | 
| 31 |  |  |  | 
| 32 |  |  | 5) execute the following commands | 
| 33 |  |  |  | 
| 34 |  |  | $ cd $YODA_ROOT | 
| 35 |  |  | $ aclocal | 
| 36 |  |  | $ automake -a | 
| 37 |  |  | $ autoconf | 
| 38 |  |  | $ export CXXFLAGS="-g" | 
| 39 |  |  |  | 
| 40 |  |  | that a look at the configure options | 
| 41 |  |  | $ ./configure --help | 
| 42 |  |  |  | 
| 43 |  |  | if you want to install executable in the same directory of source code | 
| 44 |  |  | $ ./configure | 
| 45 |  |  |  | 
| 46 |  |  |  | 
| 47 |  |  | else | 
| 48 |  |  | $ ./configure --libexecdir=yourDirectory | 
| 49 |  |  |  | 
| 50 |  |  | and finally | 
| 51 |  |  | $ make | 
| 52 |  |  |  | 
| 53 |  |  |  | 
| 54 |  |  | ------>NOTE<------ | 
| 55 |  |  | This procedure will generate the code in the same directory YODA | 
| 56 |  |  | sources has been copied. | 
| 57 |  |  | The executable file name is techmodelreader and it's located in | 
| 58 |  |  | TECHMODEL directory. | 
| 59 |  |  | To make yoda available using just the command "yoda" from every location | 
| 60 |  |  | just making a softlink to techmodel/.libs/techmodelreader in /usr/bin | 
| 61 |  |  | directory (root privileges are needed!) | 
| 62 |  |  |  | 
| 63 |  |  | ln -s techmodel/.libs/techmodelreader /usr/bin/yoda | 
| 64 |  |  |  | 
| 65 |  |  |  | 
| 66 |  |  |  |