Can't build on Ubuntu 14.04
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:
-- 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_
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_
Parallel building in MSVC: Yes (Disable by param -DENABLE_
Platform: Linux
Redirect stdio: Unsupported on this platform
Touchscreen input: No (Enable by param -DENABLE_
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_
=======
-- Configuring done
-- Generating done
-- Build files have been written to: /home/omp/
[ 0%] Built target genversion
[ 0%] Built target png2stratagus
make[2]: *** No rule to make target `/usr/local/
make[1]: *** [CMakeFiles/
make: *** [all] Error 2
omp@desktop:
There is something odd with this, all the lua dev files should be in /usr/, not /usr/local if you used the distributions packages