basvandijk/levmar — Issue #2: Build failure on ghc-6.12.3
Author: roelvandijk
Created: 2011-12-22 16:55:57+00:00
State: open

Olaf Leidinger reported the following error:

2011/12/22 Olaf Leidinger :
> Hi!
>
> Being new to haskell, I wanted to port an app of mine to haskel in
> order to learn it. Therefore I wanted to use your levmar package. Yet,
> I am unable to build it using cabal on Scientific Linux 6.1
> using the provided compiler, ghc-6.12.3. The build fails with:
>
> $ cabal install levmar
> Resolving dependencies...
> Configuring levmar-1.2...
> Preprocessing library levmar-1.2...
> Building levmar-1.2...
> [1 of 2] Compiling Bindings.LevMar.CurryFriendly
> ( Bindings/LevMar/CurryFriendly.hs,
> dist/build/Bindings/LevMar/CurryFriendly.o ) [2 of 2] Compiling
> Numeric.LevMar ( Numeric/LevMar.hs, dist/build/Numeric/LevMar.o )
>
> Numeric/LevMar.hs:274:4: Not in scope: `>>='
>
> Numeric/LevMar.hs:274:4: Not in scope: `fail'
>
> Numeric/LevMar.hs:276:6: Not in scope: `>>'
>
> Numeric/LevMar.hs:298:12: Not in scope: `>>='
>
> Numeric/LevMar.hs:298:12: Not in scope: `fail'
>
> Numeric/LevMar.hs:311:20: Not in scope: `>>='
>
> Numeric/LevMar.hs:311:20: Not in scope: `fail'
>
> Numeric/LevMar.hs:332:17: Not in scope: `>>='
>
> Numeric/LevMar.hs:332:17: Not in scope: `fail'
>
> Numeric/LevMar.hs:346:27: Not in scope: `>>='
>
> Numeric/LevMar.hs:346:27: Not in scope: `fail'
>
> Numeric/LevMar.hs:374:27: Not in scope: `>>='
>
> Numeric/LevMar.hs:374:27: Not in scope: `fail'
> cabal: Error: some packages failed to install:
> levmar-1.2 failed during the building phase. The exception was:
> ExitFailure 1
>
> As I didn't find the things which are out of scope in the source, I
> have no clue what's going wrong. Any idea?
>
> Best regards,
>
> Olaf