Install procedure 2.x - Nagni 10 October 2004 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 $ cd $YODA_ROOT $ autoheader $ libtoolize (eventually "libtoolize --force") $ aclocal $ automake -a $ autoconf $ export CXXFLAGS="-g" that a look at the configure options $ ./configure --help if you want to install executable in the same directory of source code $ ./configure else $ ./configure --libexecdir=yourDirectory and finally $ make ------>NOTE 1<------ 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!) ln -s techmodel/.libs/techmodelreader /usr/local/bin/yoda ------>NOTE 2<------ 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, but with some small variation can be placed everywhere.