1 |
Install procedure 2.x - Nagni 15 February 2005 |
Install procedure 3.0 - Nagni 04 April 2006 |
2 |
|
|
3 |
To install YODA: |
To install YODA you can either use traditional Makefile (deprecated) or ANT tool (suggested). |
4 |
|
|
5 |
|
/**************/ |
6 |
|
USING Makefile |
7 |
|
/**************/ |
8 |
|
|
9 |
1) check that you have installed ROOT and your enviroment have defined |
1) check that you have installed ROOT and your enviroment have defined |
10 |
|
|
58 |
the program should reply something like below |
the program should reply something like below |
59 |
|
|
60 |
You have forgotten the file name. |
You have forgotten the file name. |
61 |
Try '--help' for more information. |
Try '-help' for more information. |
62 |
|
|
63 |
|
|
64 |
|
/**************/ |
65 |
|
USING ANT |
66 |
|
/**************/ |
67 |
|
|
68 |
|
For this you should have installed moreover the ANT tool also the ant-contrib package. Once you have edited and configured the "value"s of the following parameters in the build.xml file |
69 |
|
|
70 |
|
<!--Here is where all the stuff will be installed--> |
71 |
|
<property name="pamSoftware" value="${env.HOME}/pamela"/> |
72 |
|
|
73 |
|
<!-- CERN's ROOT base directory --> |
74 |
|
<property name="root" value="/opt/root"/> |
75 |
|
|
76 |
|
<!-- LOG4CXX base directory --> |
77 |
|
<property name="log4cxx" value="/opt/log4cxx"/> |
78 |
|
|
79 |
|
<!-- ant-contrib base directory --> |
80 |
|
<property name="ant-contrib.lib" value="/opt/ant-contrib/lib"/> |
81 |
|
|
82 |
|
you can run (in the same folder of build.xml) |
83 |
|
|
84 |
|
ant compileYoda |
85 |
|
|
86 |
|
once you verified that everithing is ok run |
87 |
|
|
88 |
|
ant deployYoda |
89 |
|
|
90 |
|
At the end you will have into the "pamSoftware" folder a structure like |
91 |
|
./bin/yoda |
92 |
|
./lib/libyoda.so |
93 |
|
./include/several ".h" files |
94 |
|
|
95 |
|
Check the funzionality typing |
96 |
|
|
97 |
|
/"pamSoftware"/bin/yoda |
98 |
|
|
99 |
|
|
100 |
|
-----> Troubleshoting <---- |
101 |
|
If you get a kind of "libxxxx.so" not found check that |
102 |
|
|
103 |
|
log4cxx/lib, root/lib, /"pamSoftware"/lib/ |
104 |
|
|
105 |
|
are in your LD_LIBRARY_PATH environment. |
106 |
|
|
107 |
|
|
108 |
|
|
117 |
cannot be read by older ROOT versions. |
cannot be read by older ROOT versions. |
118 |
|
|
119 |
------>NOTE 3<------ |
------>NOTE 3<------ |
120 |
If you are doing an upgrading is highly recomended to uninstall your previous version. |
If you are doing an upgrading and you are installing it in a different location be careful to not use in the LD_LIBRARY_PATH both new and old yodalib.so. |