git-annex/doc/install/cabal/comment_19_6f42f9234f9ff6a2ca6bbb4d2643843e._comment
Joey Hess 7189dfd77d git-annex (5.20131127) unstable; urgency=low
* webapp: Detect when upgrades are available, and upgrade if the user
    desires.
    (Only when git-annex is installed using the prebuilt binaries
    from git-annex upstream, not from eg Debian.)
  * assistant: Detect when the git-annex binary is modified or replaced,
    and either prompt the user to restart the program, or automatically
    restart it.
  * annex.autoupgrade configures both the above upgrade behaviors.
  * Added support for quvi 0.9. Slightly suboptimal due to limitations in its
    interface compared with the old version.
  * Bug fix: annex.version did not get set on automatic upgrade to v5 direct
    mode repo, so the upgrade was performed repeatedly, slowing commands down.
  * webapp: Fix bug that broke switching between local repositories
    that use the new guarded direct mode.
  * Android: Fix stripping of the git-annex binary.
  * Android: Make terminal app show git-annex version number.
  * Android: Re-enable XMPP support.
  * reinject: Allow to be used in direct mode.
  * Futher improvements to git repo repair. Has now been tested in tens
    of thousands of intentionally damaged repos, and successfully
    repaired them all.
  * Allow use of --unused in bare repository.

# imported from the archive
2013-11-27 18:41:44 -04:00

44 lines
1.7 KiB
Text

[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawlu7K3h7Ry1uDAU_ERYGuqt0LoGNJqGuRo"
nickname="Nathan"
subject="Cabal installing git-annex on Ubuntu 12.04 Precise with GHC 7.6.3"
date="2013-09-25T22:39:04Z"
content="""
I now realize [there is a Ubuntu 12.04 Precise PPA with a current
version of
git-annex](http://git-annex.branchable.com/install/Ubuntu/), so that's
probably a better choice, but here's how I cabal isntalled git-annex.
1. Apt install non-cabal dependencies:
sudo aptitude install c2hs libgsasl7-dev libxml2-dev
2. Manually cabal install yesod-platform to avoid the [cryptocipher problem
mentioned above](
http://git-annex.branchable.com/install/cabal/#comment-1807da37dc144b572b76aaf4b574bb54):
cabal install yesod-platform
3. Cabal install git-annex with DNS flag disabled:
cabal install git-annex -f\"-dns\"
I was getting this error building git-annex before disabling the DNS flag:
Utility/SRV.hs:70:54:
Couldn't match expected type `Maybe
[(Int, Int, Integer, B8.ByteString)]'
with actual type `Either
dns-1.0.0:Network.DNS.Internal.DNSError
[(Int, Int, Int, dns-1.0.0:Network.DNS.Internal.Domain)]'
In the third argument of `maybe', namely `r'
In the second argument of `($)', namely
`maybe [] (orderHosts . map tohosts) r'
In a stmt of a 'do' block:
return $ maybe [] (orderHosts . map tohosts) r
Looking at Utiltity/SRV.hs, it appears that disabling the DNS flag
just makes git annex use a different DNS library (ADNS), not
actually disable DNS lookups.
"""]]