The following change in .cabal file may solve the problems:
---
flag base4
  description: Choose base-4 if possible
  default: True

library
  if flag(splitBase)
    if flag(base4)
      Build-Depends: base>=4, old-time, time, bytestring, containers, old-locale
    else
      Build-Depends: base>=3, old-time, time, bytestring, containers, old-locale
  else
    Build-Depends: base<3
  Build-Depends: mtl, convertible >= 1.0.1, utf8-string
---

It works for me and I *think* will also work for other setups, most notably GHC 6.8.*.

All best

Christopher Skrzętnicki

On Sat, Jan 31, 2009 at 01:31, John Goerzen <jgoerzen@complete.org> wrote:
On Sat, Jan 31, 2009 at 12:52:02AM +0100, Krzysztof Skrz??tnicki wrote:
> > I got the same error: Windows XP, GHC 6.10.1.
> > For some reason imported Control.Exception module appears to be 6.8.*
> > version.
> >
>
> I found a (temporary) fix: change dependancy in .cabal file to state "base
> >= 4". Otherwise cabal-install selects base-3 which is the cause of the
> problems.

Thanks for the hint for folks.

Why would cabal-install select a different base than running Setup
manually?

I can't hard-code base >= 4 into .cabal because that would break for
GHC 6.8 users.  I have CPP code that selects what to compile based on
GHC version.

-- John