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