--- yoda/README 2004/07/06 12:20:23 1.1.1.1 +++ yoda/README 2005/02/08 08:11:36 2.4 @@ -1,4 +1,4 @@ -Install procedure 1.1 - Nagni 11 May 2004 +Install procedure 2.x - Nagni 07 February 2005 To install YODA: @@ -7,7 +7,6 @@ #-----YODA's Environment----------------------- # this variable define where YODA will write the managed files export YODA_DATA= YourPathToStoreUnpackedFiles -export YODA_LOGS= YourPathToLogs #-----YODA's Environment----------------------- #-----Cern's ROOT Environment----------------------- @@ -17,21 +16,17 @@ #-----Cern's ROOT Environment----------------------- 2) check that you have installed - ---->log4cpp (logger for c++ programs) + ---->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) from LIBTOOL directory copy into YOUR_YODA the following files - - config.guess - config.sub - ltmain.sh - -5) execute the following commands +4) execute the following commands $ cd $YODA_ROOT +$ autoheader +$ libtoolize (eventually "libtoolize --force") $ aclocal $ automake -a $ autoconf @@ -40,27 +35,25 @@ 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 +then became ROOT user to install YODA ------->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!) +$ make install - ln -s techmodel/.libs/techmodelreader /usr/bin/yoda +------>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 execute a +$ make distclean