[Haskell-beginners] Problem installing Haskell platform on Ubuntu Karmic

Ashish Agarwal agarwal1975 at gmail.com
Mon May 10 15:23:54 EDT 2010


Try: "ghc-pkg unregister parsec". I think this will cause parsec to get
recompiled. I had a similar problem and recall having to do this with a few
libraries, although this was during compilation of cabal.


On Sun, Apr 4, 2010 at 2:20 AM, Kim Stebel <kim.stebel at googlemail.com>wrote:

> Hello List,
>
> I can't compile the haskell platform. I followed this guide
> http://davidsiegel.org/haskell-platform-in-karmic-koala/ and downloaded
> http://hackage.haskell.org/platform/2010.1.0.0/haskell-platform-2010.1.0.0.tar.gzas suggested in comment 5. configure runs fine, but when I try to "make" it,
> it fails to compile the network package.
>
> Preprocessing library network-2.2.1.7...
> Building network-2.2.1.7...
> [1 of 5] Compiling Network.URI      ( Network/URI.hs,
> dist/build/Network/URI.o )
> [2 of 5] Compiling Network.Socket.Internal (
> dist/build/Network/Socket/Internal.hs, dist/build/Network/Socket/Internal.o
> )
> [3 of 5] Compiling Network.Socket   ( dist/build/Network/Socket.hs,
> dist/build/Network/Socket.o )
> [4 of 5] Compiling Network.BSD      ( dist/build/Network/BSD.hs,
> dist/build/Network/BSD.o )
> [5 of 5] Compiling Network          ( Network.hs, dist/build/Network.o )
>
> Network.hs:274:15:
>    Warning: Pattern match(es) are overlapped
>             In a case alternative: a -> ...
>
> Network/URI.hs:108:7:
>    Could not find module `Text.ParserCombinators.Parsec':
>      Perhaps you haven't installed the profiling libraries for package
> `parsec-2.1.0.1'?
>      Use -v to see a list of the files searched for.
>
> Error:
> Building the network-2.2.1.7 package failed
> make: *** [build.stamp] Error 2
>
>
> I'd really appreciate any help.
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/beginners/attachments/20100510/e937a1ce/attachment.html


More information about the Beginners mailing list