compiling server haskell errors
Mon, 2011-10-17 12:26
When compiling the hedgewars with DWITH_SERVER=1 i get some funny haskell compile errors:
[11 of 21] Compiling ClientIO ( ClientIO.hs, /home/inf01/.hedgewar >s/hedgewars-src-0.9.16/gameServer/ClientIO.o ) ClientIO.hs:25:17: Not in scope: `state' make[2]: *** [bin/hedgewars-server] Fehler 1 make[1]: *** [gameServer/CMakeFiles/hedgewars-server.dir/all] Fehler 2 make: *** [all] Fehler 2
The solution to this one is simple: open gameserver/ClientIO.hs with your favorite editor, goto line 25 and change state to State.
----
At the moment im stuck at the next error:
[13 of 21] Compiling Actions ( Actions.hs, /home/inf01/.hedgewars >/hedgewars-src-0.9.16/gameServer/Actions.o ) Actions.hs:429:13: Not in scope: `Exception.mask' make[2]: *** [bin/hedgewars-server] Fehler 1 make[1]: *** [gameServer/CMakeFiles/hedgewars-server.dir/all] Fehler 2 make: *** [all] Fehler 2
Exception is an alias for Control.Exception, but somehow that does not help me. I tried some variations, but did not find the correct version.
If there were some comments in the text maybe i would be able to fix this myself, but the whole file is un-commented, so sorry, i feel unable to fix this myself.
Server now requires libghc base 4.3
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev
Ok, mine is only 4.2 )-: So I'll need to do a dist-upgrade before calling back )-: