This commit is contained in:
https://www.google.com/accounts/o8/id?id=AItOawmd3qri1pXEYktlxYGwj37wCnrM4FMEJCc 2011-02-03 14:10:28 +00:00 committed by admin
parent 41656301ef
commit 3595abe1ca

View file

@ -2,27 +2,27 @@ Followed the instructions over here: http://git-annex.branchable.com/forum/git-a
and had to install the following extra packages to be able to get make to start: and had to install the following extra packages to be able to get make to start:
[realizes pcre-light is needed but pcre not installed on my mac] [realizes pcre-light is needed but pcre not installed on my mac]
sudo port install pcre sudo port install pcre
sudo cabal install pcre-light sudo cabal install pcre-light
But then I got the following error: But then I got the following error:
ghc -O2 -Wall --make git-annex ghc -O2 -Wall --make git-annex
[ 7 of 52] Compiling BackendTypes ( BackendTypes.hs, BackendTypes.o [ 7 of 52] Compiling BackendTypes ( BackendTypes.hs, BackendTypes.o
BackendTypes.hs:71:17: BackendTypes.hs:71:17:
No instance for (Arbitrary Char) No instance for (Arbitrary Char)
arising from a use of `arbitrary' at BackendTypes.hs:71:17-25 arising from a use of `arbitrary' at BackendTypes.hs:71:17-25
Possible fix: add an instance declaration for (Arbitrary Char) Possible fix: add an instance declaration for (Arbitrary Char)
In a stmt of a 'do' expression: backendname <- arbitrary In a stmt of a 'do' expression: backendname <- arbitrary
In the expression: In the expression:
do backendname <- arbitrary do backendname <- arbitrary
keyname <- arbitrary keyname <- arbitrary
return $ Key (backendname, keyname) return $ Key (backendname, keyname)
In the definition of `arbitrary': In the definition of `arbitrary':
arbitrary = do backendname <- arbitrary arbitrary = do backendname <- arbitrary
keyname <- arbitrary keyname <- arbitrary
return $ Key (backendname, keyname) return $ Key (backendname, keyname)
make: *** [git-annex] Error 1 make: *** [git-annex] Error 1
My knowledge of Haskell (had to lookup the spelling...) is more than rudimentary so any help would be appreciated. My knowledge of Haskell (had to lookup the spelling...) is more than rudimentary so any help would be appreciated.