
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
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@joachim-breitner.de | nomeata@debian.org | GPG: 0x4743206C xmpp: nomeata@joachim-breitner.de | http://www.joachim-breitner.de/