[Haskell-cafe] suffix or operands invalid for `push'

Martijn van Steenbergen martijn at van.steenbergen.nl
Tue Dec 29 17:50:35 EST 2009

Gregory Collins wrote:
> Martijn van Steenbergen <martijn at van.steenbergen.nl> writes:
>> Hello,
>> Above error is one of those that appear when using GHC on the 64-bit Snow
>> Leopard. I've already patched my /usr/bin/ghc to mention -optc-m32 -opta-m32
>> -optl-m32. However, the error still occurs when doing 'cabal haddock' in *some*
>> packages.
>> For example, a local project of mine builds just fine, but trying to cabal
>> haddock the happstack-helpers package goes horribly wrong and no documentation
>> is generated.
>> How do I fix this? And why does it happen only in certain packages?
> Did you patch hsc2hs also?

I hadn't done that yet, but I've changed it so that the last line now reads:

$tflag $HSC2HS_EXTRA -optc-m32 -opta-m32 -optl-m32 ${1+"$@"} "$Iflag"

However, cabal haddock still reports errors.


More information about the Haskell-Cafe mailing list