[[!comment format=mdwn
 username="http://colberg.org/"
 ip="2001:470:1d:4d4:2d4b:7654:2c00:b95c"
 subject="comment 3"
 date="2012-11-12T05:05:39Z"
 content="""
Hi Florian,

I maintain a makefile for GNU/Linux systems that builds git-annex from scratch using a single command.

    git clone http://git.colberg.org/packages.git

    nice make -f packages.mk CONCURRENCY_LEVEL=16 PREFIX=$HOME/usr/rhel6-x64_64 install-git-annex

The makefile fetches pre-compiled GHC 6.x (x86_64), which works on old systems (e.g. RHEL 5), builds a recent GHC 7.x from source, a minimal Haskell environment with cabal-install, and finally git-annex. I have succesfully compiled git-annex on RHEL 5.x and 6.x, and CentOS 6.x.

If the build fails using the system's GCC, there is also a newer GCC in the same makefile:

    nice make -f packages.mk CONCURRENCY_LEVEL=16 PREFIX=$HOME/usr/rhel6-x64_64 install-gcc

Regards,
Peter
"""]]
