6 for `hs-java' a patched build is needed:
7 $ git clone git://wien.tomnetworks.com/hs-java.git
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)
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 )
19 > Control/Monad/Exception/Base.hs:117:60:
20 > Not in scope: type constructor or class `WrapFailure'
22 > Control/Monad/Exception/Base.hs:118:2:
23 > `wrapFailure' is not a (visible) method of class `WrapFailure'
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')
33 unfortunately, many haskell libaries arn't tested very well, so building
34 libraries from hackage can be a very painful trip.
36 a system configuration we had success building all required
37 libraries (yes, no x86_64 so far!):
39 Linux hermann 2.6.32-22-generic-pae #36-Ubuntu SMP Thu Jun 3 23:14:23 UTC
42 Ubuntu 10.04.4 LTS \n \l
44 The Glorious Glasgow Haskell Compilation System, version 6.12.1
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.
51 /var/lib/ghc-6.12.1/package.conf.d:
56 bin-package-db-0.0.0.0
62 (dph-prim-interface-0.4.0)
66 extensible-exceptions-0.1.1.1
81 template-haskell-2.4.0.0
86 /home/lewurm/.ghc/i386-linux-6.12.1/package.conf.d:
91 control-monad-exception-0.10.1
92 data-binary-ieee754-0.4.2.1