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