From 8f0b86dab5db2882aefd2b3653de186b94fec4f4 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawmd3qri1pXEYktlxYGwj37wCnrM4FMEJCc" Date: Thu, 3 Feb 2011 14:07:52 +0000 Subject: [PATCH 1/3] --- doc/bugs/Problems_running_make_on_osx.mdwn | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 doc/bugs/Problems_running_make_on_osx.mdwn 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 0000000000..6708981b90 --- /dev/null +++ b/doc/bugs/Problems_running_make_on_osx.mdwn @@ -0,0 +1,29 @@ +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. From 41656301ef734a9dd810ec77adb1fd1ff350fd39 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawmd3qri1pXEYktlxYGwj37wCnrM4FMEJCc" Date: Thu, 3 Feb 2011 14:08:38 +0000 Subject: [PATCH 2/3] --- doc/bugs/Problems_running_make_on_osx.mdwn | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/bugs/Problems_running_make_on_osx.mdwn b/doc/bugs/Problems_running_make_on_osx.mdwn index 6708981b90..d14c058e41 100644 --- a/doc/bugs/Problems_running_make_on_osx.mdwn +++ b/doc/bugs/Problems_running_make_on_osx.mdwn @@ -5,7 +5,6 @@ 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 From 3595abe1ca77c7942bcee420e9058b99b198708c Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawmd3qri1pXEYktlxYGwj37wCnrM4FMEJCc" Date: Thu, 3 Feb 2011 14:10:28 +0000 Subject: [PATCH 3/3] --- doc/bugs/Problems_running_make_on_osx.mdwn | 40 +++++++++++----------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/doc/bugs/Problems_running_make_on_osx.mdwn b/doc/bugs/Problems_running_make_on_osx.mdwn index d14c058e41..96626cc376 100644 --- a/doc/bugs/Problems_running_make_on_osx.mdwn +++ b/doc/bugs/Problems_running_make_on_osx.mdwn @@ -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: -[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: +[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 +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 +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.