Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Haskell-beginners] Problem installing graphalyze with Cabal

1 view
Skip to first unread message

John Velman

unread,
Dec 31, 2009, 11:09:51 PM12/31/09
to Haskell Beginners
I have Haskell Platform downloaded and installed today. When I tried to
install graphalyze with cabal install, it had problems with pandoc. To
make a long story fairly short, I downloaded pandoc-1.3 from hackage, and
tried building it "by hand". It says it had missing dependencies of
utf8-string >= 0.3, and zip-archive >=0.1.1.

Tried installing them with cabal, and this worked OK.

Still, pandoc setup says:

jrv:pandoc-1.3 jr$ runhaskell Setup configure
Configuring pandoc-1.3...
Setup: At least the following dependencies are missing:
utf8-string >=0.3, zip-archive >=0.1.1
jrv:pandoc-1.3 jr$ cabal install zip-archive-0.1.1.1


I _finally_ checked ghc-pkg list, and I have, among other things:

/Users/jr/.ghc/i386-darwin-6.10.4/package.conf:
{HOC-1.0}, {HOC-Foundation-1.0}, binary-0.5.0.1, binary-0.5.0.2,
bktrees-0.2.2, darcs-2.3.0, digest-0.0.0.8, graphviz-2999.6.0.0,
hashed-storage-0.3.7, haskeline-0.6.1.6, mmap-0.4.1, pandoc-1.3,
polyparse-1.4, terminfo-0.3.0.2, utf8-string-0.3.5,
utf8-string-0.3.6, zip-archive-0.1.1.1, zip-archive-0.1.1.4,
zlib-0.5.2.0

As you see, I've ended up with two copies each (because of my messing
around before I checked ghc-pkg, I guess). Well, all of them are >= the
dependency requirements, If I understand correctly.

What gives? How do I get rid of the extra copies? (By the way, the HOC
entries are left over from an earlier time, and I'd like to get rid of
those also).

Thanks,

John Velman
_______________________________________________
Beginners mailing list
Begi...@haskell.org
http://www.haskell.org/mailman/listinfo/beginners

John Velman

unread,
Jan 1, 2010, 11:05:37 AM1/1/10
to Haskell Beginners
Thanks!

John V.

On Fri, Jan 01, 2010 at 10:44:14AM +0100, Henk-Jan van Tuyl wrote:


> On Fri, 01 Jan 2010 05:08:52 +0100, John Velman <vel...@cox.net> wrote:
>
>> What gives? How do I get rid of the extra copies?
>

> You can unregister packages with commands like:
> ghc-pkg unregister binary-0.5.0.1 --user
>
> --
> Regards,
> Henk-Jan van Tuyl
>
>
> --
> http://Van.Tuyl.eu/
> http://members.chello.nl/hjgtuyl/tourdemonad.html
> --

0 new messages