/[PAMELA software]/yoda/README
ViewVC logotype

Diff of /yoda/README

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by kusanagi, Tue Jul 6 12:20:23 2004 UTC revision 2.3 by kusanagi, Fri Dec 3 22:02:53 2004 UTC
# Line 1  Line 1 
1  Install procedure 1.1 - Nagni 11 May 2004  Install procedure 2.x - Nagni 23 October 2004
2    
3  To install YODA:  To install YODA:
4    
# Line 7  To install YODA: Line 7  To install YODA:
7  #-----YODA's Environment-----------------------  #-----YODA's Environment-----------------------
8  # this variable define where YODA will write the managed files  # this variable define where YODA will write the managed files
9  export YODA_DATA= YourPathToStoreUnpackedFiles  export YODA_DATA= YourPathToStoreUnpackedFiles
 export YODA_LOGS= YourPathToLogs  
10  #-----YODA's Environment-----------------------  #-----YODA's Environment-----------------------
11    
12  #-----Cern's ROOT Environment-----------------------  #-----Cern's ROOT Environment-----------------------
# Line 17  export LD_LIBRARY_PATH=$ROOTSYS/lib Line 16  export LD_LIBRARY_PATH=$ROOTSYS/lib
16  #-----Cern's ROOT Environment-----------------------  #-----Cern's ROOT Environment-----------------------
17    
18  2) check that you have installed  2) check that you have installed
19     ---->log4cpp (logger for c++ programs)     ---->log4cxx (jakarta logger for c++ programs)
20     ---->g77     (GNU FORTRAN Compiler)     ---->g77     (GNU FORTRAN Compiler)
21     ---->LIBTOOL (compiler utility)     ---->LIBTOOL (compiler utility)
22    
23  3) create a directory (say YOUR_YODA) and copy the source into it  3) create a directory (say YOUR_YODA) and copy the source into it
24    
25  4) from LIBTOOL directory copy into YOUR_YODA the following files  4) execute the following commands
     
     config.guess  
     config.sub  
     ltmain.sh  
   
 5) execute the following commands  
26    
27  $ cd $YODA_ROOT  $ cd $YODA_ROOT
28    $ autoheader
29    $ libtoolize       (eventually "libtoolize --force")
30  $ aclocal  $ aclocal
31  $ automake -a  $ automake -a
32  $ autoconf  $ autoconf
# Line 40  $ export CXXFLAGS="-g" Line 35  $ export CXXFLAGS="-g"
35  that a look at the configure options  that a look at the configure options
36  $ ./configure --help  $ ./configure --help
37    
 if you want to install executable in the same directory of source code  
38  $ ./configure  $ ./configure
39    
   
 else    
 $ ./configure --libexecdir=yourDirectory  
   
 and finally  
40  $ make  $ make
41    
42    then became ROOT user to install YODA
43    
44  ------>NOTE<------  $ make install
 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/bin/yoda  
45    
46    
47    ------>NOTE 1<------
48    On the source code is supplied also a tipical configuratin file for the Log4cxx tool.
49    The file is named log4cxx.conf and is designed to be put into the YODA_DATA directory,
50    but with some small variation can be placed everywhere.
51    
52    ------>NOTE 2<------
53    Because of major changes in ROOT, Trees produced with a version of ROOT greater than 4.01/02
54    cannot be read by older ROOT versions.

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.2.3

  ViewVC Help
Powered by ViewVC 1.1.23