| 1 | How to compile with 32bit arch on 64bit machine: | ********************************************************************************************************* | 
| 2 |  |  | 
| 3 |  | How to compile with 32bit arch on 32bit machine: | 
| 4 |  |  | 
| 5 | 1) set the PAM_BIT environmental variable to "-m32" | 1) set the PAMELA environment | 
| 6 |  |  | 
| 7 | 2) enter the directory "event" | 2) make distclean all install | 
| 8 |  |  | 
|  | 3) mv Makefile Makefile.orig |  | 
| 9 |  |  | 
|  | 4) mv Makefile.compile32biton64bitarch Makefile |  | 
| 10 |  |  | 
| 11 | 5) edit Makefile and set the correct path for these two lines, repeated twice on lines 103/104 and 117/118 | How to compile with 32bit arch on 64bit machine: | 
| 12 |  |  | 
| 13 | /usr/lib/gcc/x86_64-redhat-linux/3.4.6/32/crtbeginS.o \ | 1) set the PAMELA environment | 
|  | /usr/lib/gcc/x86_64-redhat-linux/3.4.6/32/crtendS.o \ |  | 
| 14 |  |  | 
| 15 | the correct path depends on your setup. | 2) set the PAM_BIT environmental variable to "-m32" | 
| 16 |  |  | 
| 17 |  | 3) make distclean all install | 
| 18 |  |  | 
| 19 |  |  | 
| 20 |  |  | 
| 21 | How to compile with 64bit arch on 64bit machine: | How to compile with 64bit arch on 64bit machine: | 
| 22 |  |  | 
| 23 | 1) set the PAM_BIT environmental variable to "-m64" | 1) set the PAMELA environment #### remember to use 64bit external software (ROOT, MySQL, etc.) #### | 
| 24 |  |  | 
| 25 |  | 2) make distclean all install | 
| 26 |  |  | 
| 27 |  |  | 
| 28 |  | ********************************************************************************************************* | 
| 29 |  |  | 
| 30 |  | How to install the DB: | 
| 31 |  |  | 
| 32 |  | 1) Set the environmental variable PAM_DBHOST | 
| 33 |  |  | 
| 34 |  | 2) enter the directory | 
| 35 |  | YodaProfiler/docs | 
| 36 |  |  | 
| 37 |  | 3) run the script | 
| 38 |  | ./install_DB.sh | 
| 39 |  |  | 
| 40 |  |  | 
| 41 |  | ********************************************************************************************************* | 
| 42 |  |  |