[Haskell-cafe] Looping after compiling with cabal

Henk-Jan van Tuyl hjgtuyl at chello.nl
Mon Feb 16 07:04:04 EST 2009


I have updated wxFruit to compile with GHC 6.10.1, but when I compil using  
the commands:
   runhaskell Setup configure   & runhaskell Setup build   & runhaskell  
Setup install
and run paddle.exe, I get the message:
   paddle: <<loop>>

If I compile with:
   ghc --make paddle
, the game starts normally.

Any idea how I can solve this?

Some more data:
   wxFruit-0.1.1 from Hackage, updated
   GHC 6.10.1
   Windows XP

Compile sessions:

[...]\Haskell\GUI\wxHaskell\wxFruit-0.1.1.updated>ghc --make paddle
[1 of 2] Compiling WXFruit          ( WXFruit.hs, WXFruit.o )
[2 of 2] Compiling Main             ( paddle.hs, paddle.o )
Linking paddle.exe ...

This paddle.exe works fine

[...]\Haskell\GUI\wxHaskell\wxFruit-0.1.1.updated>runhaskell Setup  
configure   & runhaskell Setup build   & runhaskell Setup install
Configuring wxFruit-0.1.2...
Preprocessing library wxFruit-0.1.2...
Preprocessing executables for wxFruit-0.1.2...
Building wxFruit-0.1.2...
[1 of 1] Compiling WXFruit          ( WXFruit.hs, dist\build\WXFruit.o )
C:\Programs\ghc\ghc-6.10.1\bin\ar.exe: creating  
[1 of 2] Compiling WXFruit          ( WXFruit.hs,  
dist\build\paddle\paddle-tmp\WXFruit.o )
Linking dist\build\paddle\paddle.exe ...
Installing library in C:\Program Files\Haskell\wxFruit-0.1.2\ghc-6.10.1
Installing executable(s) in C:\Program Files\Haskell\bin
Registering wxFruit-0.1.2...
Reading package info from "dist\\installed-pkg-config" ... done.
Writing new package config file... done.

[...]\Haskell\GUI\wxHaskell\wxFruit-0.1.1.updated>cd dist\build\paddle

paddle: <<loop>>

Henk-Jan van Tuyl


More information about the Haskell-Cafe mailing list