Compiling on Fedora 7 x64

Compiling on Fedora 7 x64

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

Moderator: Moderators

Post Reply
Syndr
Posts: 7
Joined: 09 May 2007, 04:32

Compiling on Fedora 7 x64

Post by Syndr »

I am having this problem when I run scons configure on a 64 bit install of Fedora 7. It is acting like I don't have any of the dependencies, but I am positive that I have all of them installed.

Code: Select all

$ 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 zip... Zip 2.31 found
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... /usr/bin/openal-config
Checking for Python 2.5... 
  Guessing Python include path... /usr/include/python2.5 
Checking for Java... /usr/java/latest/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.
All of the files it says it can't find are in /usr/include except jni.h, which is at the path it found for java at the top. I also can't see any errors in config.log. Spring 0.75b2 compiled fine in Fedora 6 x64, but it won't in Fedora 7. Does anybody have any ideas?

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

Post by Tobi »

Could you pastebin the config.log anyway?
Syndr
Posts: 7
Joined: 09 May 2007, 04:32

Post by Syndr »

Here is the url. Remove the spaces to view, as I am not allowed hyperlinks.

http: // pastebin . com/f3222408f

Please let me know if there is anything else I can do to help.
longhair
Posts: 19
Joined: 26 Apr 2006, 00:22

Post by longhair »

You probably did this, but have you installed the corresponding -devel packages for all of these dependencies? Simply installing the base package doesn't work if you're compiling from source code. Usually, it's something like: packagename-devel or packagename-dev that you need.
Syndr
Posts: 7
Joined: 09 May 2007, 04:32

Post by Syndr »

Yes, I am positive that I have all the development packages installed. I know for a fact that I have all of the header files it can't find, and I believe that is what the dev packages mainly provide (that the configure checks for, at least).

I believe I installed all the packages except for sablevm from the repositories, while I had to download most of them manually on Fedora 6. Almost all of the packages from the repository are the 64 bit versions, while at least some of the ones I used on Fedora 6 were the 32 bit versions. As far as I know this shouldn't make any difference, but I am guessing that the fact that I am using the 64 bit edition of Fedora 7 might have something to do with it.
Then again, spring compiled fine on the 64 bit edition of Fedora 6. I have thought that I might just be missing something that scons needs when it checks for dependencies, but I have no idea what that would be. I can't say I have any idea how scons checks dependencies either, so I have no idea what could cause it to fail.
plouj
Posts: 2
Joined: 08 Oct 2007, 02:06

Post by plouj »

Do you have ccache installed?
smcarrick
Posts: 2
Joined: 20 Oct 2007, 05:34

Not Only on 64-bit

Post by smcarrick »

I am having the same configure problem as Syndr on my x86 system (3.0GHz P-IV, 1GB RAM). So, I'm thinking that this may be an FC7 problem and not a 64-bit problem.

I've got all of the required header files in the appropriate places and `scons configure` is not finding them, but there don't appear to be any errors in my config.log file.

I would be more than happy to paste up my config.log file if you would like to review it. Alternatively, I could email it to you if you provide your email address. I would really like to see if we can resolve this problem for our FC7 systems, because I would really like to play TA Spring.

Cheers,

Sean
smcarrick
Posts: 2
Joined: 20 Oct 2007, 05:34

Post by smcarrick »

***UPDATE***

In reply to plouj, I do have ccache installed on my x86 Fedora 7 system.

Cheers,

Sean
plouj
Posts: 2
Joined: 08 Oct 2007, 02:06

Post by plouj »

smcarrick wrote:***UPDATE***

In reply to plouj, I do have ccache installed on my x86 Fedora 7 system.

Cheers,

Sean
That is most likely the problem here. I had to remove ccache from my new Fedora 7 system to compile Spring. Sorry for not telling you this earlier.
Syndr
Posts: 7
Joined: 09 May 2007, 04:32

Post by Syndr »

Removing ccache fixed the problem!
Scons now sees all the dependencies and is compiling just fine. I had managed to get spring to run using the suse rpms and linking to the correct libraries, but I would rather use a version compiled for my system than one meant for an entirely different distribution.

Thanks,
Syndr
Post Reply

Return to “Linux”