Fixed. Upstream changed path management in build system without me noticing it. You may need to delete the build directory if cmake fails.
Search Criteria
Package Details: widelands-bzr r7282-2
Package Actions
| Package Base: | widelands-bzr |
|---|---|
| Description: | A realtime strategy game with emphasis on economy and transport - development version |
| Upstream URL: | http://wl.widelands.org |
| Category: | games |
| Licenses: | |
| Conflicts: | |
| Provides: | |
| Submitter: | matthiaskrgr |
| Maintainer: | gamag |
| Last Packager: | gamag |
| Votes: | 2 |
| First Submitted: | 2012-04-21 17:53 |
| Last Updated: | 2014-12-04 20:00 |
Dependencies (9)
- glew
- sdl2_image
- sdl2_mixer
- sdl2_net
- sdl2_ttf
- boost (make)
- bzr (make)
- cmake (make)
- python (make)
Required by (0)
Sources
- changelog
Latest Comments
Comment by gamag
Comment by kaputtnik
Works fine :-)
exept: The executables are stored in directory /usr
Comment by gamag
It's hopefully working now.
Comment by gamag
Upstream no longer depends on lua (since bzr rev 6829).
Comment by TiborB
Well, I managed to compile it - though without PKGBUILD, the procedure is like this:
#Uninstall LUA, and have LUA51 installed.
$bzr branch lp:widelands
$cd widelands
$sed -i "1 i #include <unistd.h>" src/main.cc
$sed -i "/Boost_USE_STATIC_LIBS/d" CMakeLists.txt
$test -d build/compile && rm -rf build/compile/* #not relevant for PKGBUILD as there will be no residuals from previous compilation
$mkdir -p build/compile && cd build/compile
$cmake ../.. -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/bla/bla/ \
-DWL_INSTALL_PREFIX=/bla/bla/ \
-DWL_INSTALL_DATADIR=share/widelands \
-DWL_INSTALL_BINDIR=bin |
$make install # I install directly to final location
Hope it helps :)
Comment by TiborB
nevermind, I will keep trying..
Comment by matthiaskrgr
well, thats as far as I got... :/
Comment by TiborB
I found that I have LUA51 installed - still no success.
Comment by matthiaskrgr
There is a seperate lua51 package which can be installed next to 5.2.
I can't uninstall lua (5.2) because I have quite some dependencies on it so I can't tell if there are/will be other problems or not.
Comment by TiborB
I have current LUA (v. 5.2.2).
So I should downgrade and it will compile or there is another problem except the problem with LUA?