You are not logged in.

#1 2008-09-06 02:25:52

smcsw2000
Member
Registered: 2007-06-22
Posts: 130

can't compile hedgewars

Needed for hedgewars
- Qt >= 4.2
- FreePascal >= 1.9.4
- SDL >= 1.2.5
- SDL_net >= 1.2.5
- SDL_mixer >= 1.2
- SDL_image >= 1.2
- SDL_ttf >= 2.0
- CMake >= 2.4.4
I have
Qt >= 4.2
- fpc >= 2.2.0-1
- SDL >= 1.2.13-1
- SDL_net >= 1.2.7-2
- SDL_mixer >= 1.2.8-2
- SDL_image >= 1.2.6-2
- SDL_ttf >= 2.0.9-1
- CMake >= 2.6.0-1

when I try to compile I do  $ cmake . and I get
CMake Error: Parse error in cache file /home/Games/hedgewars-src-0.9.5/CMakeCache.txt. Offending entry: Error processing project file; /home/Games/hedgewars-src-0.9.5/QTfrontend/CMakeFiles/CMakeTmpQmake/tmp.pro
CMake Error: Parse error in cache file /home/Games/hedgewars-src-0.9.5/CMakeCache.txt. Offending entry: Error processing project file; /home/Games/hedgewars-src-0.9.5/QTfrontend/CMakeFiles/CMakeTmpQmake/tmp.pro
CMake Error: Parse error in cache file /home/Games/hedgewars-src-0.9.5/CMakeCache.txt. Offending entry: QT_X11_/home/Games/hedgewars-src-0.9.5/QTfrontend/CMakeFiles/CMakeTmpQmake/tmp.pro
CMake Error: Parse error in cache file /home/Games/hedgewars-src-0.9.5/CMakeCache.txt. Offending entry: _LIBRARY-NOTFOUND
CMake Error: Parse error in cache file /home/Games/hedgewars-src-0.9.5/CMakeCache.txt. Offending entry: QT_X11_/opt/qt/mkspecs/linux-g++/qmake.conf.
CMake Error: Parse error in cache file /home/Games/hedgewars-src-0.9.5/CMakeCache.txt. Offending entry: Error_LIBRARY-NOTFOUND
checking I have all dependencies and followed  installation but do not know what is missing or wrong and Ideas?

Last edited by smcsw2000 (2008-09-06 02:26:51)

Offline

#2 2008-09-06 05:41:22

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: can't compile hedgewars

Did you tried the PKGBUILD in ABS? BTW, there's a package for it in community.

Offline

#3 2009-05-06 16:05:11

krstn_
Member
Registered: 2009-04-03
Posts: 1

Re: can't compile hedgewars

The binary package 0.9.10 in community is compiled without the lanserver-component, so it is impossible to set up a lan-game.
I can't compile the game on my own (with the pkgbuild from abs) because of this error:

[  0%] Generating ../bin/hedgewars-server
[  1%] Built target hwengine
[100%] Built target hedgewars

/home/karsten/Desktop/hedgewars/src/hedgewars-src-0.9.10/gameServer/hedgewars-server.hs:1:39:
    Warning: -XPatternSignatures is deprecated: use -XScopedTypeVariables or pragma {-# LANGUAGE ScopedTypeVariables#-} instead

CoreTypes.hs:11:7:
    Could not find module `Data.Time':
      Use -v to see a list of the files searched for.
make[2]: *** [bin/hedgewars-server] Fehler 1  ((=Error 1))
make[1]: *** [gameServer/CMakeFiles/hedgewars-server.dir/all] Fehler 2  ((=Error 2))
make: *** [all] Fehler 2 ((=Error 2))

To enable the server-part I use:

cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_SERVER=1 -DDATA_INSTALL_DIR=/usr/share -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake -DQT_MOC_EXECUTABLE=/usr/bin/moc

I'd be thankful for ideas smile

Offline

#4 2009-05-12 07:15:39

kumyco
Member
From: somewhere
Registered: 2008-06-23
Posts: 153
Website

Re: can't compile hedgewars

makedepends: ghc
depends: haskell-utf8-string, haskell-http, haskell-openid(for Codec.Binary.Base64), and prolly more
haskell-openid depends on older versions of haskell-http
if you're feeling adventurous you could try and resolve those deps, or get Codec/Binary/Base64 out of openid
i don't know anything about haskell so can't do any more, all the pkgs should be in the repos or aur just follow the compiler errors

Offline

#5 2009-06-01 15:44:34

abesto
Member
From: Hungary
Registered: 2009-03-05
Posts: 49
Website

Re: can't compile hedgewars

The hedgewars-server binary from the ubuntu .deb package works here. Copy that into /usr/bin, run it (it's a dedicated server), and connect to localhost from the game proper. You can keep using the binary package from the Arch repo.

Last edited by abesto (2009-06-01 15:44:56)


Linux user #476135 || Dotfiles hosted by GitHub

Offline

Board footer

Powered by FluxBB