Problem compiling with network support in Ubuntu 10.04

2 replies [Last post]
kostmo
User offline. Last seen 1 year 22 weeks ago. Offline
Joined: 08/28/2010
Posts: 1

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

nemo
User offline. Last seen 8 hours 20 min ago. Offline
Joined: 01/28/2009
Posts: 725

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.

unC0Rr
unC0Rr's picture
User offline. Last seen 1 week 2 days ago. Offline
Joined: 11/27/2006
Posts: 561

Use cabal to resolve dependencies

Copyright © 2004-2011 Hedgewars Project. All rights reserved.