ubuntu 8.10 static binaries

Problems and solutions for installing or running FreeOrion, including discussion of bugs if needed before posting a bug report on GitHub. For problems building from source, post in Compile.

Moderator: Oberlus

Post Reply
Message
Author
maheshjr2000
Space Krill
Posts: 3
Joined: Fri Nov 07, 2008 10:14 pm

ubuntu 8.10 static binaries

#1 Post by maheshjr2000 »

I cant find the static binaries anywhere. Are they just not offered anymore?(a genuine question not criticism, I am capable of compiling I just dont want to XD)

User avatar
The Silent One
Graphics
Posts: 1129
Joined: Tue Jul 01, 2003 8:27 pm

Re: ubuntu 8.10 static binaries

#2 Post by The Silent One »

Kroddn's site seems to be down atm, but you should be able to download 0.3.9 for linux from sourceforge.
If I provided any images, code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0.

maheshjr2000
Space Krill
Posts: 3
Joined: Fri Nov 07, 2008 10:14 pm

Re: ubuntu 8.10 static binaries

#3 Post by maheshjr2000 »

Thanks but I have a new problem now:

Following into my basedir
CWD: /home/t/freeorion/application
HumanClientApp::HandleMessage(HOST_SP_GAME)
/home/t/freeorion/application/freeorionca: error while loading shared libraries: libpython2.4.so.1.0: cannot open shared object file: No such file or directory
/home/t/freeorion/application/freeorionca: error while loading shared libraries: libpython2.4.so.1.0: cannot open shared object file: No such file or directory
/home/t/freeorion/application/freeorionca: error while loading shared libraries: libpython2.4.so.1.0: cannot open shared object file: No such file or directory
/home/t/freeorion/application/freeorionca: error while loading shared libraries: libpython2.4.so.1.0: cannot open shared object file: No such file or directory
freeorion: /usr/include/boost/cast.hpp:97: Target boost::polymorphic_downcast(Source*) [with Target = HumanClientFSM*, Source = boost::statechart::state_machine<HumanClientFSM, IntroMenu, std::allocator<void>, boost::statechart::null_exception_translator>]: Assertion `dynamic_cast<Target>(x) == x' failed.
It freezes at creating universe and ais.

Im sorta new at linux. Any ideas? installing libpython3.0 does nothing :(

User avatar
OndrejR
Space Dragon
Posts: 339
Joined: Thu Oct 02, 2008 11:00 pm
Location: Slovakia

Re: ubuntu 8.10 static binaries

#4 Post by OndrejR »

maheshjr2000 wrote:Thanks but I have a new problem now:

Following into my basedir
CWD: /home/t/freeorion/application
HumanClientApp::HandleMessage(HOST_SP_GAME)
/home/t/freeorion/application/freeorionca: error while loading shared libraries: libpython2.4.so.1.0: cannot open shared object file: No such file or directory

Im sorta new at linux. Any ideas? installing libpython3.0 does nothing :(
You need python2.4, not python3.0. If in your distribution python2.4 isn't, then better solution is to compile FreeOrion from sources. Another option is to compile python2.4 for your distribution.

maheshjr2000
Space Krill
Posts: 3
Joined: Fri Nov 07, 2008 10:14 pm

Re: ubuntu 8.10 static binaries

#5 Post by maheshjr2000 »

When I run scons it says that py_initialize was not found in c library python 2.5

never mind im installing python 2.5 dev see if that makes a difference.
So i needed 2.5 dev. hurray.

Anyway NOW it says:
scons: Reading SConscript files ...
Configuring for POSIX system...
Checking for Py_Initialize() in C library python2.5... yes
Checking for pkg-config... yes
Checking for GiGiSDL >= 0.6.0... no
Checking for C++ header file boost/shared_ptr.hpp... no
Boost configuration... (cached) no

User avatar
OndrejR
Space Dragon
Posts: 339
Joined: Thu Oct 02, 2008 11:00 pm
Location: Slovakia

Re: ubuntu 8.10 static binaries

#6 Post by OndrejR »

maheshjr2000 wrote:When I run scons it says that py_initialize was not found in c library python 2.5

never mind im installing python 2.5 dev see if that makes a difference.
So i needed 2.5 dev. hurray.

Anyway NOW it says:
scons: Reading SConscript files ...
Configuring for POSIX system...
Checking for Py_Initialize() in C library python2.5... yes
Checking for pkg-config... yes
Checking for GiGiSDL >= 0.6.0... no
Checking for C++ header file boost/shared_ptr.hpp... no
Boost configuration... (cached) no
If you want to compile FreeOrion, you needs dev library versions. Guide how to compile is described here.

OxUlsen
Space Krill
Posts: 7
Joined: Mon Nov 24, 2008 10:01 pm

Re: ubuntu 8.10 static binaries

#7 Post by OxUlsen »

I had this problem too in ubuntu 8.10

gigi from subversion needs boost >= 1.36 now ( build_config.py )
There is no avalaible package in this version ( 1.35 or 1.34 are possible )
Boost must be compiled from sources.

So remove all boos packages (looks like you haven't) , download sources from
svn co http://svn.boost.org/svn/boost/trunk
compile, install librares

./configure
make
make install

tip

links are bad and need be created
for example in my system

libboost_wave-gcc43-mt-1_38.so
libboost_wave-gcc43-mt-1_38.so.1.38.0
libboost_wave-gcc43-mt-1_38.a
libboost_wave-gcc43-mt.a
libboost_wave-gcc43-mt.so

was created, but you need libboost_wave.so

so in /usr/local/lib i did

for i in `ls *38.so`; do echo $i; ln -s $i `basename $i -gcc43-mt-1_38.so`;done

and gg (gigi) can be compiled.

User avatar
OndrejR
Space Dragon
Posts: 339
Joined: Thu Oct 02, 2008 11:00 pm
Location: Slovakia

Re: ubuntu 8.10 static binaries

#8 Post by OndrejR »

In Debian unstable, there is package
libboost1.36-dev

Maybe you can download this package with dependencies from Debian repository.

User avatar
kroddn
Static Linker
Posts: 347
Joined: Thu Jun 28, 2007 10:28 am

Re: ubuntu 8.10 static binaries

#9 Post by kroddn »

If you want to compile with boost 1.38 you will have to support the parameter "boost_lib_suffix=-gcc43-mt" or something similar to scons. Have a look at /usr/lib/libboost* - there you should see this suffix.


There's a new statically linked linux version available now. But this version has some known bugs and may crash with erros telling something like "GG::Font : Encountered malformed <rgba> formatting tag: <rgba ...."

http://psitronic.de/div/FO/

Post Reply