summaryrefslogtreecommitdiff
path: root/download/index-3.2.9.t2t
blob: 61fa11a45272cc158d8777076de4066ba748bb80 (plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
Grammatical Framework Download and Installation


**GF 3.2.9** source-only snapshot was released on 12 September 2011.

What's new? Faster grammar compilation!


== Binary packages ==


No binary packages were created for this release.


==Installing from source==

[GF is on Hackage http://hackage.haskell.org/package/gf], so the prodedure is
fairly simple:

+ Install the
  [Haskell Platform 2010.2.0.0 (July 2010) http://hackage.haskell.org/platform]
  or newer.
+ ``cabal update``
+ On Linux: install some C libraries from your Linux distribution (see below)
+ ``cabal install gf``


You can also download the full source package from here:
[``gf-3.2.9.tar.gz`` gf-3.2.9.tar.gz].

=== Notes ===

The above steps installs GF for a single user and does not require root
privileges. The executables are put in ``$HOME/.cabal/bin``, so it is a good
idea to put a line in your ``.bash_profile`` to add that directory to you path:

```
  PATH=$HOME/.cabal/bin:$PATH
```

GF uses ``haskeline``, which depends some non-Haskell libraries that
won't be installed automatically by cabal, so you need to install
them manually. Here is one way to do this:

- On Ubuntu: ``sudo apt-get install libghc6-terminfo-dev``
- On Fedora: ``sudo yum install ghc-terminfo-devel``


==Installing from the latest developer code==

The first time:

```
  darcs get --lazy http://www.grammaticalframework.org/ GF
  cd GF
  cabal install
```

Subsequently:

```
  cd GF
  darcs pull -a
  cabal install
```

The above notes for installing from source apply also in this case.


==Older releases==

- [GF 3.2 index-3.2.html] (December 2011).
- [GF 3.1.6 index-3.1.6.html] (April 2010).
- [GF 3.1 old-index.html] (December 2009).