[Haskell-cafe] cabal errors
duncan.coutts at worc.ox.ac.uk
Fri Feb 29 06:29:49 EST 2008
On Thu, 2008-02-28 at 07:10 -0500, Kristofer Buffington wrote:
> I installed ghc 6.8 from source and I've been installing packages from
> hackage. I'm not sure when the problem started, but I've been getting
> this error trying to install any cabal package.. accept apparently,
> Cabal itself.
(Which is because Cabal does not use the installed Cabal lib to build
itself, it bootstraps from its own source code.)
> Warning: Deprecated use of `defaultUserHooks'
> (imported from Distribution.Simple):
> Use simpleUserHooks or autoconfUserHooks
> Setup: /usr/local/lib/Cabal-1.3.6/ghc-22.214.171.12480225/HSCabal-1.3.6.o:
> unknown symbol `directoryzm1zi0zi0zi0_SystemziDirectory_a9_closure'
> Setup: exception :: GhcException
> Any ideas?
My first suggestion would be to clean and rebuild your development
version of Cabal. Once it's re-registered, see if "ghci -package Cabal"
More information about the Haskell-Cafe