summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-02-03 14:04:05 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-02-03 14:04:05 -0400
commit5a1c12f64b96ad0a2cd74959b0f94593f40ac46f (patch)
tree986554f7734a00cd4f19528e296fcdf68bc7c6c7
parentd29187b1518e5821a8367b74315442f8557d5617 (diff)
parent3595abe1ca77c7942bcee420e9058b99b198708c (diff)
Merge remote branch 'branchable/master'
-rw-r--r--doc/bugs/Problems_running_make_on_osx.mdwn28
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/bugs/Problems_running_make_on_osx.mdwn b/doc/bugs/Problems_running_make_on_osx.mdwn
new file mode 100644
index 000000000..96626cc37
--- /dev/null
+++ b/doc/bugs/Problems_running_make_on_osx.mdwn
@@ -0,0 +1,28 @@
+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:
+
+[realizes pcre-light is needed but pcre not installed on my mac]
+sudo port install pcre
+sudo cabal install pcre-light
+But then I got the following error:
+
+ghc -O2 -Wall --make git-annex
+[ 7 of 52] Compiling BackendTypes ( BackendTypes.hs, BackendTypes.o
+
+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
+
+My knowledge of Haskell (had to lookup the spelling...) is more than rudimentary so any help would be appreciated.