
On Thu, Sep 15, 2011 at 12:37 PM, mukesh tiwari
Hello all I am trying to install Data.deriveTH . When i tried cabal install derive , i got this error.
Many errors of this type can be avoided by using cabal-dev [1] instead of cabal-install for development -- cabal-dev keeps package databases for each project separate, although everything still also uses the global package db (so you shouldn't install anything there). cabal-install is still necessary (and ideal) for installing applications for use in normal activities, and for installing libraries into your user-package database for use in general ghci sessions. If nothing else, cabal-dev will ignore your user package db, which might be enough to get you going on whatever you're really doing instead of fixing your user package db right this moment :) --Rogan [1] cabal-dev: http://github.com/creswick/cabal-dev and on hackage.
ntro@ntro-HP-dx2480-MT-NA121PA:~/Mukesh/assignment_haskell/work$ cabal install derive Resolving dependencies... <command line>: cannot satisfy -package Cabal-1.10.2.0: Cabal-1.10.2.0-072fce39d68f011c6a364057a3d15270 is unusable due to missing or recursive dependencies: containers-0.3.0.0-ee442470d8dcc9e45f31677c400c5379 (use -v for more information) cabal: Error: some packages failed to install: derive-2.5.4 depends on haskell-src-exts-1.11.1 which failed to install. haskell-src-exts-1.11.1 failed during the configure step. The exception was: ExitFailure 1
ntro@ntro-HP-dx2480-MT-NA121PA:~/Mukesh/assignment_haskell/work$ cabal install haskell-src-exts Resolving dependencies... <command line>: cannot satisfy -package Cabal-1.10.2.0: Cabal-1.10.2.0-072fce39d68f011c6a364057a3d15270 is unusable due to missing or recursive dependencies: containers-0.3.0.0-ee442470d8dcc9e45f31677c400c5379 (use -v for more information) cabal: Error: some packages failed to install: haskell-src-exts-1.11.1 failed during the configure step. The exception was: ExitFailure 1
ntro@ntro-HP-dx2480-MT-NA121PA:~/Mukesh/assignment_haskell/work$ cabal install containers Resolving dependencies... No packages to be installed. All the requested packages are already installed. If you want to reinstall anyway then use the --reinstall flag.
I tried to resolve this issue on #haskell and i got suggestion that it was due to conflict in
global and local namespace [ see here for more detail http://hpaste.org/51376 ]. One idea is i
should wipe ~/.ghc and install all the libraries individually. Could some one please suggest if
there is another idea to resolve this issue. Currently i have ghc-6.12.3 and installing
ghc-7.0 will resolve the issue ?
Thank you
Mukesh Tiwari
.
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe