git-annex/doc/install/OSX.mdwn

61 lines
2 KiB
Text
Raw Normal View History

2012-09-27 22:52:42 +00:00
## git-annex.app
2012-12-17 16:59:18 +00:00
For easy installation, use the
[beta release of git-annex.app](http://downloads.kitenet.net/git-annex/OSX/current/).
2012-09-27 22:52:42 +00:00
2012-12-17 16:59:18 +00:00
Be sure to select the build matching your version of OSX.
This is still a work in progress. See [[/bugs/OSX_app_issues]] for problem
reports.
## autobuilds
2012-09-27 22:52:42 +00:00
2012-12-17 16:59:18 +00:00
[Jimmy Tang](http://www.sgenomics.org/~jtang/) autobuilds
2012-12-17 23:47:39 +00:00
the app for OSX Lion.
2012-12-17 16:59:18 +00:00
* [autobuild of git-annex.app](http://www.sgenomics.org/~jtang/gitbuilder-git-annex-x00-x86_64-apple-darwin10.8.0-binary/ref/master/git-annex.dmg.bz2) ([build logs](http://www.sgenomics.org/~jtang/gitbuilder-git-annex-x00-x86_64-apple-darwin10.8.0-binary/))
* [past builds](http://www.sgenomics.org/~jtang/gitbuilder-git-annex-x00-x86_64-apple-darwin10.8.0-binary/sha1/) -- directories are named from the commitid's
2012-11-26 17:35:43 +00:00
2012-12-17 23:47:39 +00:00
[[Joey]] autobuilds the app for Mountain Lion.
2012-12-21 19:06:22 +00:00
* [autobuild of git-annex.app](http://downloads.kitenet.net/git-annex/autobuild/x86_64-apple-mountain-lion/git-annex.dmg.bz2) ([build logs](http://downloads.kitenet.net/git-annex/autobuild/x86_64-apple-mountain-lion/))
2012-12-17 23:47:39 +00:00
## using Brew
<pre>
2012-12-26 01:34:47 +00:00
brew update
brew install haskell-platform git ossp-uuid md5sha1sum coreutils pcre libgsasl gnutls libidn libgsasl pkg-config libxml2
brew link libxml2
cabal update
PATH=$HOME/bin:$PATH
cabal install c2hs git-annex --bindir=$HOME/bin
</pre>
## using MacPorts
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
2011-07-30 17:28:42 +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
sudo cabal update
PATH=$HOME/bin:$PATH
cabal install c2hs git-annex --bindir=$HOME/bin
</pre>
## PATH setup
2012-08-24 18:22:07 +00:00
Do not forget to add to your PATH variable your ~/bin folder. In your .bashrc, for example:
<pre>
PATH=$HOME/bin:$PATH
2012-08-24 18:22:07 +00:00
</pre>
See also:
* [[forum/OSX__39__s_haskell-platform_statically_links_things]]
* [[forum/OSX__39__s_default_sshd_behaviour_has_limited_paths_set]]