Issues on Kubuntu feisty amd64

Issues on Kubuntu feisty amd64

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
Saint_Mike
Posts: 3
Joined: 27 Jul 2007, 19:50

Issues on Kubuntu feisty amd64

Post by Saint_Mike »

Ok, I was so looking foward to play Spring and it's mod, but I ran into multiple problems :S. I'm running Kubuntu 7.04 amd64.
First I tried compiling from source, version 0.75b2.

- When I do "scons configure" I get this:

Code: Select all

scons: Reading SConscript files ...

Now configuring.  If something fails, consult `config.log' for details.

Detected platform : linux
Checking gcc version... 4.1.2
profiling NOT enabled, debugging NOT enabled, level 2 optimizing enabled

Configuring spring
Checking for zip... Zip 2.32 found
Checking for Freetype2...
  Checking for freetype-config... /usr/bin/freetype-config
  Checking for Freetype >= 2.0.0... 2.2.1
Checking for SDL...
  Checking for sdl-config... /usr/bin/sdl-config
  Checking for LibSDL >= 1.2.0... 1.2.11
Checking for OpenAL...
  Checking for openal-config... /usr/bin/openal-config
Checking for Python 2.5...
  Guessing Python include path... /usr/include/python2.5
Checking for Python 2.4...
  Guessing Python include path... /usr/include/python2.4
Checking for Java... not found
  Guessing Java include path... /usr/include/java

Checking headers and libraries
Checking for C++ header file GL/gl.h... yes
Checking for C library GL... yes
Checking for C++ header file GL/glew.h... yes
Checking for C library GLEW... yes
Checking for C++ header file GL/glu.h... yes
Checking for C library GLU... yes
Checking for C++ header file IL/il.h... yes
Checking for C library IL... yes
Checking for C++ header file IL/ilu.h... yes
Checking for C library ILU... yes
Checking for C++ header file SDL/SDL.h... yes
Checking for C library SDL... yes
Checking for C++ header file boost/cstdint.hpp... yes
Checking for C++ header file boost/regex.hpp... yes
Checking for C library boost_regex-gcc-mt... no
Checking for C library boost_regex-mt... no
Checking for C library boost_regex-gcc... no
Checking for C library boost_regex... yes
Checking for C++ header file boost/thread.hpp... yes
Checking for C library boost_thread-gcc-mt... no
Checking for C library boost_thread-mt... no
Checking for C library boost_thread-gcc... no
Checking for C library boost_thread... yes
Checking for C++ header file ft2build.h... yes
Checking for C library freetype... yes
Checking for C++ header file jni.h... no
Could not find one of these headers: ['jni.h']
Checking for C++ header file AL/al.h... yes
Checking for C library openal... yes
Checking for C++ header file Python.h... yes
Checking for C library python2.5... yes
Checking for C++ header file zlib.h... yes
Checking for C library z... yes
Not all tests finished succesfully.  You are probably missing one of the
build dependencies.  See config.log for details.
Funny thing I installed all the dependencies from the setup guide, so I don't know the one I'm missing.

Then I tried installing a deb file I found in the forum, it was a i386 version though. I had to force the installation with:

Code: Select all

sudo dpkg -i --force-architecture spring_0.75~b2-1_i386.deb
when I run the game I get this error:

Code: Select all

spring: error while loading shared libraries: libSDL-1.2.so.0: cannot open shared object file: No such file or directory
I even tried:

Code: Select all

linux32 spring
Well.. I had similar issues with another game and I just copied the "libSDL-1.2.so.0" file to game directory, but this time it doesn't seem to work.

I'm just newbie in the linux front but I'm willing to learn, so if someone has any suggestions so I can solve this problem so I can finally play Spring.
Thx in advance.

PS. I also tried playing the windows version with Wine, but I ran into another problem, I saw a post pointing there is a regretion in Wine, so I didn't paste that error here.
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

Build problem:
You need to install the java sdk or named jdk
If you have installed java sdk/jdk you should modified the config.py file:
http://spring.clan-sy.com/phpbb/viewtop ... 835#205835
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Re: Issues on Kubuntu feisty amd64

Post by BrainDamage »

Agon wrote:Build problem:
You need to install the java sdk or named jdk
If you have installed java sdk/jdk you should modified the config.py file:
http://spring.clan-sy.com/phpbb/viewtop ... 835#205835
wrong, jdk is needed to build unitsync with java bindings for aflobby, but spring and unitsync can be succesfully builded without it

according from his configure log
Saint_Mike wrote:

Code: Select all

Checking for C++ header file boost/cstdint.hpp... yes 
Checking for C++ header file boost/regex.hpp... yes 
Checking for C library boost_regex-gcc-mt... no 
Checking for C library boost_regex-mt... no 
Checking for C library boost_regex-gcc... no 
Checking for C library boost_regex... yes 
Checking for C++ header file boost/thread.hpp... yes 
Checking for C library boost_thread-gcc-mt... no 
Checking for C library boost_thread-mt... no 
Checking for C library boost_thread-gcc... no

...............

Not all tests finished succesfully.  You are probably missing one of the
build dependencies.  See config.log for details.
he misses some the developement libs of boost or either they are not found by the scons script
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

No what you wrote is wrong. You need Java to complete scons configure. But one is right you only need java for aflobby and unitsync java bindings.

Code: Select all

Detected platform : linux
Checking gcc version... 4.1.2
profiling NOT enabled, debugging NOT enabled, level 2 optimizing enabled

Configuring spring
Checking for zip... Zip 2.31 found
Checking for Freetype2...
  Checking for freetype-config... /usr/bin/freetype-config
  Checking for Freetype >= 2.0.0... 2.2.2
Checking for SDL...
  Checking for sdl-config... /usr/bin/sdl-config
  Checking for LibSDL >= 1.2.0... 1.2.11
Checking for OpenAL...
  Checking for openal-config... /usr/bin/openal-config
Checking for Python 2.5...
  Guessing Python include path... /usr/include/python2.5
Checking for Python 2.4...
  Guessing Python include path... /usr/include/python2.4
Checking for Java... /usr/java/latest/include

Checking headers and libraries
Checking for C++ header file GL/gl.h... (cached) yes
Checking for C library GL... (cached) yes
Checking for C++ header file GL/glew.h... (cached) yes
Checking for C library GLEW... (cached) yes
Checking for C++ header file GL/glu.h... (cached) yes
Checking for C library GLU... (cached) yes
Checking for C++ header file IL/il.h... (cached) yes
Checking for C library IL... (cached) yes
Checking for C++ header file IL/ilu.h... (cached) yes
Checking for C library ILU... (cached) yes
Checking for C++ header file SDL/SDL.h... (cached) yes
Checking for C library SDL... (cached) yes
Checking for C++ header file boost/cstdint.hpp... (cached) yes
Checking for C++ header file boost/regex.hpp... (cached) yes
Checking for C library boost_regex-gcc-mt... (cached) no
Checking for C library boost_regex-mt... (cached) no
Checking for C library boost_regex-gcc... (cached) no
Checking for C library boost_regex... (cached) yes
Checking for C++ header file boost/thread.hpp... (cached) yes
Checking for C library boost_thread-gcc-mt... (cached) no
Checking for C library boost_thread-mt... (cached) yes
Checking for C++ header file ft2build.h... (cached) yes
Checking for C library freetype... (cached) yes
Checking for C++ header file jni.h... (cached) yes
Checking for C++ header file AL/al.h... (cached) yes
Checking for C library openal... (cached) yes
Checking for C++ header file Python.h... (cached) yes
Checking for C library python2.5... (cached) yes
Checking for C++ header file zlib.h... (cached) yes
Checking for C library z... (cached) yes

Everything seems OK.  Run `scons' now to build.
scons: done reading SConscript files.
scons: Building targets ...
scons: Nothing to be done for `configure'.
scons: done building targets.
Saint_Mike
Posts: 3
Joined: 27 Jul 2007, 19:50

Post by Saint_Mike »

Ok, I'm installing the java sdk right know, I'll post my results in a moment, thx for the reply.
Saint_Mike
Posts: 3
Joined: 27 Jul 2007, 19:50

Post by Saint_Mike »

Wow :D, I just needed the JDK to be able to compile. I'm testing some maps and mods, It looks pretty amazing, I'm looking foward the updates on the engine,

Thx for the tips man, I'm off to play a little 8) .
Post Reply

Return to “Linux”