| 1 |
Gretl uses GNU autoconf. Here's the quick way to get going: |
| 2 |
|
| 3 |
./configure |
| 4 |
make |
| 5 |
make check |
| 6 |
make install |
| 7 |
|
| 8 |
* You may want to do "./configure --help" first to see what options are |
| 9 |
available. |
| 10 |
|
| 11 |
* By default the installation goes under /usr/local. To install |
| 12 |
elsewhere use "./configure --prefix=/your/prefix". |
| 13 |
|
| 14 |
* Packagers who are using DESTDIR when building a gretl package |
| 15 |
should use the "--disable-xdg-utils" option so that gretl's XDG |
| 16 |
files get installed to DESTDIR rather than to the standard system |
| 17 |
location. |
| 18 |
|
| 19 |
* Gretl requires that a LAPACK library is available. Two variants |
| 20 |
should be auto-detected -- libopenblas, and liblapack plus |
| 21 |
libblas -- provided the libraries are in a location searched by the |
| 22 |
linker by default. In case of other configurations, such as ATLAS |
| 23 |
or the Intel Math Kernel library (MKL) or openblas in a non-standard |
| 24 |
location, you should provide an appropriate linker line in the |
| 25 |
environment variable LAPACK_LIBS when calling the configure script. |
| 26 |
For example, for openblas installed under /opt: |
| 27 |
|
| 28 |
LAPACK_LIBS='-L/opt/openblas/lib -lopenblas' ./configure ... |
| 29 |
|
| 30 |
* On systems where GNU make is not the default you may need to use the |
| 31 |
"--with-gmake" option to ./configure. |
| 32 |
|
| 33 |
See the Gretl User's Guide, Appendix C ("Building gretl") for further |
| 34 |
details [ http://gretl.sourceforge.net/#man ] |