Installation on Ubuntu 12.04

1 reply [Last post]
SuperBobby
User offline. Last seen 10 years 3 weeks ago. Offline
Joined: 2013-10-21
Posts: 1

Dear all,

I downloaded hedgewars_0.9.20.5.orig.tar.bz2 from there:

https://launchpad.net/ubuntu/+source/hedgewars/0.9.20.5-1~ubuntu12.04.1

I installed all the needed packages and tried to configure with:

cmake .

However, it seems that during the installation LUA is not found. I tried with LUA5.1 and LUA5.2, the result is the same:

CMake Error at CMakeLists.txt:128 (message):
Missing Lua! Rerun cmake with -DLUA_SYSTEM=off to build the internal
version

I tried to remove any LUA package and to build it from inside with

cmake -DLUA_SYSTEM=off .

but then I get the following error:

-- LUA will be provided by the bundled sources
CMake Error at CMakeLists.txt:135 (add_subdirectory):
add_subdirectory given source "misc/liblua" which is not an existing directory.

And indeed there is no misc/liblua folder available. Could it be that it was forgotten..?

What can I do?

Many thanks,

nemo
nemo's picture
User offline. Last seen 21 weeks 1 day ago. Offline
Joined: 2009-01-28
Posts: 1861

I would suggest just installing the backported package.

Enable backports. It should be there.

Other than that, if you really want to build yourself, https://code.google.com/p/hedgewars/wiki/BuildingOnLinux should work on 12.04

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

User login

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