mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 13:09:33 -06:00
39 lines
893 B
Plaintext
39 lines
893 B
Plaintext
Installing a binary GF distribution:
|
|
|
|
1. Untar the distribution file:
|
|
|
|
$ gtar -zxf GF-2.8-[host].tar.gz
|
|
|
|
2. Go to the created directory:
|
|
|
|
$ cd GF-2.8-[host]
|
|
|
|
3. Run configure:
|
|
|
|
$ ./configure
|
|
|
|
If you don't want to install the files under /usr/local,
|
|
run configure with the right installation prefix. E.g.:
|
|
|
|
$ ./configure --prefix=/usr
|
|
|
|
4. Install:
|
|
|
|
$ make install
|
|
|
|
If the above procedure should fail (e.g. you don't have "make" available), you
|
|
can do a manual install:
|
|
|
|
1. Untar the package and go to the GF directory, as 1-2 above.
|
|
|
|
2. The executable is the file "gf". You may want to move it somewhere
|
|
else, e.g. /usr/local/bin
|
|
|
|
3. The libraries are in the subdirectory "lib/". It is recommended to
|
|
create an environment variable GF_LIB_PATH pointing to that directory.
|
|
In the bash shell, you do
|
|
|
|
$ export GF_LIB_PATH=[your gf directory]/lib
|
|
|
|
|