Compile FindEM » History » Version 5
Neil Voss, 05/12/2010 10:35 AM
1 | 1 | Amber Herold | h1. Compile FindEM |
---|---|---|---|
2 | |||
3 | Note: a 64bit binary is provided in the myami package. It is only necessary to compile a new version if it does not work. |
||
4 | |||
5 | * Goto appion/findem folder to make findem.exe |
||
6 | |||
7 | * Compile the libraries and binary |
||
8 | |||
9 | <pre> |
||
10 | $ make |
||
11 | </pre> |
||
12 | |||
13 | * Test findem.exe to see if it runs |
||
14 | |||
15 | <pre> |
||
16 | $ make test |
||
17 | </pre> |
||
18 | |||
19 | *WARNING* |
||
20 | Only if the first part fails, you must add the path to libg2c.so library file. |
||
21 | Otherwise skip to next section. |
||
22 | |||
23 | * locate libg2c.so library file |
||
24 | |||
25 | <pre> |
||
26 | $ ls /usr/lib/gcc/`uname -i`-redhat-linux/3.4.6/libg2c.so |
||
27 | </pre> |
||
28 | |||
29 | <pre> |
||
30 | $ locate libg2c.so |
||
31 | </pre> |
||
32 | |||
33 | * Edit Makefile with location of libg2c.so |
||
34 | |||
35 | <pre> |
||
36 | 4 | Neil Voss | EXLIBS=-L/usr/lib/gcc/i386-redhat-linux/3.4.6/ -lg2c |
37 | 1 | Amber Herold | </pre> |
38 | |||
39 | * Re-compile |
||
40 | 2 | Amber Herold | |
41 | ______ |
||
42 | |||
43 | 5 | Neil Voss | [[Install EMAN|< Install EMAN]] | [[Compile Ace2|Compile Ace2 >]] |
44 | 3 | Amber Herold | |
45 | ______ |