Compilation on Debian 7.0 (Wheezy)/Free Orion - Log/Guide
Posted: Wed Jun 26, 2013 11:53 pm
This is log/guide of succesfull compilation of Free Orion [6200] on Debian 7.0 (Wheezy). I hope it will be useful for some users. It is not idiotproof and it require some basic knowledge.
I created this topic, because in my case I had to make some adjustments during compilation and not all sections of Wiki were applicable (another way of building Bullet, different filepaths or package names).
Enjoy!
Sysinfo:
Install required packages (some names are different than on Wiki article)
Missing dependiences: Bullet (this is totally non-Wiki way)
Add 'deb-src http://http.debian.net/debian sid main' to /etc/apt/sources.list
Just for your information; in my case it was the following packages:
I believe the only packages really required by Free Orion are:I preferred to install all bullet source "just in case".
Symbolic links (another filepaths than paths mentioned in Wiki article):
Compile:
I created this topic, because in my case I had to make some adjustments during compilation and not all sections of Wiki were applicable (another way of building Bullet, different filepaths or package names).
Enjoy!
Sysinfo:
Code: Select all
$ uname -a
Linux [hostname] 3.2.0-4-686-pae #1 SMP Debian 3.2.46-1 i686 GNU/Linux
$ gcc --version
gcc (Debian 4.7.2-5) 4.7.2
$ g++ --version
g++ (Debian 4.7.2-5) 4.7.2
$ apt-show-versions build-essential subversion pkg-config libltdl-dev cmake python2.6-dev libfreetype6-dev libsdl1.2-dev libalut-dev libvorbis-dev libois-dev libtiff4-dev libopenal-dev libogre-dev libzzip-dev libfreeimage-dev x11proto-xf86vidmode-dev libxxf86vm-dev libboost-dev libboost-all-dev
build-essential/wheezy uptodate 11.5
cmake/wheezy uptodate 2.8.9-1
libalut-dev/wheezy uptodate 1.1.0-3
libboost-all-dev/wheezy uptodate 1.49.0.1
libboost-dev/wheezy uptodate 1.49.0.1
libfreeimage-dev/wheezy uptodate 3.15.1-1+b1
libfreetype6-dev/wheezy uptodate 2.4.9-1.1
libltdl-dev/wheezy uptodate 2.4.2-1.1
libogre-dev/wheezy uptodate 1.7.4+dfsg1-7
libois-dev/wheezy uptodate 1.3.0+dfsg0-5
libopenal-dev/wheezy uptodate 1:1.14-4
libsdl1.2-dev/wheezy uptodate 1.2.15-5
libtiff4-dev/wheezy uptodate 3.9.6-11
libvorbis-dev/wheezy uptodate 1.3.2-1.3
libxxf86vm-dev/wheezy uptodate 1:1.1.2-1+deb7u1
libzzip-dev/wheezy uptodate 0.13.56-1.1
pkg-config/wheezy uptodate 0.26-1
python2.6-dev/wheezy uptodate 2.6.8-1.1
subversion/wheezy uptodate 1.6.17dfsg-4+deb7u3
x11proto-xf86vidmode-dev/wheezy uptodate 2.3.1-2
Code: Select all
# apt-get install build-essential subversion pkg-config libltdl-dev cmake python2.6-dev libfreetype6-dev libsdl1.2-dev libalut-dev libvorbis-dev libois-dev libtiff4-dev libopenal-dev libogre-dev libzzip-dev libfreeimage-dev x11proto-xf86vidmode-dev libxxf86vm-dev
# apt-get install libboost-dev libboost-all-dev --install-recommends
Add 'deb-src http://http.debian.net/debian sid main' to /etc/apt/sources.list
Code: Select all
# apt-get update
# apt-get install debhelper devscripts build-essential
# apt-get build-dep bullet
$ mkdir dep
$ cd dep
$ apt-get -b source bullet
# dpkg -i *.deb
Code: Select all
$ ls | grep deb
bullet_2.81-rev2613+dfsg-2.debian.tar.xz
libbullet2.81-dbg_2.81-rev2613+dfsg-2_i386.deb
libbulletcollision2.81_2.81-rev2613+dfsg-2_i386.deb
libbullet-dev_2.81-rev2613+dfsg-2_i386.deb
libbullet-doc_2.81-rev2613+dfsg-2_all.deb
libbulletdynamics2.81_2.81-rev2613+dfsg-2_i386.deb
libbullet-extras-dev_2.81-rev2613+dfsg-2_i386.deb
libbulletfileloader2.81_2.81-rev2613+dfsg-2_i386.deb
libbulletsoftbody2.81_2.81-rev2613+dfsg-2_i386.deb
libbulletworldimporter2.81_2.81-rev2613+dfsg-2_i386.deb
libbulletxmlworldimporter2.81_2.81-rev2613+dfsg-2_i386.deb
libconvexdecomposition2.81_2.81-rev2613+dfsg-2_i386.deb
libgimpactutils2.81_2.81-rev2613+dfsg-2_i386.deb
libhacd2.81_2.81-rev2613+dfsg-2_i386.deb
liblinearmath2.81_2.81-rev2613+dfsg-2_i386.deb
Code: Select all
libbulletcollision2.81_2.81-rev2613+dfsg-2_i386.deb
libbullet-dev_2.81-rev2613+dfsg-2_i386.deb
libbulletdynamics2.81_2.81-rev2613+dfsg-2_i386.deb
libbulletsoftbody2.81_2.81-rev2613+dfsg-2_i386.deb
liblinearmath2.81_2.81-rev2613+dfsg-2_i386.deb
Symbolic links (another filepaths than paths mentioned in Wiki article):
Code: Select all
# ln -s /usr/lib/i386-linux-gnu/libBulletCollision.so /usr/local/lib/libbulletcollision.so
# ln -s /usr/lib/i386-linux-gnu/libBulletDynamics.so /usr/local/lib/libbulletdynamics.so
# ln -s /usr/lib/i386-linux-gnu/libLinearMath.so /usr/local/lib/libbulletmath.so
Code: Select all
$ cd .../FreeOrion
$ ln -s /usr/lib/i386-linux-gnu/OGRE-1.7.4/Plugin_OctreeSceneManager.so
$ ln -s /usr/lib/i386-linux-gnu/OGRE-1.7.4/Plugin_ParticleFX.so
$ ln -s /usr/lib/i386-linux-gnu/OGRE-1.7.4/RenderSystem_GL.so
$ ln -s /usr/lib/i386-linux-gnu/OGRE-1.7.4/Plugin_BSPSceneManager.so
$ ln -s /usr/lib/i386-linux-gnu/OGRE-1.7.4/Plugin_OctreeZone.so
$ ln -s /usr/lib/i386-linux-gnu/OGRE-1.7.4/Plugin_PCZSceneManager.so
Code: Select all
$ cmake .
$ make