summaryrefslogtreecommitdiff
path: root/doc/install/OSX
diff options
context:
space:
mode:
authorGravatar https://a-or-b.myopenid.com/ <https://a-or-b.myopenid.com/@web>2012-07-24 03:26:47 +0000
committerGravatar admin <admin@branchable.com>2012-07-24 03:26:47 +0000
commit9e0eb501c6c5146d0a94ed1c25e82b5763bb0434 (patch)
tree52e1faf45cd74b158fc005c4fa5f7a4a74cbbfc3 /doc/install/OSX
parent5e6e48c7f2693481922a902e57b78f96bc124c8b (diff)
Added a comment: Compiling git-annex on OSX (with 32 bit Haskell)
Diffstat (limited to 'doc/install/OSX')
-rw-r--r--doc/install/OSX/comment_16_af6fe3540032cdf4400478de87771058._comment30
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/install/OSX/comment_16_af6fe3540032cdf4400478de87771058._comment b/doc/install/OSX/comment_16_af6fe3540032cdf4400478de87771058._comment
new file mode 100644
index 000000000..5da4b22c6
--- /dev/null
+++ b/doc/install/OSX/comment_16_af6fe3540032cdf4400478de87771058._comment
@@ -0,0 +1,30 @@
+[[!comment format=mdwn
+ username="https://a-or-b.myopenid.com/"
+ ip="203.45.2.230"
+ subject="Compiling git-annex on OSX (with 32 bit Haskell)"
+ date="2012-07-24T03:26:45Z"
+ content="""
+I came across an issue when following the instructions here:
+ <http://git-annex.branchable.com/install/OSX/>
+
+I'm compiling the 'assistant' branch (522f568450a005ae81b24f63bb37e75320b51219).
+
+
+The pre-compiled version of Haskell for OSX recommends the 32 bit installer, however git-annex compiles
+
+> Utility/libdiskfree.o Utility/libkqueue.o Utility/libmounts.o
+
+as 64 bit. The 'make' command fails on linking 32- and 64-bit code.
+
+So... I made a small change to the Makefile
+
+> CFLAGS=-Wall
+
+becomes
+
+> CFLAGS=-Wall -m32
+
+I don't know if there is an easy way to programmatically check for this, or even if you'd want to spend time doing it, but it might help someone else out.
+
+<https://gist.github.com/3167798>
+"""]]