1 |
kusanagi |
1.3 |
Install procedure 2.0 - Nagni 20 September 2004 |
2 |
kusanagi |
1.1 |
|
3 |
|
|
To install YODA: |
4 |
|
|
|
5 |
|
|
1) check that you have installed ROOT and your enviroment have defined |
6 |
|
|
|
7 |
|
|
#-----YODA's Environment----------------------- |
8 |
|
|
# this variable define where YODA will write the managed files |
9 |
|
|
export YODA_DATA= YourPathToStoreUnpackedFiles |
10 |
|
|
#-----YODA's Environment----------------------- |
11 |
|
|
|
12 |
|
|
#-----Cern's ROOT Environment----------------------- |
13 |
|
|
export ROOTSYS=/usr/share/root |
14 |
|
|
export PATH=$ROOTSYS/bin:$PATH |
15 |
|
|
export LD_LIBRARY_PATH=$ROOTSYS/lib |
16 |
|
|
#-----Cern's ROOT Environment----------------------- |
17 |
|
|
|
18 |
|
|
2) check that you have installed |
19 |
kusanagi |
1.3 |
---->log4cxx (jakarta logger for c++ programs) |
20 |
kusanagi |
1.1 |
---->g77 (GNU FORTRAN Compiler) |
21 |
|
|
---->LIBTOOL (compiler utility) |
22 |
|
|
|
23 |
|
|
3) create a directory (say YOUR_YODA) and copy the source into it |
24 |
|
|
|
25 |
kusanagi |
1.2 |
4) execute the following commands |
26 |
kusanagi |
1.1 |
|
27 |
|
|
$ cd $YODA_ROOT |
28 |
kusanagi |
1.2 |
$ libtoolize (eventually "libtoolize --force") |
29 |
kusanagi |
1.1 |
$ aclocal |
30 |
kusanagi |
1.2 |
$ autoheader |
31 |
kusanagi |
1.1 |
$ automake -a |
32 |
|
|
$ autoconf |
33 |
|
|
$ export CXXFLAGS="-g" |
34 |
|
|
|
35 |
|
|
that a look at the configure options |
36 |
|
|
$ ./configure --help |
37 |
|
|
|
38 |
|
|
if you want to install executable in the same directory of source code |
39 |
|
|
$ ./configure |
40 |
|
|
|
41 |
|
|
|
42 |
|
|
else |
43 |
|
|
$ ./configure --libexecdir=yourDirectory |
44 |
|
|
|
45 |
|
|
and finally |
46 |
|
|
$ make |
47 |
|
|
|
48 |
|
|
|
49 |
|
|
------>NOTE<------ |
50 |
|
|
This procedure will generate the code in the same directory YODA |
51 |
|
|
sources has been copied. |
52 |
|
|
The executable file name is techmodelreader and it's located in |
53 |
|
|
TECHMODEL directory. |
54 |
|
|
To make yoda available using just the command "yoda" from every location |
55 |
|
|
just making a softlink to techmodel/.libs/techmodelreader in /usr/bin |
56 |
|
|
directory (root privileges are needed!) |
57 |
|
|
|
58 |
kusanagi |
1.2 |
ln -s techmodel/.libs/techmodelreader /usr/local/bin/yoda |
59 |
kusanagi |
1.1 |
|
60 |
|
|
|
61 |
|
|
|