[Haskell-cafe] Re: haskell package installation problem

Christian Maeder Christian.Maeder at dfki.de
Mon Jan 7 06:53:50 EST 2008


Brian Park wrote:
> Hi,
> 
> I was installing various haskell packages from hackage.
> 
> When I was installing HaXml, I think it was complaining about
> Text.PrettyPrint.HughesPJ not installed or something. (can't remember
> the specific message and I can't reproduce now...)

HaXml-1.13.2 needs pretty and containers as additional "build-depends"
in HaXml.cabal for ghc-6.8.x (HaXml-1.13.3 should work).

I don't know about
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/HaXml-1.19.1

> So I installed "pretty-1.0.0.0" package as well.

bad move, Cabal itself depends on (this) pretty (package). Reinstalling
pretty failed and spoiled you're installation.

Maybe such kind of (re-)installation should be prohibited somehow.

Cheers Christian

> Ever since then, when I try to install other haskell packages, I get the
> following error message:
> "brian at bp-desktop:~/Download/mtl-1.1.0.0$ runghc Setup.hs configure
> <interactive>:
> /usr/local/lib/ghc-6.8.2/lib/Cabal-1.2.3.0/HSCabal-1.2.3.0.o
> <http://1.2.3.0/HSCabal-1.2.3.0.o>: unknown symbol
> `prettyzm1zi0zi0zi0_TextziPrettyPrintziHughesPJ_lvl18_closure'
> ghc-6.8.2: unable to load package `Cabal-1.2.3.0 <http://1.2.3.0>'"
> 
> Does anyone know what the problem is?
> 
> Currently installed packages are:
> =========
> /usr/local/lib/ghc-6.8.2/package.conf:
>     Cabal-1.2.3.0, HTTP-3001.0.4, HUnit-1.2.0.0, X11-1.4.1,
>     array-0.1.0.0, base-3.0.1.0, bytestring-0.9.0.1,
>     containers-0.1.0.1, directory-1.0.0.0, filepath-1.1.0.0,
>     (ghc-6.8.2), haskell98-1.0.1.0 , hpc-0.5.0.0, hxt-7.4, mtl-1.1.0.0,
>     network-2.1.0.0, old-locale-1.0.0.0, old-time-1.0.0.0,
>     packedstring-0.1.0.0, parsec-2.1.0.0, polyparse-1.1,
>     pretty-1.0.0.0, process-1.0.0.0, random-1.0.0.0, readline-1.0.1.0 ,
>     rts-1.0, template-haskell-2.2.0.0, unix-2.3.0.0, xmonad-0.5,
>     xmonad-contrib-0.5
> =========
> 
> 
> Thank you,
> 
> - Brian
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe


More information about the Haskell-Cafe mailing list