How to to make the Glest Advanced Engine (or GAE) Official Compile Guide for Linux available here a little clearer as applied to Debian.
For further information about GAE itself, please see: http://glest.wikia.com/wiki/Glest_Advanced_Engine
I installed it on a 64-bit Gnome system. A 32-bit deb, glestae-0.3.2, can be obtained here installable with gdebi.
(For the following command to work, it is necessary first to install git):
Code: Select all
# aptitude install git
Code: Select all
$ git clone git://glestae.git.sourceforge.net/gitroot/glestae/glestae glestae_git
And also:This creates a new folder in the current directory named glestae_git with all the sources and data. The rest of the article assumes you're in this folder.
The following command should take care of most, if not all the dependencies listed above, including the last three optional dependencies:Get the dependencies:
* g++ (it might work with other compilers)
* CMake 2.6 or later
* SDL 1.2.5 or later
* OpenAL
* Vorbis
* Lua 5.1
* PhysicsFS (physfs) 2.0 or later
* zlib
* Freetype
* libpng
* libjpeg (or libjpeg-turbo)
* glew
* wxWidgets 2.8 or later, optional, needed for map editor and model viewer
* CppUnit?, optional, needed for testsuite
* LibXml?2, optional, needed for Blender export script
Code: Select all
# aptitude install cmake doxygen g++ libsdl1.2-dev libsdl1.2-dev libopenal-dev libvorbis-dev liblua5.1-0-dev libphysfs-dev libfreetype6-dev zlib1g-dev libpng12-dev libglew1.5-dev libwxbase2.8-dev libcppunit-dev libxml++1.0-dev zlib1g-dev libwxgtk2.8-0 libalien-wxwidgets-perl wx2.8-headers libwxgtk2.8-dev libwxbase2.8-0 libwxbase2.8-dev libjpeg62 libjpeg62-dev
Code: Select all
user@squeeze:~$ cd glestae_git
user@squeeze:~/glestae_git$ mkdir build
user@squeeze:~/glestae_git$ cd build
user@squeeze:~/glestae_git/build$ cmake -DGAE_DATA_DIR=$PWD/../data/game ..
user@squeeze:~/glestae_git/build$ make
a) To do: make install, then
Code: Select all
user@squeeze:~/glestae_git/build$ su
Password:
root@squeeze:~# /home/user/glestae_git/build# make install
After installation, Glest Advanced Engine, the G3D Viewer and Map Editor will appear in the Gnome menu.CPack can also generate RPM and DEB packages
To make a quick deb package:
b) To make your own deb package, switch to root, continue as follows:
Code: Select all
user@squeeze:~/glestae_git/build$ su
Password:
If it isn't installed on your system:
Code: Select all
# aptitude install checkinstall
Code: Select all
root@squeeze:/home/user/glestae_git/build# checkinstall
/usr/local/bin/gae_g3dviewer
/usr/local/bin/gae_mapeditor
/usr/local/bin/glestadv
The menu entries can be found in Gnome menu > Games > Strategy >