2011-02-03 14:07:52 +00:00
|
|
|
Followed the instructions over here: http://git-annex.branchable.com/forum/git-annex_on_OSX/
|
|
|
|
|
|
|
|
and had to install the following extra packages to be able to get make to start:
|
|
|
|
|
2011-02-03 14:10:28 +00:00
|
|
|
[realizes pcre-light is needed but pcre not installed on my mac]
|
|
|
|
sudo port install pcre
|
|
|
|
sudo cabal install pcre-light
|
2011-02-03 18:11:28 +00:00
|
|
|
|
|
|
|
> Ah right, that is a new dependency. I've updated the forum page
|
|
|
|
> with this info.
|
|
|
|
> --[[Joey]]
|
|
|
|
|
2011-02-03 14:10:28 +00:00
|
|
|
But then I got the following error:
|
2011-02-03 14:07:52 +00:00
|
|
|
|
2011-02-03 18:11:28 +00:00
|
|
|
<pre>
|
2011-02-03 14:10:28 +00:00
|
|
|
ghc -O2 -Wall --make git-annex
|
|
|
|
[ 7 of 52] Compiling BackendTypes ( BackendTypes.hs, BackendTypes.o
|
2011-02-03 14:07:52 +00:00
|
|
|
|
2011-02-03 14:10:28 +00:00
|
|
|
BackendTypes.hs:71:17:
|
|
|
|
No instance for (Arbitrary Char)
|
|
|
|
arising from a use of `arbitrary' at BackendTypes.hs:71:17-25
|
|
|
|
Possible fix: add an instance declaration for (Arbitrary Char)
|
|
|
|
In a stmt of a 'do' expression: backendname <- arbitrary
|
|
|
|
In the expression:
|
|
|
|
do backendname <- arbitrary
|
|
|
|
keyname <- arbitrary
|
|
|
|
return $ Key (backendname, keyname)
|
|
|
|
In the definition of `arbitrary':
|
|
|
|
arbitrary = do backendname <- arbitrary
|
|
|
|
keyname <- arbitrary
|
|
|
|
return $ Key (backendname, keyname)
|
|
|
|
make: *** [git-annex] Error 1
|
2011-02-03 18:11:28 +00:00
|
|
|
</pre>
|
2011-02-03 14:07:52 +00:00
|
|
|
|
|
|
|
My knowledge of Haskell (had to lookup the spelling...) is more than rudimentary so any help would be appreciated.
|
2011-02-03 18:11:28 +00:00
|
|
|
|
|
|
|
> Hmm, it seems you may be missing part of the quickcheck haskell
|
|
|
|
> library, or have a different version than me.
|
|
|
|
>
|
|
|
|
> The easy fix is probably to just edit BackendTypes.hs and delete the
|
|
|
|
> entire end of the file from line 68, "for quickcheck" down. This code
|
|
|
|
> is only used by the test suite (so "make test" will fail),
|
|
|
|
> but it should get it to build. --[[Joey]]
|