problem building haskell-src

Nicholas Tung gatoatigrado at
Sun Oct 2 03:40:57 CEST 2011

Hi all,

    I'm having some trouble building haskell-src. If anyone could give
me any pointers, I'd appreciate it very much. The error is with an
ambiguous module name,

gatoatigrado at hz:~> cabal install haskell-src
Resolving dependencies...
Configuring haskell-src-
Building haskell-src-
Preprocessing library haskell-src-
shift/reduce conflicts:  2
Implicit import declaration:
    Ambiguous module name `Prelude':
      it was found in multiple packages: base haskell98-
cabal: Error: some packages failed to install:
haskell-src- failed during the building phase. The exception was:
ExitFailure 1

    There are some conflicts with ghc-pkg check; see output for
ghc-pkg list and ghc-pkg check here if it helps [ ]. The error came up when I tried to
compile my own sources, but then I ran ghc-pkg hide haskell98 and it
works. (building haskell-src still fails.)

Thanks very much,
Nicholas — — 4432-nstung

More information about the Libraries mailing list