I tried to compile with head, but I got the following error messages:
[...]\Haskell\GUI\wxHaskell\wxFruit\wxFruit-0.1.2.test>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 )
WXFruit.hs:14:0:
Bad interface file:
[...]\Haskell\GUI\wxHaskell\wxhaskell-0.11.0\lib\imports\Graphics\UI\WX.hi
mismatched interface file versions (wanted "610120090216", got
"6101")
Setup: C:\Program Files\Haskell\doc\wxFruit-0.1.2\.copyFile6036.tmp:
copyFile: permission denied (Toegang geweigerd.)
What should I do differently?
The problem must be
http://hackage.haskell.org/trac/ghc/ticket/2722
, I solved the loop by defining
id = arr Prelude.id
instead of:
id = arr id
Regards,
Henk-Jan van Tuyl
--
http://functor.bamikanarie.com
http://Van.Tuyl.eu/
--
On Mon, 23 Feb 2009 14:54:01 +0100, Simon Peyton-Jones
<[email protected]> wrote:
I suspect this may be an instance of
http://hackage.haskell.org/trac/ghc/ticket/2985
Or (less likely)
http://hackage.haskell.org/trac/ghc/ticket/2722
Can you try with the HEAD? Or the 6.10 branch (which includes the fix
for #2985)?
Simon
| -----Original Message-----
| From: [email protected]
[mailto:[email protected]] On
| Behalf Of Henk-Jan van Tuyl
| Sent: 16 February 2009 12:04
| To: Haskell cafe
| Subject: [Haskell-cafe] Looping after compiling with cabal
|
|
| L.S.,
|
| 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:
| Using:
| Yampa-0.9.2.3
| 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
| dist\build\libHSwxFruit-0.1.2.a
| [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
|
|
[...]\Haskell\GUI\wxHaskell\wxFruit-0.1.1.updated\dist\build\paddle>paddle
| paddle: <<loop>>
|
| --
| Regards,
| Henk-Jan van Tuyl
--
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe