Can't build on Ubuntu 14.04

Bug #1497644 reported by owen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stratagus
Won't Fix
Undecided
Unassigned

Bug Description

I have installed liblua5.1-0, liblua5.1-dev, liblua5.2-0, liblua5.2-dev

CMake could not find header lua.h; it had set LUA_INCLUDE_DIR to .usr/local/include, which I changed to /usr/include/lua5.1

Still, there are the following errors during compilation:

omp@desktop:~/Projects/stratagus/build$ cmake .. && make
-- checking for module 'maemo-version'
-- package 'maemo-version' not found
-- Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)
-- Could not find FluidSynth
-- Could not find StackTrace
-- Could not find Mikmod
-- Could not find MNG
-- Could NOT find OggVorbis libraries
-- Could not find OpenGL ES 1.1 libraries
-- Could not find Native SDL gles
-- Could not find Maemo SDL gles
-- Could not find OpenGL ES 1.1 libraries
-- Could not find EGL SDL gles
-- checking for module 'sqlite3'
-- package 'sqlite3' not found
-- Could NOT find Sqlite (missing: SQLITE_INCLUDE_DIR SQLITE_LIBRARIES)
-- Using OpenGL
==================================
Debug mode: No (Enable by param -DCMAKE_BUILD_TYPE=Debug)
Strip executables: No (Enable by param -DENABLE_STRIP=ON)
Static linking: No (Enable by param -DENABLE_STATIC=ON)
Place game files in: user directory (Place in game directory with -DENABLE_USEGAMEDIR=ON)
Parallel building in MSVC: Yes (Disable by param -DENABLE_MULTIBUILD=OFF)
Platform: Linux
Redirect stdio: Unsupported on this platform
Touchscreen input: No (Enable by param -DENABLE_TOUCHSCREEN=ON)
Doxygen documentation: No (Enable by param -DENABLE_DOC=ON)
Game development files: No (Enable by param -DENABLE_DEV=ON)
Upx packer: No (Enable by param -DENABLE_UPX=ON)
NSIS Installer: Unsupported on this platform
Bzip2: Not Found
FluidSynth: Not Found
MikMod: Not Found
Mng: Not Found
Ogg/Vorbis: Not Found
StackTrace: Not Found
Theora: Not Found
X11: Found and enabled (Disable by param -DWITH_X11=OFF)
Renderer: OpenGL (Disable by param -DWITH_RENDERER=NativeSDL)
==================================
-- Configuring done
-- Generating done
-- Build files have been written to: /home/omp/Projects/stratagus/build
[ 0%] Built target genversion
[ 0%] Built target png2stratagus
make[2]: *** No rule to make target `/usr/local/lib/liblua.a', needed by `stratagus'. Stop.
make[1]: *** [CMakeFiles/stratagus.dir/all] Error 2
make: *** [all] Error 2
omp@desktop:~/Projects/stratagus/build$

Revision history for this message
timfelgentreff (timfelgentreff) wrote :

There is something odd with this, all the lua dev files should be in /usr/, not /usr/local if you used the distributions packages

Revision history for this message
timfelgentreff (timfelgentreff) wrote : Moving to GitHub

This project was moved to https://github.com/Wargus/stratagus. All issues were migrated there.

Changed in stratagus:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.