After grabbing the latest sources from Google Code, I tried to compile with network support so I can host a LAN game, but it complains about a missing module "Network.Socket.ByteString".
$ cmake -DWITH_SERVER=1 ....
$ make
[ 0%] Generating ../bin/hedgewars-server
ClientIO.hs:10:7:
Could not find module `Network.Socket.ByteString':
Use -v to see a list of the files searched for.
make[2]: *** [bin/hedgewars-server] Error 1
make[1]: *** [gameServer/CMakeFiles/hedgewars-server.dir/all] Error 2
make: *** [all] Error 2
I would strongly recommend using the code for the 0.9.13 version for the server.
(You can get that version on the download page.)
unc0rr is busy rewriting the server. The new version is still incomplete.
Use cabal to resolve dependencies