Last active
August 13, 2023 20:51
-
-
Save calmyournerves/7144127 to your computer and use it in GitHub Desktop.
Building git-annex on OS X 10.9 Mavericks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# make sure the following is installed: | |
# - Xcode Command Line Tools (xcode-select --install) | |
# - OpenSSL from homebrew (brew install openssl && brew link openssl --force) | |
# dependencies and preparations | |
brew update | |
brew install git ossp-uuid md5sha1sum coreutils pcre gnutls libidn gsasl pkg-config libxml2 | |
brew link libxml2 --force | |
brew tap darinmorrison/haskell | |
brew install darinmorrison/haskell/cabal-install | |
cabal update | |
PATH=~/.cabal/bin:$PATH | |
cabal install happy | |
cabal install alex | |
cabal install c2hs | |
cabal install gnuidn | |
# for shell use | |
cabal install git-annex | |
ln -s ~/.cabal/bin/git-annex* /usr/local/bin/ | |
# to create git-annex.app | |
git clone https://github.com/joeyh/git-annex.git | |
cd git-annex | |
cabal build | |
make osxapp | |
cp -R tmp/build-dmg/git-annex.app /Applications/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you, that was a great help!