SVN problem

SVN problem

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
Cosmoboy
Posts: 2
Joined: 20 May 2007, 02:08

SVN problem

Post by Cosmoboy »

Hello!
I'm trying to get Spring on Linux with svn

So first I get all the dependencies

Code: Select all

sudo apt-get install build-essential subversion scons libsdl-dev libopenal-dev libglew-dev libboost-dev libboost-thread-dev libboost-filesystem-dev libboost-regex-dev libdevil-dev libaio-dev libjpeg-dev libfreetype6-dev python2.4-dev
Who gives me
0 mis ├â┬á jour, 0 nouvellement install├â┬®s, 0 ├â┬á enlever et 0 non mis ├â┬á jour.
ie. nothing to do, everything is up to date

Next I get the svn directory
Then I get

Code: Select all

scons configure debug=yes
and answer
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, level 3 debugging enabled, optimizing NOT enabled
Configuring spring
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.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.4... 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.
What can I do to resolve it please? What are the missing dependencies?

Thanks a lot
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

Code: Select all

Could not find one of these headers: ['jni.h']
You need to install the Java SDK too.

I'll update the SetupGuide once I'm on Linux and can check the exact name of the package.
Cosmoboy
Posts: 2
Joined: 20 May 2007, 02:08

Post by Cosmoboy »

Heyheyhey!!!
It's working! I installed free-java-sdk and no message error :-) :-) :-)
It's compiling :D
Thanks a lot! But be careful I had already installed j2sdk1.4 but nothing happened so update the setupguide


Thanks a lot!
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

Thanks a lot! But be careful I had already installed j2sdk1.4 but nothing happened so update the setupguide
Same for me. I installed jdk 1.6 and jre 1.6 and 1.5 packages with source and the devel package. But it told me he could not found java. But it compiled spring sometimes. Crazy!
But I have a working spring version from opensuse software repo :roll: .
Lippy
Posts: 327
Joined: 16 Jul 2006, 00:24

Post by Lippy »

Just wanted to say, that installing free-java-sdk worked for me too, so I added it into the linux installation wiki; If it's the wrong way to do it, could someone more knowledgeable please correct it .
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

And you've verified that a freesdk build of the java bindings works with the Sun JDK built AFLobby?
Post Reply

Return to “Help & Bugs”