From: Bernhard Urban Date: Mon, 16 Apr 2012 11:14:20 +0000 (+0200) Subject: README: more notes on dependencies X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=99046676c8280e3b9dadbadc72d629b8f3c8a5c3;p=mate.git README: more notes on dependencies --- diff --git a/README b/README index 77dd07a..88cc252 100644 --- a/README +++ b/README @@ -5,8 +5,28 @@ === HS-JAVA === for `hs-java' a patched build is needed: $ git clone git://wien.tomnetworks.com/hs-java.git - $ git checkout v0.2 - $ cd hs-java; cabal configure; cabal build; cabal install + $ cd hs-java + $ git checkout -t origin/v0.2 + $ cabal configure; cabal build; cabal install +hint: for some unknown reason yet, it seems building from source will be easier +if you first install `hs-java' via cabal (like `harpy' above) + +=== CONTROL-MONAD-FAILURE === +we had some issues with building this package (it's a dependency of `hs-java'). +If you also encounter problems like this: +> [3 of 4] Compiling Control.Monad.Exception.Base ( Control/Monad/Exception/Base.hs, dist/build/Control/Monad/Exception/Base.o ) +> +> Control/Monad/Exception/Base.hs:117:60: +> Not in scope: type constructor or class `WrapFailure' +> +> Control/Monad/Exception/Base.hs:118:2: +> `wrapFailure' is not a (visible) method of class `WrapFailure' + +then try + $ cabal install cabal-install + $ export PATH=~/.cabal/bin:$PATH +after that, try again your previous step (e.g. `cabal install hs-java') + == NOTE == @@ -27,3 +47,60 @@ libraries (yes, no x86_64 so far!): Copyright (C) 2009 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + $ ghc-pkg list + /var/lib/ghc-6.12.1/package.conf.d: + Cabal-1.8.0.2 + array-0.3.0.0 + base-3.0.3.2 + base-4.2.0.0 + bin-package-db-0.0.0.0 + bytestring-0.9.1.5 + containers-0.3.0.0 + directory-1.0.1.0 + (dph-base-0.4.0) + (dph-par-0.4.0) + (dph-prim-interface-0.4.0) + (dph-prim-par-0.4.0) + (dph-prim-seq-0.4.0) + (dph-seq-0.4.0) + extensible-exceptions-0.1.1.1 + filepath-1.1.0.3 + (ghc-6.12.1) + (ghc-binary-0.5.0.2) + ghc-prim-0.2.0.0 + haskell98-1.0.1.1 + hpc-0.5.0.4 + integer-gmp-0.2.0.0 + old-locale-1.0.0.2 + old-time-1.0.0.3 + pretty-1.0.1.1 + process-1.0.1.2 + random-1.0.0.2 + rts-1.0 + syb-0.1.0.2 + template-haskell-2.4.0.0 + time-1.1.4 + unix-2.4.0.0 + utf8-string-0.3.4 + + /home/lewurm/.ghc/i386-linux-6.12.1/package.conf.d: + Cabal-1.10.2.0 + HTTP-4000.2.3 + binary-0.5.1.0 + binary-state-0.1.1 + control-monad-exception-0.10.1 + data-binary-ieee754-0.4.2.1 + deepseq-1.3.0.0 + disassembler-0.1.0.1 + failure-0.2.0.1 + harpy-0.4.3.0 + hs-java-0.2 + monadloc-0.6 + mtl-1.1.1.1 + mtl-2.1 + network-2.3.0.11 + parsec-2.1.0.1 + parsec-3.1.2 + text-0.11.2.0 + transformers-0.3.0.0 + zlib-0.5.3.3