Installation ERROR on Fedora 7

Installation ERROR on Fedora 7

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

Moderator: Moderators

Post Reply
Dynamite_SJ
Posts: 1
Joined: 18 Jul 2007, 05:01

Installation ERROR on Fedora 7

Post by Dynamite_SJ »

Hey...

This is the error i get when typing "scons configure" on Fedora 7... let me know if u need more info:
# scons configure
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 Freetype2...
Checking for freetype-config... /usr/bin/freetype-config
Checking for Freetype >= 2.0.0... 2.3.4
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... not found
Guessing OpenAL include path... /usr/include/AL
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/lib/jvm/java/include

Checking headers and libraries
Checking for C++ header file GL/gl.h... no
Could not find one of these headers: ['GL/gl.h']
Checking for C++ header file GL/glew.h... no
Could not find one of these headers: ['GL/glew.h']
Checking for C++ header file GL/glu.h... no
Could not find one of these headers: ['GL/glu.h']
Checking for C++ header file IL/il.h... no
Could not find one of these headers: ['IL/il.h']
Checking for C++ header file IL/ilu.h... no
Could not find one of these headers: ['IL/ilu.h']
Checking for C++ header file SDL/SDL.h... no
Checking for C++ header file SDL11/SDL.h... no
Could not find one of these headers: ['SDL/SDL.h', 'SDL11/SDL.h']
Checking for C++ header file boost/cstdint.hpp... no
Could not find one of these headers: ['boost/cstdint.hpp']
Checking for C++ header file boost/regex.hpp... no
Could not find one of these headers: ['boost/regex.hpp']
Checking for C++ header file boost/thread.hpp... no
Could not find one of these headers: ['boost/thread.hpp']
Checking for C++ header file ft2build.h... no
Could not find one of these headers: ['ft2build.h']
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... no
Could not find one of these headers: ['AL/al.h']
Checking for C++ header file Python.h... no
Could not find one of these headers: ['Python.h']
Checking for C++ header file zlib.h... no
Could not find one of these headers: ['zlib.h']
Not all tests finished succesfully. You are probably missing one of the
build dependencies. See config.log for details.
any suggestions?

Thx Dave



OH YEA.. SRC Version is... .75B1
Scram80
Posts: 16
Joined: 02 Jun 2007, 22:17

Post by Scram80 »

Suggestion: "You are probably missing one of the build dependencies"

I'd say you miss
libz-dev (zlib.h)
libgl-dev (gl.h)
libglew-dev (glew.h)
libpython-dev (python.h)

java-sdk (jni.h)
libboost-dev (thats libboost-thread-dev and libboost-regexp-dev here)

IL should be a package named "devil" or similar


the package names for ubuntu can be found in the wiki, for fedora you'll have to search yourself...
(tip: maybe you can search for packages providing a specific file? then simply take the files it complains about and search for packages providing those)
Lefty
Posts: 27
Joined: 26 Jun 2007, 22:00

Post by Lefty »

Hi ! I have java jdk:

Code: Select all

phalanx spring_0.75b1 # locate jni.h
/opt/java/include/jni.h
and spring still cant find it:

Code: Select all

Checking for C++ header file jni.h... no
Could not find one of these headers: ['jni.h']
I tried to append /opt/java/include to $PATH but without success...
Where does scons search for includes ? Should I create symlink anywhere ?

Edit: I also found it wont compile (for me) with ccache turned on.
malric
Posts: 521
Joined: 30 Dec 2005, 22:22

Post by malric »

I think the check for java is done in rts/build/scons/config.py after line 181.

There it searches for java in : "/usr/local/lib/jvm", "/usr/lib/jvm".

On a Fedora Core 5, /usr/lib/jvm contained the necessary stuff.
Lefty
Posts: 27
Joined: 26 Jun 2007, 22:00

Post by Lefty »

thanx ! mkdir /usr/lib/jvm && ln -s /opt/java /usr/lib/jvm/java6 and everything works ! :-)
pheldens
Posts: 191
Joined: 12 Aug 2006, 21:35

Post by pheldens »

nasty.

The extra subdir to jvm was the key indeed :/ apparently . isn't checked.

For the zip error, I removed .group()
Post Reply

Return to “Linux”