summaryrefslogtreecommitdiff
path: root/doc/install/OSX.mdwn
blob: 261959c7b148c96f3cfe69b45b298007b961f875 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Install the Haskell 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

<pre>
sudo port install git-core ossp-uuid md5sha1sum coreutils pcre

sudo ln -s /opt/local/include/pcre.h  /usr/include/pcre.h # This is hack that allows pcre-light to find pcre

sudo cabal update
cabal install git-annex --bindir=$HOME/bin
</pre>

Do not forget to add to your PATH variable your ~/bin folder. In your .bashrc, for example:
<pre>
PATH=~/bin:/usr/bin/local:$PATH
</pre>

See also:

* [[forum/OSX__39__s_haskell-platform_statically_links_things]]
* [[forum/OSX__39__s_default_sshd_behaviour_has_limited_paths_set]]