| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| EDIF_files | 2011-05-26 | ||
| doc | 2011-05-19 | ||
| example | 2011-02-08 | ||
| libfame-1.1.tar.gz | 2011-02-22 | 695.9 kB | |
| README | 2011-02-08 | 1.3 kB | |
| Totals: 5 Items | 697.2 kB | 0 |
This file gives some instructions on the installation process of libfame. -1- READLINE: In order to have libfame correctly functioning you have to install the GNU readline library: ftp://ftp.cwru.edu/pub/bash/readline-6.1.tar.gz -2- INSTALLATION: To install the library you just need to execute the following commands: 1) ./configure 2) make 3) make install On most systems, in order to be able to install the library in the default path, you need to run the 'make install' a super user. -3- SYSTEM CONFIGURATION: In order to correctly link your programs with libfame, you need to instruct the compiler on the locatin of the library. First of all, locate the library with the following command: $> whereis libfame The default answer will be similar to: "libfame: /usr/local/lib/libfame.la /usr/local/lib/libfame.a /usr/local/lib/libfame.so" In any case, the default location is '/usr/local/lib'. Once you have located the library (suppose in '/usr/local/lib'), you can do one of the following: 1) in the compilation command specify the library path by means of the -L option: e.g. gcc -L/usr/local/include my_prog.c -lfame 2) set the default environment library path variable to include the '/usr/local/lib': $> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib