scratch: sketched monadic foldTree stuff. Maybe quite senseless but given this a...
[mate.git] / README
1 == DEPENDENCIES ==
2 === HARPY ===
3         $ cabal install harpy
4
5 === HS-JAVA ===
6 for `hs-java' a patched build is needed:
7         $ git clone git://wien.tomnetworks.com/hs-java.git
8         $ cd hs-java
9         $ git checkout -t origin/v0.2
10         $ cabal configure; cabal build; cabal install
11 hint: for some unknown reason yet, it seems building from source will be easier
12 if you first install `hs-java' via cabal (like `harpy' above)
13
14 === CONTROL-MONAD-FAILURE ===
15 we had some issues with building this package (it's a dependency of `hs-java').
16 If you also encounter problems like this:
17 > [3 of 4] Compiling Control.Monad.Exception.Base ( Control/Monad/Exception/Base.hs, dist/build/Control/Monad/Exception/Base.o )
18 >
19 > Control/Monad/Exception/Base.hs:117:60:
20 >     Not in scope: type constructor or class `WrapFailure'
21 >
22 > Control/Monad/Exception/Base.hs:118:2:
23 >     `wrapFailure' is not a (visible) method of class `WrapFailure'
24
25 then try
26         $ cabal install cabal-install
27         $ export PATH=~/.cabal/bin:$PATH
28 after that, try again your previous step (e.g. `cabal install hs-java')
29
30
31
32 == NOTE ==
33 unfortunately, many haskell libaries arn't tested very well, so building
34 libraries from hackage can be a very painful trip.
35
36 a system configuration we had success building all required
37 libraries (yes, no x86_64 so far!):
38         $ uname -a
39         Linux hermann 2.6.32-22-generic-pae #36-Ubuntu SMP Thu Jun 3 23:14:23 UTC
40         2010 i686 GNU/Linux
41         $ cat /etc/issue
42         Ubuntu 10.04.4 LTS \n \l
43         $ ghc --version
44         The Glorious Glasgow Haskell Compilation System, version 6.12.1
45         $ gcc --version
46         gcc (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3
47         Copyright (C) 2009 Free Software Foundation, Inc.
48         This is free software; see the source for copying conditions.  There is NO
49         warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
50         $ ghc-pkg list
51         /var/lib/ghc-6.12.1/package.conf.d:
52                 Cabal-1.8.0.2
53                 array-0.3.0.0
54                 base-3.0.3.2
55                 base-4.2.0.0
56                 bin-package-db-0.0.0.0
57                 bytestring-0.9.1.5
58                 containers-0.3.0.0
59                 directory-1.0.1.0
60                 (dph-base-0.4.0)
61                 (dph-par-0.4.0)
62                 (dph-prim-interface-0.4.0)
63                 (dph-prim-par-0.4.0)
64                 (dph-prim-seq-0.4.0)
65                 (dph-seq-0.4.0)
66                 extensible-exceptions-0.1.1.1
67                 filepath-1.1.0.3
68                 (ghc-6.12.1)
69                 (ghc-binary-0.5.0.2)
70                 ghc-prim-0.2.0.0
71                 haskell98-1.0.1.1
72                 hpc-0.5.0.4
73                 integer-gmp-0.2.0.0
74                 old-locale-1.0.0.2
75                 old-time-1.0.0.3
76                 pretty-1.0.1.1
77                 process-1.0.1.2
78                 random-1.0.0.2
79                 rts-1.0
80                 syb-0.1.0.2
81                 template-haskell-2.4.0.0
82                 time-1.1.4
83                 unix-2.4.0.0
84                 utf8-string-0.3.4
85
86         /home/lewurm/.ghc/i386-linux-6.12.1/package.conf.d:
87                 Cabal-1.10.2.0
88                 HTTP-4000.2.3
89                 binary-0.5.1.0
90                 binary-state-0.1.1
91                 control-monad-exception-0.10.1
92                 data-binary-ieee754-0.4.2.1
93                 deepseq-1.3.0.0
94                 disassembler-0.1.0.1
95                 failure-0.2.0.1
96                 harpy-0.4.3.0
97                 hs-java-0.2
98                 monadloc-0.6
99                 mtl-1.1.1.1
100                 mtl-2.1
101                 network-2.3.0.11
102                 parsec-2.1.0.1
103                 parsec-3.1.2
104                 text-0.11.2.0
105                 transformers-0.3.0.0
106                 zlib-0.5.3.3