mkdir ~/bin
export PATH=$HOME/bin:$PATH
SW=~/software/git
mkdir -p ${SW}
cd !$
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
#!/bin/bash -e | |
# | |
# Script to test git-annex direct mode. | |
sudo rm -rf test{1,2,3} | |
D=`pwd` | |
mkdir test1 | |
(cd test1; git init; git annex init "test1"; date > test.file; git annex add test.file; git commit -m "Initial commit";) |
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
I came across an issue when following the instructions here: | |
http://git-annex.branchable.com/install/OSX/ | |
I'm compiling the 'assistant' branch (522f568450a005ae81b24f63bb37e75320b51219). | |
The pre-compiled version of Haskell for OSX recommends the 32 bit installer, however git-annex compiles | |
Utility/libdiskfree.o Utility/libkqueue.o Utility/libmounts.o | |
as 64 bit. The 'make' command fails on linking 32- and 64-bit code. |
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
# This is very similar to installing on OSX (unsurprisingly) | |
# Based on my gist https://gist.github.com/982148 | |
# This is for version 86c5bd0 | |
sudo yum install ghc cabal-install | |
sudo cabal update | |
sudo cabal install missingh | |
sudo cabal install utf8-string | |
sudo cabal install pcre-light | |
sudo cabal install quickcheck |
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
sudo port install haskell-platform git-core ossp-uuid md5sha1sum coreutils | |
sudo port install pcre | |
sudo cabal update | |
sudo cabal install missingh | |
sudo cabal install utf8-string | |
sudo cabal install pcre-light | |
sudo cabal install quickcheck | |
sudo cabal install SHA | |
sudo cabal install dataenc |