simplify OSX installation instructions
The new Haskell Platform was released today, with the new ghc git-annex's master branch needs, so cabal should be usable again on OSX.
This commit is contained in:
parent
c74f39843b
commit
619d765646
1 changed files with 2 additions and 11 deletions
|
@ -1,4 +1,4 @@
|
||||||
Install Haskel Platform from [[http://hackage.haskell.org/platform/mac.html]].
|
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.
|
The version provided by Macports is too old to work with current versions of git-annex.
|
||||||
Then execute
|
Then execute
|
||||||
|
|
||||||
|
@ -7,19 +7,10 @@ sudo port install git-core ossp-uuid md5sha1sum coreutils pcre
|
||||||
|
|
||||||
sudo ln -s /opt/local/include/pcre.h /usr/include/pcre.h # This is hack that allows pcre-light to find pcre
|
sudo ln -s /opt/local/include/pcre.h /usr/include/pcre.h # This is hack that allows pcre-light to find pcre
|
||||||
|
|
||||||
git clone git://git-annex.branchable.com/ git-annex
|
|
||||||
cd git-annex
|
|
||||||
git checkout ghc7.0
|
|
||||||
|
|
||||||
sudo cabal update
|
sudo cabal update
|
||||||
cabal install --only-dependencies
|
cabal install git-annex --bindir=$HOME/bin
|
||||||
cabal configure
|
|
||||||
cabal build
|
|
||||||
cabal install --bindir=$HOME/bin
|
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
Originally posted by Jon at <https://gist.github.com/671785> --[[Joey]], modified by [[kristianrumberg]]
|
|
||||||
|
|
||||||
See also:
|
See also:
|
||||||
|
|
||||||
* [[forum/OSX__39__s_haskell-platform_statically_links_things]]
|
* [[forum/OSX__39__s_haskell-platform_statically_links_things]]
|
||||||
|
|
Loading…
Reference in a new issue