Compile FindEM » History » Version 3
Amber Herold, 04/22/2010 01:49 PM
| 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 | $ nano Makefile |
||
| 37 | </pre> |
||
| 38 | |||
| 39 | * Example: EXLIBS=-L/usr/lib/gcc/i386-redhat-linux/3.4.6/ -lg2c |
||
| 40 | * Re-compile |
||
| 41 | 2 | Amber Herold | |
| 42 | ______ |
||
| 43 | |||
| 44 | [[Install External Packages|< Install External Packages]] | [[Compile Ace2|Compile Ace2 >]] |
||
| 45 | 3 | Amber Herold | |
| 46 | ______ |