[Haskell-cafe] Missing Parsec library in latest stable GHC

Daniel Fischer daniel.is.fischer at googlemail.com
Wed Dec 22 17:51:57 CET 2010


On Wednesday 22 December 2010 16:54:04, Aaron Gray wrote:
> Missing Parsec library :-
>
> scheme.o(.text+0x4fa):fake: undefined reference to
> `parseczm2zi1zi0zi0_TextziParserCombinatorsziParsecziCombinator_skipMany
>1_closure' scheme.o(.text+0x501):fake: undefined reference to
> `parseczm2zi1zi0zi0_TextziPaserCombinatorsziParsecziChar_space_closure'
> scheme.o(.text+0x5c2):fake: undefined reference to
> `parseczm2zi1zi0zi0_TextziParserCombinatorsziParsecziChar_oneOf_closure'
> scheme.o(.text+0x63a):fake: undefined reference to
> `mtlzm1zi1zi0zi0_ControlziMonadziTrans_zdf1_closure'
>
> GHC from :-
>
>     http://www.haskell.org/ghc/dist/stable/dist/
>
>    
> ghc-7.0.1.20101221-i386-windows.exe<http://www.haskell.org/ghc/dist/stab
>le/dist/ghc-7.0.1.20101221-i386-windows.exe>
>
> and earlier.
>
> Aaron

Since 6.8 iirc, GHC no longer comes with parsec, you have to install the 
package yourself if you want to use it,

cabal install parsec

also mtl is no longer one of the libraries that come with GHC, 

cabal install mtl

HTH,
Daniel



More information about the Haskell-Cafe mailing list