Hi,

I try to install git-annex master with cabal, so I cloned the git repo and run "cabal install --only-dependencies". This gives me the following error:

Resolving dependencies...
cabal: Could not resolve dependencies:
trying: git-annex-3.20120826 (user goal)
trying: git-annex-3.20120826:+oldyesod
trying: git-annex-3.20120826:+currentyesod
next goal: yesod-default (dependency of git-annex-3.20120826:+oldyesod)
rejecting: yesod-default-1.1.0 (conflict: git-annex-3.20120826:oldyesod =>
yesod-default(<=1.0.1.1))
rejecting: yesod-default-1.0.1.1, 1.0.1, 1.0.0, 0.6.1, 0.5.0, 0.4.1, 0.4.0,
0.3.1 (conflict: git-annex-3.20120826:currentyesod => yesod-default(>=1.1.0))

Any idea how to fix this? (PS: I'm running Kubuntu 12.04)

Cheers, Tobias

Hmm, cabal is not as smart as I'd hoped it could be. I've removed the support for old version of yesod.
Comment by http://joeyh.name/ Wed Aug 29 16:01:00 2012

thanks, that resolved the dependency trouble. But now:

Building git-annex-3.20120826...
Preprocessing executable 'git-annex' for git-annex-3.20120826...

Utility/Yesod.hs:15:8:
    Could not find module `Data.Default'
    It is a member of the hidden package `data-default-0.5.0'.
    Perhaps you need to add `data-default' to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.
The Data.Default problem is fixed now.
Comment by http://joeyh.name/ Thu Aug 30 16:59:07 2012
Comments on this page are closed.