0.4.3 built for openSUSE and Fedora

Questions, problems and discussion about compiling FreeOrion.

Moderator: Oberlus

Post Reply
Message
Author
raptor
Space Squid
Posts: 87
Joined: Sat Jun 02, 2012 11:29 pm

0.4.3 built for openSUSE and Fedora

#1 Post by raptor »

Hi,

For anyone interested - I have gotten FreeOrion 0.4.3 built for openSUSE and Fedora(18). It resides in the games repository right now. Links:

Project page:
https://build.opensuse.org/package/show ... ject=games

Download:
http://software.opensuse.org/download.h ... =freeorion

Note that I built GiGi separately, under the package name 'gigi-fo' since it is a fork of the original GiGi. Project page:
https://build.opensuse.org/package/show ... ject=games

Download:
http://software.opensuse.org/download.h ... ge=gigi-fo

raptor
Space Squid
Posts: 87
Joined: Sat Jun 02, 2012 11:29 pm

Re: 0.4.3 built for openSUSE and Fedora

#2 Post by raptor »

Updated to 0.4.3. Enjoy!

Take a look at the CMake diff I applied to freeorion to do a search for GiGi (since I compile it separately).

Piwoslaw
Space Floater
Posts: 40
Joined: Tue Jul 23, 2013 4:52 am

Re: 0.4.3 built for openSUSE and Fedora

#3 Post by Piwoslaw »

Big thanks from a Fedora user:)

Unfortunately I got the following error when trying to install:

Code: Select all

[root@localhost Downloads]# yum install freeorion
Loaded plugins: langpacks, refresh-packagekit
Resolving Dependencies
--> Running transaction check
---> Package freeorion.x86_64 0:0.4.3-2.1 will be installed
--> Processing Dependency: freeorion-data = 0.4.3 for package: freeorion-0.4.3-2.1.x86_64
--> Processing Dependency: libboost_serialization-mt.so.1.50.0()(64bit) for package: freeorion-0.4.3-2.1.x86_64
--> Processing Dependency: libboost_thread-mt.so.1.50.0()(64bit) for package: freeorion-0.4.3-2.1.x86_64
--> Processing Dependency: libboost_python-mt.so.1.50.0()(64bit) for package: freeorion-0.4.3-2.1.x86_64
--> Processing Dependency: libboost_system-mt.so.1.50.0()(64bit) for package: freeorion-0.4.3-2.1.x86_64
--> Processing Dependency: libboost_signals-mt.so.1.50.0()(64bit) for package: freeorion-0.4.3-2.1.x86_64
--> Processing Dependency: libboost_filesystem-mt.so.1.50.0()(64bit) for package: freeorion-0.4.3-2.1.x86_64
--> Processing Dependency: libboost_iostreams-mt.so.1.50.0()(64bit) for package: freeorion-0.4.3-2.1.x86_64
--> Processing Dependency: libboost_date_time-mt.so.1.50.0()(64bit) for package: freeorion-0.4.3-2.1.x86_64
--> Processing Dependency: libOgreMain.so.1.7.4()(64bit) for package: freeorion-0.4.3-2.1.x86_64
--> Running transaction check
---> Package freeorion.x86_64 0:0.4.3-2.1 will be installed
--> Processing Dependency: libboost_serialization-mt.so.1.50.0()(64bit) for package: freeorion-0.4.3-2.1.x86_64
--> Processing Dependency: libboost_thread-mt.so.1.50.0()(64bit) for package: freeorion-0.4.3-2.1.x86_64
--> Processing Dependency: libboost_python-mt.so.1.50.0()(64bit) for package: freeorion-0.4.3-2.1.x86_64
--> Processing Dependency: libboost_system-mt.so.1.50.0()(64bit) for package: freeorion-0.4.3-2.1.x86_64
--> Processing Dependency: libboost_signals-mt.so.1.50.0()(64bit) for package: freeorion-0.4.3-2.1.x86_64
--> Processing Dependency: libboost_filesystem-mt.so.1.50.0()(64bit) for package: freeorion-0.4.3-2.1.x86_64
--> Processing Dependency: libboost_iostreams-mt.so.1.50.0()(64bit) for package: freeorion-0.4.3-2.1.x86_64
--> Processing Dependency: libboost_date_time-mt.so.1.50.0()(64bit) for package: freeorion-0.4.3-2.1.x86_64
--> Processing Dependency: libOgreMain.so.1.7.4()(64bit) for package: freeorion-0.4.3-2.1.x86_64
---> Package freeorion-data.noarch 0:0.4.3-2.1 will be installed
--> Finished Dependency Resolution
Error: Package: freeorion-0.4.3-2.1.x86_64 (games)
           Requires: libboost_filesystem-mt.so.1.50.0()(64bit)
Error: Package: freeorion-0.4.3-2.1.x86_64 (games)
           Requires: libboost_date_time-mt.so.1.50.0()(64bit)
Error: Package: freeorion-0.4.3-2.1.x86_64 (games)
           Requires: libboost_python-mt.so.1.50.0()(64bit)
Error: Package: freeorion-0.4.3-2.1.x86_64 (games)
           Requires: libboost_iostreams-mt.so.1.50.0()(64bit)
Error: Package: freeorion-0.4.3-2.1.x86_64 (games)
           Requires: libboost_system-mt.so.1.50.0()(64bit)
Error: Package: freeorion-0.4.3-2.1.x86_64 (games)
           Requires: libOgreMain.so.1.7.4()(64bit)
Error: Package: freeorion-0.4.3-2.1.x86_64 (games)
           Requires: libboost_signals-mt.so.1.50.0()(64bit)
Error: Package: freeorion-0.4.3-2.1.x86_64 (games)
           Requires: libboost_thread-mt.so.1.50.0()(64bit)
Error: Package: freeorion-0.4.3-2.1.x86_64 (games)
           Requires: libboost_serialization-mt.so.1.50.0()(64bit)
 You could try using --skip-broken to work around the problem
** Found 6 pre-existing rpmdb problem(s), 'yum check' output follows:
gigi-fo-0.8.0_0.4.2-3.1.x86_64 has missing requires of libOgreMain.so.1.7.4()(64bit)
gigi-fo-0.8.0_0.4.2-3.1.x86_64 has missing requires of libboost_date_time-mt.so.1.50.0()(64bit)
gigi-fo-0.8.0_0.4.2-3.1.x86_64 has missing requires of libboost_filesystem-mt.so.1.50.0()(64bit)
gigi-fo-0.8.0_0.4.2-3.1.x86_64 has missing requires of libboost_signals-mt.so.1.50.0()(64bit)
gigi-fo-0.8.0_0.4.2-3.1.x86_64 has missing requires of libboost_system-mt.so.1.50.0()(64bit)
gigi-fo-0.8.0_0.4.2-3.1.x86_64 has missing requires of libboost_thread-mt.so.1.50.0()(64bit)
It appears that GiGi-fo wants only the 1.50 version of Boost and 1.7.4 of Ogre, while I have 1.53.0 and 1.8.1 installed, resp. Am I missing something?

This may not be directly related to FO ver.0.4.3, I got these errors when upgrading from Fedora 18 to 19.

raptor
Space Squid
Posts: 87
Joined: Sat Jun 02, 2012 11:29 pm

Re: 0.4.3 built for openSUSE and Fedora

#4 Post by raptor »

Yes, you need to compile against the exact same libboost that comes with the system.

It will have to be recompiled for Fedora 19, which you could do from the SPEC file and sources found on the project pages.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: 0.4.3 built for openSUSE and Fedora

#5 Post by Geoff the Medio »

Piwoslaw wrote:It appears that GiGi-fo wants only the 1.50 version of Boost and 1.7.4 of Ogre, while I have 1.53.0 and 1.8.1 installed, resp.
It should be possible to build against newer boost versions and Ogre 1.8. The MSVC build uses boost 1.51 and Ogre 1.8.0.

Piwoslaw
Space Floater
Posts: 40
Joined: Tue Jul 23, 2013 4:52 am

Re: 0.4.3 built for openSUSE and Fedora

#6 Post by Piwoslaw »

Sorry, but I appear to be having trouble understanding what to install, in what order, etc. So do I download the .deb file from the main page, compile it under my Fedora 19, and everything will work fine, even though my Boost and Ogre versions/packages are 1.53.0-11.fc19 and 1.8.1-7.fc19, resp.? Exact, detailed step-by-step instructions would be greatly appreciated, since my brain cells have been fried by last week's heat wave:crazy:

Piwoslaw
Space Floater
Posts: 40
Joined: Tue Jul 23, 2013 4:52 am

Re: 0.4.3 built for openSUSE and Fedora

#7 Post by Piwoslaw »

I tried installing Free Orion 0.4.3 from a tarball I found (freeorion-0.4.3-1-x86_64.pkg.tar.xz). It seems to have installed correctly, but when trying to run FO keeps asking for libboost-1.54.0, while the newest available from yum is 1.53. So I got the latest 1.54.0 version and installed it manually, apparently it went well, though yum still only sees 1.53. but at least FO isn't asking for 1.54 any more, now it wants 1.50(!):

Code: Select all

/usr/share/freeorion
/usr/bin/freeorion.elf: error while loading shared libraries: libboost_date_time-mt.so.1.50.0: cannot open shared object file: No such file or directory
The libboost_date_time* file I have are:

Code: Select all

/usr/lib64/libboost_date_time-mt.so.1.53.0
/usr/lib64/libboost_date_time.so.1.53.0
/usr/local/lib/libboost_date_time.a
/usr/local/lib/libboost_date_time.so
/usr/local/lib/libboost_date_time.so.1.54.0
What am I doing wrong?

User avatar
adrian_broher
Programmer
Posts: 1156
Joined: Fri Mar 01, 2013 9:52 am
Location: Germany

Re: 0.4.3 built for openSUSE and Fedora

#8 Post by adrian_broher »

Piwoslaw wrote:What am I doing wrong?
That tarball is some binary stuff. Just rm -rf it, it's worthless. Compile from source instead.
Resident code gremlin
Attached patches are released under GPL 2.0 or later.
Git author: Marcel Metz

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: 0.4.3 built for openSUSE and Fedora

#9 Post by Geoff the Medio »

Piwoslaw wrote:What am I doing wrong?
I would guess that various dependencies, already on your system or included with the tarball, are built against different boost versions, so it ends up needing all those different boost versions to load. So I suppose what you're doing wrong is not having the same versions of everything built the same way as was the case where the binaries were built.

Post Reply