2011-07-30 17:28:42 +00:00
Install Haskel Platform from [[http://hackage.haskell.org/platform/mac.html]]. The version provided by Macports is too old to work with current versions of git-annex. Then execute
2011-02-06 17:43:31 +00:00
<pre>
2011-07-30 17:28:42 +00:00
sudo port install git-core ossp-uuid md5sha1sum coreutils pcre
2011-07-30 18:04:25 +00:00
sudo ln -s /opt/local/include/pcre.h /usr/include/pcre.h # This is hack that allows pcre-light to find pcre
2011-02-06 17:43:31 +00:00
2011-03-02 17:47:45 +00:00
# optional: this will enable the gnu tools, (to give sha224sum etc..., it does not override the BSD userland)
2011-03-02 10:36:33 +00:00
export PATH=$PATH:/opt/local/libexec/gnubin
2011-09-06 18:48:15 +00:00
sudo cabal update
2011-09-25 18:26:05 +00:00
cabal install git-annex --bindir=$HOME/bin
2011-02-06 17:43:31 +00:00
</pre>
2011-07-30 17:28:42 +00:00
Originally posted by Jon at <https://gist.github.com/671785> --[[Joey]], modified by [[kristianrumberg]]
2011-03-19 15:31:08 +00:00
See also:
* [[forum/OSX__39__s_haskell-platform_statically_links_things]]
* [[forum/OSX__39__s_default_sshd_behaviour_has_limited_paths_set]]