[Haskell-cafe] Cabal install problem

Joachim Breitner mail at joachim-breitner.de
Sun Nov 6 19:36:43 CET 2011


Hi,

Am Samstag, den 05.11.2011, 16:21 +0100 schrieb Daniel Fischer:
> 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.

or, if you installed mtl from a distribution source, install the
profiling package (libghc-mtl-prof on Debian and Ubuntu).

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
  mail at joachim-breitner.de  |  nomeata at debian.org  |  GPG: 0x4743206C
  xmpp: nomeata at joachim-breitner.de | http://www.joachim-breitner.de/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20111106/50f6477f/attachment.pgp>


More information about the Haskell-Cafe mailing list