[SOLVED] HedgeWars 0.9.18 compile error on Ubuntu 12.04!
Fri, 2013-01-18 21:26
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-serverStore.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!
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
Hi, nemo! Thanks for your answer!
I compiled as you said, "Use the cmake line for no server":
I used different destination folder (it is better for me ) 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!