Installation Installation Failure

I recently got the Haskell platform for Mac OS X. I installed several packages and then got this error, which I don't understand. It seems I need a version for 4 base, but I have it.

> cabal install mime
   Resolving dependencies ...
   cabal: mime-0.3.2 cannot be configured. This requires base> = 3 && <= 4.
   Depending on the base> = 3 && <= 4, the following packages are available: base-3.0.3.1
   and base-3.0.3.2. However, none of them are available. base-3.0.3.1 was excluded due to the -any top-level dependency
   base -any base-3.0.3.2 was excluded due to the -any top-level dependency base -any

If I run cabal info base, it displays a lot of lines, but one of them:

Versions Installed: (4.3.1.0)

Does this not satisfy the requirement <= 4 mime?

thanks Rob

+3
source share
1 answer

4.3.1.0 is greater than 4 (which means 4.0.0.0). In these cases, I:

  • cabal unpack, edit the .cabal file to fix the build dep database, run cabal install
  • Send a polite email to your maintainer. I see that Sigbjorn, who had difficulty getting there lately (I hear). If he doesn’t respond in a few weeks, I would think about updating the package myself and sending another polite email (so far this change is small and trivial).
+4
source

All Articles