[Haskell-cafe] Adding GLUT package to WinHugs

Neil Mitchell ndmitchell at gmail.com
Wed Oct 10 13:01:29 EDT 2007


Hi Peter,

>  Also typing runhugs Setup.hs configure fails with
>
>  runhugs: Error occurred
>  ERROR "c:\program
> files\winhugs\packages\base\Text\ParserCombinators\ReadP.hs":156
> - Syntax error in type expression (unexpected `.')

This is because Cabal gets it wrong. You need to type runhugs -98
Setup configure. There is an easy fix, which is for the Cabal
developers to always use the bundled ReadP rather than the library
one. I talked to Duncan about this in Germany, and he said he'd fix it
:-)

Thanks

Neil



More information about the cabal-devel mailing list