[Haskell-cafe] Cabal install problem

Daniel Fischer daniel.is.fischer at googlemail.com
Sat Nov 5 16:21:28 CET 2011


On Saturday 05 November 2011, 16:00:40, Ivan Lazar Miljenovic wrote:
> On 6 November 2011 01:52, Victor Miller <victorsmiller at 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.



More information about the Haskell-Cafe mailing list