[Haskell-cafe] unable to run ghci (7.4.1)?
wangbj at gmail.com
Thu May 3 18:59:53 CEST 2012
On Fri, May 4, 2012 at 12:35 AM, Morel Pisum <morel.pisum at googlemail.com> wrote:
> Am 03.05.2012 18:29, schrieb Baojun Wang:
>> Dear list,
>> I build haskell-platform 2011.04 by gentoo ~amd64 haskell overlay. But
>> I can't run ghci even I rebuilt ghc or run haskell-updater, error
>> GHCi, version 7.4.1: http://www.haskell.org/ghc/ :? for help
>> Loading package ghc-prim ... linking ... done.
>> Loading package integer-gmp ... linking ... done.
>> Loading package base ... linking ... ghc:
>> /usr/lib64/ghc-7.4.1/base-220.127.116.11/HSbase-18.104.22.168.o: unknown symbol
>> ghc: unable to load package `base'
>> Do you have some ideas how to avoid this error? Many thanks.
>> Best Regards
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
> Weird. The "base" package is actually the most important package and
> should be included in the haskell-platform.
> Anyway; you could try to do "cabal install base" or so.
> Furthermore, you could try to join the #gentoo-haskell channel on
> freenode-IRC which should be able to help you if it's a gentoo-specific
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
Many thanks Morel.
Yes, I also tried reinstall base, but also get error:
$ cabal install --reinstall base
cabal: Could not resolve dependencies:
next goal: base (user goal)
rejecting: base-22.214.171.124, 126.96.36.199, 188.8.131.52, 184.108.40.206, 220.127.116.11, 18.104.22.168, 22.214.171.124,
126.96.36.199, 188.8.131.52, 184.108.40.206 (only already installed instances can be used)
rejecting: base-220.127.116.11 (conflict: base => base>=4.0 && <4.3)
rejecting: base-18.104.22.168 (conflict: base => base>=4.0 && <4.2)
It is very strange there is no error when run ``haskell-updater'' (38
packages), but if I run ``cabal install type-level'', it will also
fail due to unable to load base.o
I'll try irc later.
More information about the Haskell-Cafe