
On 09 Nov 2011, Rogan Creswick wrote:
On Wed, Nov 9, 2011 at 9:27 AM, Anthony Campbell
wrote: Thanks to both for replies. There isn't much in the way of error messages:
arcadia:~/xmonad-compile:$ cabal install Resolving dependencies... cabal: There is no installed version of base arcadia:~/xmonad-compile:$
Try it with cabal-dev:
$ cabal install cabal-dev $ cd ~/xmonad-compile $ cabal-dev install
If it works, then the problem is related to your ghc user package db, if it fails, then look at the global package db and see if that looks wrong. If that looks right, then something weird is going on, but I suspect the previous steps will shed more light on the problem.
(It's possible you'll have a similar issue building cabal-dev, but let's hope not, at least for the moment.)
--Rogan
It seemed to work as far as the last step, with a lot of downloading and compiling. But cabal-dev didn't work until I located it in ~/.cabal/bin/. But again it complains about base: arcadia:~/xmonad-compile:$ ~/.cabal/bin/cabal-dev install Resolving dependencies... cabal: There is no installed version of base arcadia:~/xmonad-compile:$ Probably time to give up, I think. Anthony -- Anthony Campbell - ac@acampbell.org.uk Microsoft-free zone - Using Debian GNU/Linux http://www.acampbell.org.uk - sample my ebooks at http://www.smashwords.com/profile/view/acampbell