first i want say Thank You all FreeOrion developers and contributors.
Back to subject, this is a small guide how to compile and run FreeOrion on OpenSuSE 12.2 with libboost-1.51 also works with 12.3 (i am using now)
( it's not possible since FO start depend with libboost=>1.5, there is only 1.49 in standard repositories )
a) Upgrade libboost to version 1.51
- before we start first uninstall libboost-1.49-devel if it's already installed
- add custom repository with libboost-1.51 from SuSEBuild service (see below) and install it, devel packages to
http://software.opensuse.org/ymp/home:g ... stem1_51_0
Code: Select all
boost-devel-1.51.0-8.11.1.i586.rpm
boost-devel-32bit-1.51.0-8.11.1.x86_64.rpm
boost-doc-html-1.51.0-8.11.1.noarch.rpm
boost-license1_51_0-1.51.0-8.11.1.noarch.rpm
libboost_chrono1_51_0-1.51.0-8.11.1.i586.rpm
libboost_context1_51_0-1.51.0-8.11.1.i586.rpm
libboost_date_time1_51_0-1.51.0-8.11.1.i586.rpm
libboost_filesystem1_51_0-1.51.0-8.11.1.i586.rpm
libboost_graph1_51_0-1.51.0-8.11.1.i586.rpm
libboost_iostreams1_51_0-1.51.0-8.11.1.i586.rpm
libboost_locale1_51_0-1.51.0-8.11.1.i586.rpm
libboost_math1_51_0-1.51.0-8.11.1.i586.rpm
libboost_program_options1_51_0-1.51.0-8.11.1.i586.rpm
libboost_python1_51_0-1.51.0-8.11.1.i586.rpm
libboost_random1_51_0-1.51.0-8.11.1.i586.rpm
libboost_regex1_51_0-1.51.0-8.11.1.i586.rpm
libboost_serialization1_51_0-1.51.0-8.11.1.i586.rpm
libboost_signals1_51_0-1.51.0-8.11.1.i586.rpm
libboost_system1_51_0-1.51.0-8.11.1.i586.rpm
libboost_test1_51_0-1.51.0-8.11.1.i586.rpm
libboost_thread1_51_0-1.51.0-8.11.1.i586.rpm
libboost_timer1_51_0-1.51.0-8.11.1.i586.rpm
libboost_wave1_51_0-1.51.0-8.11.1.i586.rpm
- dowload 'ogre-1.8.1-2.1.src.rpm' http://download.opensuse.org/repositori ... .1.src.rpm then rebuild it
Code: Select all
rpmbuild --rebuild ogre-1.8.1-2.1.src.rpm
at '/usr/src/packages/RPMS/<your_platfomr>' when rebuild as root or '/home/your_user_name/build//RPMS/<your_platfomr>' when you rebuild as user,
- check a new packages it's really compiled with libboost-1.51
Code: Select all
sudo -s rpm -q -i -p --requires libOgreMain1_8_1-1.8.1-2.1.x86_64.rpm
Code: Select all
(.....)
libXt.so.6()(64bit)
libboost_chrono.so.1.51.0()(64bit)
libboost_date_time.so.1.51.0()(64bit)
libboost_system.so.1.51.0()(64bit)
libboost_thread.so.1.51.0()(64bit)
libc.so.6()(64bit)
(......)
Code: Select all
sudo -s rpm -Uhv *.rpm && ldconfig
- synchronize latest FreeOrion source, and continue http://www.freeorion.org/index.php/Compile_In_Linux FreeOrion amd GiGi parts only;)
- for me GiGi is installed in '/usr/local' , it's fine because ldconfig can find GiGi libraries,
only what i change is FreeOrion install directory to '/usr/local/games/freeorion' it's easier to make complete copy of game when u upgrade to new revision
- it's important, root directory contain freeorion binaries have to contain also 'ogre_plugins.cfg' and 'OISInput.cfg' files
- btw there is compiled binaries with u can try install on OpenSuSE 12.1 machine (it's works for me before upgrade to 12.2 )
viewtopic.php?f=24&t=6658
and have a fun
I have also one suggestion to developers, i lookout on web how to speed up my python (almost always get lags with 100+ systems and more then 2+ AI bots )
and i found this
http://www.parallelpython.com
Whith all respect, i'am not coder-programer but maybe it's solution for slower down playing.Parallel python is free, open source software distributed under BSD-like license
Regards
Tuxlama