git-annex.app
For easy installation, use the beta release of git-annex.app.
Be sure to select the build matching your version of OSX.
This is still a work in progress. See OSX app issues for problem reports.
autobuilds
Jimmy Tang autobuilds the app for OSX Lion.
- autobuild of git-annex.app (build logs)
- past builds -- directories are named from the commitid's
Joey autobuilds the app for Mountain Lion.
using Brew
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
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
sudo port install git-core ossp-uuid md5sha1sum coreutils pcre gnutls libxml2 libgsasl pkgconfig 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
PATH setup
Do not forget to add to your PATH variable your ~/bin folder. In your .bashrc, for example:
PATH=$HOME/bin:$PATH
See also:
- OSX's haskell-platform statically links things
- OSX's default sshd behaviour has limited paths set
I've moved some outdated comments about installing on OSX to old comments. And also moved away some comments that helped build the instructions above.
Installing via the MacPorts method. I ran into this error.
I was able to solve and get git-annex to build buy providing the --extra-lib-dirs parameter
Cheers, Daniel Wozniak
Hi,
Are there plans to provide a git-annex.app that works on Snow Leopard?
Currently there are only installers for the Lions.
http://downloads.kitenet.net/git-annex/OSX/current/
Thanks :-)
Bad news, it looks like I'm not able to install git-annex to my machine: When I run
I get the following error:
What does ExitFailure 11 mean?
cabal update && cabal upgrade git-annex