1 |
Install procedure 1.1 - Nagni 11 May 2004 |
Install procedure 2.0 - Nagni 20 September 2004 |
2 |
|
|
3 |
To install YODA: |
To install YODA: |
4 |
|
|
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----------------------- |
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 |
|
$ libtoolize (eventually "libtoolize --force") |
29 |
$ aclocal |
$ aclocal |
30 |
|
$ autoheader |
31 |
$ automake -a |
$ automake -a |
32 |
$ autoconf |
$ autoconf |
33 |
$ export CXXFLAGS="-g" |
$ export CXXFLAGS="-g" |
55 |
just making a softlink to techmodel/.libs/techmodelreader in /usr/bin |
just making a softlink to techmodel/.libs/techmodelreader in /usr/bin |
56 |
directory (root privileges are needed!) |
directory (root privileges are needed!) |
57 |
|
|
58 |
ln -s techmodel/.libs/techmodelreader /usr/bin/yoda |
ln -s techmodel/.libs/techmodelreader /usr/local/bin/yoda |
59 |
|
|
60 |
|
|
61 |
|
|