[SOLVED] HedgeWars 0.9.18 compile error on Ubuntu 12.04!

2 replies [Last post]
plyer01
plyer01's picture
User offline. Last seen 11 years 13 weeks ago. Offline
Joined: 2012-12-19
Posts: 2

Hello users and developers!
Here is my problem:
When I try to compile from sources this game using comands from "INSTALL" file I have next:

Quote:
~/games/hedgewars_src $ cmake .
-- Building Release flavour
-- Found GHC: /usr/bin/ghc
-- LibLua 5.1 found at /usr/lib/i386-linux-gnu/liblua5.1.so
-- Found LUA: liblua5.1.so
-- Mix_Init() is present
-- IMG_Init() is present
-- Found Freepascal: /usr/bin/fpc (version 2.4)
-- Found Qt4: /usr/bin/qmake (found version "4.8.1")
-- Found Qt4: /usr/bin/qmake (found suitable version "4.8.1", required is "4.5.0")
-- Found FFMPEG/LibAV: /usr/lib/i386-linux-gnu/libavcodec.so;/usr/lib/i386-linux-gnu/libavformat.so;/usr/lib/i386-linux-gnu/libavutil.so, /usr/include
-- Configuring done
-- Generating done
-- Build files have been written to: /home/player/games/hedgewars_src

Then when I use "make" command I have:
Quote:
~/games/hedgewars_src $ make
[ 1%] Generating ../bin/hedgewars-server

Store.hs:23:18:
Could not find module `Data.Vector.Mutable'
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

What I did wrong? Can someone help me?
btw I checked all library dependecies, all are installed. Maybe it is a version error?

My OS version - Ubuntu 12.04 x32 GNOME 3.4.2 (Mint 13 x32 Cinnamon).

Thanks in advance for all answers and help!

nemo
nemo's picture
User offline. Last seen 3 weeks 2 days ago. Offline
Joined: 2009-01-28
Posts: 1861

http://code.google.com/p/hedgewars/wiki/BuildingOnLinux

That's a haskell server dependency.
Use the cmake line for no server, or copy and paste the server dependency apt-get line.

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

plyer01
plyer01's picture
User offline. Last seen 11 years 13 weeks ago. Offline
Joined: 2012-12-19
Posts: 2

Hi, nemo! Thanks for your answer!
I compiled as you said, "Use the cmake line for no server":

Quote:
cmake -DCMAKE_BUILD_TYPE="DEBUG" -DCMAKE_INSTALL_PREFIX="$HOME/games/hedgewars" -DDATA_INSTALL_DIR="$HOME/games/hedgewars" -DNOSERVER=1

I used different destination folder (it is better for me Wink Smiley ) and aftet cmake, I used make and then I build a deb package for easier installation/uninstallation by using command sudo checkinstall.
Thanks for your assistance! This topic can be marked as SOLVED!

User login

Copyright © 2004-2024 Hedgewars Project. All rights reserved. [ contact ]