1 |
Install procedure 2.x - Nagni 07 February 2005 |
Install procedure 2.x - Nagni 15 February 2005 |
2 |
|
|
3 |
To install YODA: |
To install YODA: |
4 |
|
|
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) execute the following commands |
4) execute the following commands (please customize the ./configure line according to your system) |
26 |
|
|
27 |
$ cd $YODA_ROOT |
$ cd $YODA_ROOT |
28 |
$ autoheader |
$ autoheader |
29 |
$ libtoolize (eventually "libtoolize --force") |
$ libtoolize (eventually "libtoolize --force") |
30 |
|
$ export CFLAGS="-g -O4" |
31 |
|
$ export FFLAGS="-g -O0 -keepC" |
32 |
|
$ export CXXFLAGS="-g -O4" |
33 |
$ aclocal |
$ aclocal |
34 |
$ automake -a |
$ automake -a |
35 |
$ autoconf |
$ autoconf |
36 |
$ export CXXFLAGS="-g" |
$ ./configure --prefix=/path/where/you/want/to/install --with-log4cxx=/opt/log4cxx --enable-gprof=no |
37 |
|
$ make |
38 |
|
|
39 |
that a look at the configure options |
that a look at the configure options |
40 |
$ ./configure --help |
$ ./configure --help |
47 |
|
|
48 |
$ make install |
$ make install |
49 |
|
|
50 |
|
if everthing has been correct typing |
51 |
|
|
52 |
|
$ yoda |
53 |
|
|
54 |
|
the program should reply something like below |
55 |
|
|
56 |
|
You have forgotten the file name. |
57 |
|
Try '--help' for more information. |
58 |
|
|
59 |
|
|
60 |
|
|
61 |
|
|
62 |
------>NOTE 1<------ |
------>NOTE 1<------ |
63 |
On the source code is supplied also a tipical configuratin file for the Log4cxx tool. |
On the source code is supplied also a tipical configuratin file for the Log4cxx tool. |
70 |
cannot be read by older ROOT versions. |
cannot be read by older ROOT versions. |
71 |
|
|
72 |
------>NOTE 3<------ |
------>NOTE 3<------ |
73 |
If you are doing an upgrading is highly recomended to execute a |
If you are doing an upgrading is highly recomended to uninstall your previous version. |
|
$ make distclean |
|