On Saturday 05 November 2011, 16:00:40, Ivan Lazar Miljenovic wrote:
> On 6 November 2011 01:52, Victor Miller <victorsmil...@gmail.com> wrote:
> > Lately whenever I try to install a cabal package it fails with the
> > following error message:
> > 
> > Could not find module `Control.Monad.State':
> >     Perhaps you haven't installed the profiling libraries for
> > package `mtl-2.0.1.0'?
> >     Use -v to see a list of the files searched for.
> 
> That means that the package hasn't listed mtl as a dependency in its
> .cabal file.

Or it means that mtl wasn't built for profiling, but cabal tries to build 
the new package for profiling.
In that case, either don't try to build new packages for profiling, or 
reinstall mtl (and everything depending on it) also building the profiling 
libraries.

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to