Install procedure 2.x - Nagni 15 February 2005 To install YODA: 1) check that you have installed ROOT and your enviroment have defined #-----YODA's Environment----------------------- # this variable define where YODA will write the managed files export YODA_DATA= YourPathToStoreUnpackedFiles #-----YODA's Environment----------------------- #-----Cern's ROOT Environment----------------------- export ROOTSYS=/usr/share/root export PATH=$ROOTSYS/bin:$PATH export LD_LIBRARY_PATH=$ROOTSYS/lib #-----Cern's ROOT Environment----------------------- 2) check that you have installed ---->log4cxx (jakarta logger for c++ programs) ---->g77 (GNU FORTRAN Compiler) ---->LIBTOOL (compiler utility) 3) create a directory (say YOUR_YODA) and copy the source into it 4) execute the following commands (please customize the ./configure line according to your system) $ cd $YODA_ROOT $ autoheader $ libtoolize (eventually "libtoolize --force") $ export CFLAGS="-g -O4" $ export FFLAGS="-g -O0 -keepC" $ export CXXFLAGS="-g -O4" $ aclocal $ automake -a $ autoconf $ ./configure --prefix=/path/where/you/want/to/install --with-log4cxx=/opt/log4cxx --enable-gprof=no $ make that a look at the configure options $ ./configure --help $ ./configure $ make then became ROOT user to install YODA $ make install if everthing has been correct typing $ yoda the program should reply something like below You have forgotten the file name. Try '--help' for more information. ------>NOTE 1<------ On the source code is supplied also a tipical configuratin file for the Log4cxx tool. The file is named log4cxx.conf and is designed to be put into the YODA_DATA directory. Notice that to set the output detail level you have to modify the log4cxx.conf according to your needs. ------>NOTE 2<------ Because of major changes in ROOT, Trees produced with a version of ROOT greater than 4.01/02 cannot be read by older ROOT versions. ------>NOTE 3<------ If you are doing an upgrading is highly recomended to uninstall your previous version.