using scons to install spring. but failing.. miserably

using scons to install spring. but failing.. miserably

Discuss everything related to compiling and running Spring on Mac OS X.

Moderator: Moderators

Post Reply
redwyaster5
Posts: 20
Joined: 14 Jun 2009, 03:50

using scons to install spring. but failing.. miserably

Post by redwyaster5 »

Detected platform : darwin
WARNING: support is incomplete
NOTE: xcode files are available in /trunk/rts/build/xcode
Checking gcc version... 4.0.1
Toolchain options:
CC=gcc
CXX=g++
AR=ar
RANLIB=ranlib

Configuring for i686
profiling NOT enabled, debugging NOT enabled, level 2 optimizing enabled
Precompiled header enabled
OpenGL Multithreading Library and parallel threads for Sim/Draw are NOT enabled

Configuring spring
Checking for zip... Zip 2.32 found
Checking for Freetype2...
Checking for freetype-config... /opt/local/bin/freetype-config
Checking for Freetype >= 2.0.0... 2.3.9
Checking for SDL...
Checking for sdl-config... /opt/local/bin/sdl-config
Checking for LibSDL >= 1.2.0... 1.2.13
Checking for OpenAL...
Checking for openal-config... not found
Guessing OpenAL include path...
/opt/local/include/AL
Checking for Ogg headers...
Guessing ogg include path...
/opt/local/include/ogg
Checking for Vorbis(-file) headers...
Guessing vorbisfile include path...
/opt/local/include/vorbis
Checking for Python 2.6...
Guessing Python include path...
/opt/local/include/python2.6
Checking for Python 2.5...
Guessing Python include path...
/opt/local/include/python2.5
Checking for Python 2.4...
Guessing Python include path...
/opt/local/include/python2.4
Checking for Java includes ... not found
Guessing Java include path...
/opt/local/include/java
Checking for Java executables ...
Checking headers and libraries
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... yes
Checking for C++ header file boost/serialization/split_member.hpp... 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... yes
Checking for C++ header file boost/program_options.hpp... yes
Checking for C library boost_program_options-gcc-mt... no
Checking for C library boost_program_options-mt... yes
Checking for C++ header file GL/gl.h... yes
Checking for C library GL... no
Checking for C library opengl32... no
Could not find one of these libraries: ['GL', 'opengl32']
Checking for C++ header file GL/glu.h... yes
Checking for C library GLU... no
Checking for C library glu32... no
Could not find one of these libraries: ['GLU', 'glu32']
Checking for C++ header file GL/glew.h... yes
Checking for C library GLEW... yes
Checking for C++ header file zlib.h... yes
Checking for C library zlib... no
Checking for C library zlib1... no
Checking for C library z... yes
Checking for C++ header file ft2build.h... yes
Checking for C library freetype6... no
Checking for C library freetype... 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 AL/al.h... no
Could not find one of these headers: ['AL/al.h']
Checking for C++ header file X11/Xcursor/Xcursor.h... yes
Checking for C library Xcursor... no
Could not find one of these libraries: ['Xcursor']
Checking for C++ header file X11/X.h... yes
Checking for C library X11... yes
Checking for C++ header file vorbis/vorbisfile.h... yes
Checking for C library vorbisfile... yes
Checking for C library vorbis... yes
Checking for C++ header file ogg/ogg.h... yes
Checking for C library ogg... yes
Checking for C++ header file SDL/SDL.h... yes
Checking for C library SDL... yes
Checking for C++ header file Python.h... yes
Checking for C library python2.6... yes
Checking for C++ header file jni.h... no
Could not find one of these headers: ['jni.h']
Not all tests finished succesfully. You are probably missing one of the
build dependencies. See config.log for details.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: using scons to install spring. but failing.. miserably

Post by lurker »

Are you on linux and the detection is wrong, as suggested by "help with installing spring on linux"? One topic is plenty, by the way.
redwyaster5
Posts: 20
Joined: 14 Jun 2009, 03:50

Re: using scons to install spring. but failing.. miserably

Post by redwyaster5 »

very sorry. no i am running it through terminal on mac osx. on my macbook pro 2.4 ghz Intel Core 2 Duo with 4gb of 800 mgz ram and a GeForce 8600M GT with 256 mb of ram
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: using scons to install spring. but failing.. miserably

Post by Auswaschbar »

You need to install the dependencies first, ofc. If you already have and it doesn't find them, use cmake instead.
redwyaster5
Posts: 20
Joined: 14 Jun 2009, 03:50

Re: using scons to install spring. but failing.. miserably

Post by redwyaster5 »

i was using cmake but i dont know what to do next after its been complied after usuing make it gives me a bunch of errors. this is with cmake
Updating bitmaps.sdz
Updating springcontent.sdz
Updating maphelper.sdz
Updating cursors.sdz
[ 0%] Built target gamedata
[ 0%] Building CXX object rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/e_acosf.cpp.o
i686-apple-darwin9-g++-4.0.1: against: No such file or directory
i686-apple-darwin9-g++-4.0.1: pandora/spring_0.79.1: No such file or directory
i686-apple-darwin9-g++-4.0.1: 2/rts/lib/streflop/libm/headers: No such file or directory
/Users/redwyaster5/Desktop/rise against pandora/spring_0.79.1 2/rts/lib/streflop/libm/flt-32/e_acosf.cpp:22:26: error: math_private.h: No such file or directory
/Users/redwyaster5/Desktop/rise against pandora/spring_0.79.1 2/rts/lib/streflop/libm/flt-32/e_acosf.cpp: In function ÔÇÿstreflop::Simple streflop_libm::__ieee754_acosf(streflop::Simple)ÔÇÖ:
/Users/redwyaster5/Desktop/rise against pandora/spring_0.79.1 2/rts/lib/streflop/libm/flt-32/e_acosf.cpp:53: error: ÔÇÿint32_tÔÇÖ was not declared in this scope
/Users/redwyaster5/Desktop/rise against pandora/spring_0.79.1 2/rts/lib/streflop/libm/flt-32/e_acosf.cpp:53: error: expected `;' before ÔÇÿhxÔÇÖ
/Users/redwyaster5/Desktop/rise against pandora/spring_0.79.1 2/rts/lib/streflop/libm/flt-32/e_acosf.cpp:54: error: ÔÇÿhxÔÇÖ was not declared in this scope
/Users/redwyaster5/Desktop/rise against pandora/spring_0.79.1 2/rts/lib/streflop/libm/flt-32/e_acosf.cpp:54: error: ÔÇÿGET_FLOAT_WORDÔÇÖ was not declared in this scope
/Users/redwyaster5/Desktop/rise against pandora/spring_0.79.1 2/rts/lib/streflop/libm/flt-32/e_acosf.cpp:55: error: ÔÇÿixÔÇÖ was not declared in this scope
/Users/redwyaster5/Desktop/rise against pandora/spring_0.79.1 2/rts/lib/streflop/libm/flt-32/e_acosf.cpp:78: error: expected `;' before ÔÇÿidfÔÇÖ
/Users/redwyaster5/Desktop/rise against pandora/spring_0.79.1 2/rts/lib/streflop/libm/flt-32/e_acosf.cpp:82: error: ÔÇÿidfÔÇÖ was not declared in this scope
/Users/redwyaster5/Desktop/rise against pandora/spring_0.79.1 2/rts/lib/streflop/libm/flt-32/e_acosf.cpp:83: error: ÔÇÿSET_FLOAT_WORDÔÇÖ was not declared in this scope
make[2]: *** [rts/lib/streflop/CMakeFiles/streflop.dir/libm/flt-32/e_acosf.cpp.o] Error 1
make[1]: *** [rts/lib/streflop/CMakeFiles/streflop.dir/all] Error 2
make: *** [all] Error 2
User avatar
thesleepless
Posts: 417
Joined: 24 Oct 2007, 04:49

Re: using scons to install spring. but failing.. miserably

Post by thesleepless »

looks like it's having trouble being in a directory with spaces in the name. move it elsewhere and try again.
redwyaster5
Posts: 20
Joined: 14 Jun 2009, 03:50

Re: using scons to install spring. but failing.. miserably

Post by redwyaster5 »

/Users/redwyaster5/Desktop/spring_0.79.1/rts/System/Util.cpp: In function ÔÇÿvoid proc::ExecCPUID(unsigned int*, unsigned int*, unsigned int*, unsigned int*)ÔÇÖ:
/Users/redwyaster5/Desktop/spring_0.79.1/rts/System/Util.cpp:13: error: can't find a register in class ÔÇÿBREGÔÇÖ while reloading ÔÇÿasmÔÇÖ
it stoped at 58%
redwyaster5
Posts: 20
Joined: 14 Jun 2009, 03:50

Re: using scons to install spring. but failing.. miserably

Post by redwyaster5 »

o and this
In file included from /Users/redwyaster5/Desktop/spring_0.79.1/rts/System/TdfParser.cpp:13:
/opt/local/include/boost/spirit/utility/confix.hpp:18:4: warning: #warning "This header is deprecated. Please use: boost/spirit/include/classic_confix.hpp"
In file included from /Users/redwyaster5/Desktop/spring_0.79.1/rts/System/TdfParser.cpp:14:
/opt/local/include/boost/spirit/core.hpp:18:4: warning: #warning "This header is deprecated. Please use: boost/spirit/include/classic_core.hpp"
In file included from /Users/redwyaster5/Desktop/spring_0.79.1/rts/System/TdfParser.cpp:15:
/opt/local/include/boost/spirit/symbols.hpp:18:4: warning: #warning "This header is deprecated. Please use: boost/spirit/include/classic_symbols.hpp"
In file included from /Users/redwyaster5/Desktop/spring_0.79.1/rts/System/TdfParser.cpp:16:
/opt/local/include/boost/spirit/attribute.hpp:18:4: warning: #warning "This header is deprecated. Please use: boost/spirit/include/classic_attribute.hpp"
In file included from /Users/redwyaster5/Desktop/spring_0.79.1/rts/System/TdfParser.cpp:17:
/opt/local/include/boost/spirit/dynamic.hpp:18:4: warning: #warning "This header is deprecated. Please use: boost/spirit/include/classic_dynamic.hpp"
In file included from /Users/redwyaster5/Desktop/spring_0.79.1/rts/System/TdfParser.cpp:18:
/opt/local/include/boost/spirit/phoenix.hpp:18:4: warning: #warning "This header is deprecated. Please use: boost/spirit/include/phoenix1.hpp"
In file included from /Users/redwyaster5/Desktop/spring_0.79.1/rts/System/TdfParser.cpp:19:
/opt/local/include/boost/spirit/utility/chset.hpp:18:4: warning: #warning "This header is deprecated. Please use: boost/spirit/include/classic_chset.hpp"
In file included from /Users/redwyaster5/Desktop/spring_0.79.1/rts/System/TdfParser.cpp:20:
/opt/local/include/boost/spirit/utility/lists.hpp:18:4: warning: #warning "This header is deprecated. Please use: boost/spirit/include/classic_lists.hpp"
In file included from /Users/redwyaster5/Desktop/spring_0.79.1/rts/System/TdfParser.cpp:21:
/opt/local/include/boost/spirit/iterator/file_iterator.hpp:18:4: warning: #warning "This header is deprecated. Please use: boost/spirit/include/classic_file_iterator.hpp"
In file included from /Users/redwyaster5/Desktop/spring_0.79.1/rts/System/TdfParser.cpp:22:
/opt/local/include/boost/spirit/utility/grammar_def.hpp:18:4: warning: #warning "This header is deprecated. Please use: boost/spirit/include/classic_grammar_def.hpp"
In file included from /Users/redwyaster5/Desktop/spring_0.79.1/rts/System/TdfParser.cpp:23:
/opt/local/include/boost/spirit/iterator/position_iterator.hpp:18:4: warning: #warning "This header is deprecated. Please use: boost/spirit/include/classic_position_iterator.hpp"
In file included from /Users/redwyaster5/Desktop/spring_0.79.1/rts/System/TdfParser.cpp:24:
/opt/local/include/boost/spirit/phoenix/binders.hpp:18:4: warning: #warning "This header is deprecated. Please use: boost/spirit/include/phoenix1_binders.hpp"
In file included from /Users/redwyaster5/Desktop/spring_0.79.1/rts/System/TdfParser.cpp:25:
/opt/local/include/boost/spirit/error_handling/exceptions.hpp:18:4: warning: #warning "This header is deprecated. Please use: boost/spirit/include/classic_exceptions.hpp"
redwyaster5
Posts: 20
Joined: 14 Jun 2009, 03:50

Re: using scons to install spring. but failing.. miserably

Post by redwyaster5 »

its been 2 days guys can i please get some help here? im lost and dont know how to get any further than i already am. i downloaded all the dependences. i used cmake,scons and xcode and none of them are working.
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: using scons to install spring. but failing.. miserably

Post by Auswaschbar »

You should contact revcompgeek as he tries to get spring worked on MAC.
redwyaster5
Posts: 20
Joined: 14 Jun 2009, 03:50

Re: using scons to install spring. but failing.. miserably

Post by redwyaster5 »

ok thank you
Post Reply

Return to “Mac OS X”