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