6de21a1bbd8ee4a5f3271056cac707bee1bbaa44
[mate.git] / README
1 == DEPENDENCIES ==
2 === HARPY ===
3         $ cabal install harpy
4
5 if this fails (e.g. you use ghc >= 7.0) then try our patched version:
6         $ git clone git://wien.tomnetworks.com/harpy.git
7         $ cd harpy
8         $ cabal configure; cabal build; cabal install
9
10
11 === HS-JAVA ===
12 for `hs-java' a patched build is needed:
13         $ git clone git://wien.tomnetworks.com/hs-java.git
14         $ cd hs-java
15         $ git checkout -t origin/v0.2
16         $ cabal configure; cabal build; cabal install
17 hint: for some unknown reason yet, it seems building from source will be easier
18 if you first install `hs-java' via cabal (like `harpy' above)
19
20
21 == NOTE ==
22 unfortunately, many haskell libaries arn't tested very well, so building
23 libraries from hackage can be a very painful trip.
24
25 some system configurations we had success building all required
26 libraries (yes, no x86_64 so far!):
27         $ uname -a
28         Linux hermann 2.6.32-22-generic-pae #36-Ubuntu SMP Thu Jun 3 23:14:23 UTC
29         2010 i686 GNU/Linux
30         $ cat /etc/issue
31         Ubuntu 10.04.4 LTS \n \l
32         $ ghc --version
33         The Glorious Glasgow Haskell Compilation System, version 6.12.1
34         $ gcc --version
35         gcc (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3
36         Copyright (C) 2009 Free Software Foundation, Inc.
37         This is free software; see the source for copying conditions.  There is NO
38         warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
39         $ ghc-pkg list
40         /var/lib/ghc-6.12.1/package.conf.d:
41                 Cabal-1.8.0.2
42                 array-0.3.0.0
43                 base-3.0.3.2
44                 base-4.2.0.0
45                 bin-package-db-0.0.0.0
46                 bytestring-0.9.1.5
47                 containers-0.3.0.0
48                 directory-1.0.1.0
49                 (dph-base-0.4.0)
50                 (dph-par-0.4.0)
51                 (dph-prim-interface-0.4.0)
52                 (dph-prim-par-0.4.0)
53                 (dph-prim-seq-0.4.0)
54                 (dph-seq-0.4.0)
55                 extensible-exceptions-0.1.1.1
56                 filepath-1.1.0.3
57                 (ghc-6.12.1)
58                 (ghc-binary-0.5.0.2)
59                 ghc-prim-0.2.0.0
60                 haskell98-1.0.1.1
61                 hpc-0.5.0.4
62                 integer-gmp-0.2.0.0
63                 old-locale-1.0.0.2
64                 old-time-1.0.0.3
65                 pretty-1.0.1.1
66                 process-1.0.1.2
67                 random-1.0.0.2
68                 rts-1.0
69                 syb-0.1.0.2
70                 template-haskell-2.4.0.0
71                 time-1.1.4
72                 unix-2.4.0.0
73                 utf8-string-0.3.4
74
75         /home/lewurm/.ghc/i386-linux-6.12.1/package.conf.d:
76                 Cabal-1.10.2.0
77                 HTTP-4000.2.3
78                 binary-0.5.1.0
79                 binary-state-0.1.1
80                 control-monad-exception-0.10.1
81                 data-binary-ieee754-0.4.2.1
82                 deepseq-1.3.0.0
83                 disassembler-0.1.0.1
84                 failure-0.2.0.1
85                 harpy-0.4.3.0
86                 hs-java-0.2
87                 monadloc-0.6
88                 mtl-1.1.1.1
89                 mtl-2.1
90                 network-2.3.0.11
91                 parsec-2.1.0.1
92                 parsec-3.1.2
93                 text-0.11.2.0
94                 transformers-0.3.0.0
95                 zlib-0.5.3.3
96
97
98         $ uname -a
99         Linux matevm-dev 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:41:14 UTC 2012 i686 athlon i386 GNU/Linux
100         $ cat /etc/issue
101         Ubuntu 12.04 LTS \n \l
102         $ ghc --version
103         The Glorious Glasgow Haskell Compilation System, version 7.4.1
104         $ gcc --version
105         gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
106         Copyright (C) 2011 Free Software Foundation, Inc.
107         This is free software; see the source for copying conditions.  There is NO
108         warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
109         $ ghc-pkg list
110         /var/lib/ghc/package.conf.d:
111                 Cabal-1.14.0
112                 array-0.4.0.0
113                 base-4.5.0.0
114                 bin-package-db-0.0.0.0
115                 binary-0.5.1.0
116                 bytestring-0.9.2.1
117                 containers-0.4.2.1
118                 deepseq-1.3.0.0
119                 directory-1.1.0.2
120                 extensible-exceptions-0.1.1.4
121                 filepath-1.3.0.0
122                 (ghc-7.4.1)
123                 ghc-prim-0.2.0.0
124                 (haskell2010-1.1.0.1)
125                 (haskell98-2.0.0.1)
126                 hoopl-3.8.7.3
127                 hpc-0.5.1.1
128                 integer-gmp-0.4.0.0
129                 old-locale-1.0.0.4
130                 old-time-1.1.0.0
131                 pretty-1.1.1.0
132                 process-1.1.0.1
133                 rts-1.0
134                 template-haskell-2.7.0.0
135                 time-1.4
136                 unix-2.5.1.0
137
138         /home/lewurm/.ghc/i386-linux-7.4.1/package.conf.d:
139                 Glob-0.7
140                 HUnit-1.2.4.2
141                 MissingH-1.1.1.0
142                 binary-state-0.1.1
143                 bindings-DSL-1.0.15
144                 control-monad-exception-0.10.2
145                 data-binary-ieee754-0.4.2.1
146                 disassembler-0.1.0.1
147                 dlist-0.5
148                 failure-0.2.0.1
149                 harpy-0.4.3.0
150                 hs-java-0.2
151                 hslogger-1.1.5
152                 monadloc-0.6
153                 mtl-1.1.1.1
154                 mtl-2.1
155                 network-2.3.0.11
156                 parsec-2.1.0.1
157                 random-1.0.1.1
158                 regex-base-0.93.2
159                 regex-compat-0.95.1
160                 regex-posix-0.95.1
161                 transformers-0.2.2.0
162                 transformers-0.3.0.0
163                 utf8-string-0.3.7