[Haskell] Building extra-libs (packages text, data, util, lang)

FOTSING TALLA Bernard bfotsing at gmail.com
Sun Jun 24 13:59:52 EDT 2007

> Hello
> I am trying to install FRUIT (Functional Reactive User Interface Toolkit -
> http://www.haskell.org/fruit/)

> I didn't succeed when building Greencard (2.03 or 2.05) because (I suppose)
> the packages text, data, util, lang were not found with the
> ghc-6.6.1 haskell compiler.
> A part of the error generated is :
> "Glasgow Haskell Compiler, Version 6.6.1, for Haskell 98, compiled by GHC
> version 6.6.1
> Using package config file: /home/bfotsing/lib/ghc-6.6.1/package.conf
> Using package config file: /home/bfotsing/.ghc/i386-linux-6.6.1/package.conf
> *** Deleting temp files:
> Deleting:
> *** Deleting temp dirs:
> Deleting:
> ghc-6.6.1: unknown package: text"

> I don't know where to get those packages or (maybe) how to build them since
> I didn't find them in the ghc extra-libs (
> http://www.haskell.org/ghc/download_ghc_661.html).

> Thanks for your help

I commented the part of code concerned in order to ignore those options, and the building failed again with this message :

    Couldn't match expected type `GHC.Ptr.Ptr t'
           against inferred type `[Char]'
    In the first argument of `ptext', namely `"C_RETURN(nodeptr);"'
    In the second argument of `($$)', namely
        `ptext "C_RETURN(nodeptr);"'
    In the first argument of `ppBlock', namely
        `(((ccode $$ (ppAssign "nodeptr" pprResult)) $$ end)
          (ptext "C_RETURN(nodeptr);"))'
make[1]: *** [Casm.o] Erreur 1
make[1]: quittant le répertoire « /home/bfotsing/gc-2.05/src »

Can you help me?

More information about the Haskell mailing list