35 lines
1.3 KiB
Text
35 lines
1.3 KiB
Text
[[!comment format=mdwn
|
|
username="https://me.yahoo.com/a/1NYxQEUZztr9TUg3dBoKbExvSbVs7HY-#43da1"
|
|
nickname="Bleddle"
|
|
subject="Using stackage and installing"
|
|
date="2015-05-30T18:06:00Z"
|
|
content="""
|
|
@joey how do I use stackage when using `cabal install`. I tried putting the `cabal.config` into `~/.cabal` but still keep getting the same DAV dependency error.
|
|
|
|
I also tried building on Debian after running:
|
|
|
|
cabal update; cabal unpack git-annex
|
|
sudo apt-get build-dep git-annex`
|
|
|
|
Results:
|
|
|
|
➤ cabal configure -v
|
|
/usr/bin/ghc --numeric-version
|
|
looking for tool \"ghc-pkg\" near compiler in /usr/bin
|
|
found ghc-pkg in /usr/bin/ghc-pkg
|
|
/usr/bin/ghc-pkg --version
|
|
/usr/bin/ghc --supported-languages
|
|
/usr/bin/ghc --info
|
|
Reading available packages...
|
|
Choosing modular solver.
|
|
Resolving dependencies...
|
|
Could not resolve dependencies:
|
|
trying: git-annex-5.20150528
|
|
trying: git-annex-5.20150528:+torrentparser
|
|
creating dist/setup
|
|
/usr/bin/ghc --make ./Setup.hs -o ./dist/setup/setup -odir ./dist/setup -hidir ./dist/setup -i -i. -package Cabal-1.18.1.3
|
|
<command line>: cannot satisfy -package Cabal-1.18.1.3
|
|
(use -v for more information)
|
|
|
|
I'm not a Haskell programmer, so I have no idea how to get this all working, nor how to install a new version of git-annex.
|
|
"""]]
|