1 MateVM is i686 only, at the moment.
5 install GHC via your distro manager. make sure you install
6 it with shared libaries.
7 on ubuntu 12.04 LTS it is:
8 $ sudo apt-get install ghc-dynamic
10 for an "easy" installation of the remaining packages, you can use
11 the script "./tools/installhaskellenv.sh".
12 note, that it deletes your ~/.cabal and ~/.ghc directory first.
16 $ cabal install harpy --enable-shared
18 if this fails (e.g. you use ghc >= 7.0) then try our patched version:
19 $ git clone git://wien.tomnetworks.com/harpy.git
21 $ cabal configure --enable-shared
23 $ cabal install --enable-shared
27 for `hs-java' a patched build is needed:
28 $ git clone git://wien.tomnetworks.com/hs-java.git
30 $ git checkout -t origin/v0.2
31 $ cabal configure --enable-shared
33 $ cabal install --enable-shared
34 hint: for some unknown reason yet, it seems building from source will be easier
35 if you first install `hs-java' via cabal (like `harpy' above)
39 $ cabal install missingh --enable-shared
40 $ cabal install heap --enable-shared
41 $ cabal install plugins --enable-shared
45 unfortunately, many haskell libaries arn't tested very well, so building
46 libraries from hackage can be a very painful trip.
48 some system configurations we had success building all required
49 libraries (yes, no x86_64 so far!):
51 Linux hermann 2.6.32-22-generic-pae #36-Ubuntu SMP Thu Jun 3 23:14:23 UTC
54 Ubuntu 10.04.4 LTS \n \l
56 The Glorious Glasgow Haskell Compilation System, version 6.12.1
58 gcc (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3
59 Copyright (C) 2009 Free Software Foundation, Inc.
60 This is free software; see the source for copying conditions. There is NO
61 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
63 /var/lib/ghc-6.12.1/package.conf.d:
68 bin-package-db-0.0.0.0
74 (dph-prim-interface-0.4.0)
78 extensible-exceptions-0.1.1.1
93 template-haskell-2.4.0.0
98 /home/lewurm/.ghc/i386-linux-6.12.1/package.conf.d:
103 control-monad-exception-0.10.1
104 data-binary-ieee754-0.4.2.1
122 Linux matevm-dev 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:41:14 UTC 2012 i686 athlon i386 GNU/Linux
124 Ubuntu 12.04 LTS \n \l
126 The Glorious Glasgow Haskell Compilation System, version 7.4.1
128 gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
129 Copyright (C) 2011 Free Software Foundation, Inc.
130 This is free software; see the source for copying conditions. There is NO
131 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
133 /var/lib/ghc/package.conf.d:
137 bin-package-db-0.0.0.0
143 extensible-exceptions-0.1.1.4
147 (haskell2010-1.1.0.1)
157 template-haskell-2.7.0.0
161 /home/lewurm/.ghc/i386-linux-7.4.1/package.conf.d:
166 control-monad-exception-0.10.2
167 data-binary-ieee754-0.4.2.1