Page 1 of 1

Is the svn broken or is it me ..?

Posted: 01 Sep 2006, 23:16
by genblood
I tried to build TASpring on another Gentoo box ... I got this error
message ...


Checking header files
Checking for C header file zlib.h... yes
Checking for C header file ft2build.h... yes
Checking for C header file SDL/SDL.h... no
Checking for C header file SDL11/SDL.h... no
LibSDL headers are required for this program

!!! ERROR: games-strategy/taspring-linux-svn-0.72-r2 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
taspring-linux-svn-0.72-r2.ebuild, line 67: Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! This ebuild is from an overlay: '/usr/local/portage'


If someone knows of a fix .. post it ..

Posted: 01 Sep 2006, 23:20
by hollowsoul
:?

Got time to burn.
So guess i emerge latest svn & see if its svn / sdl header problem

Posted: 01 Sep 2006, 23:27
by hollowsoul
:roll:
SVN = Fine atleast for configuring compiling away atm.

Type

Code: Select all

emerge -Dua libsdl
Ebuild doesnt have sdl in its depend list.

Posted: 02 Sep 2006, 01:43
by genblood
Thanks for the help ...

I got it to compile ...

Now, I have another issue ...

using read-write data directory: /home/XXXXXXX/.spring/
using read-only data directory: /usr/share/games/taspring-linux-svn/
using read-only data directory: /usr/share/games/taspring-linux-svn/
using read-only data directory: /usr/share/games/taspring-linux-svn/
using read-only data directory: /var/tmp/portage/taspring-linux-svn-0.72-r2/image///usr/share/games/taspring-linux-svn/
Warning: ERROR
Could not set video mode

Now I need to set the video mode ... If you know of a fix
can you post it ...

Thanks ...

Posted: 02 Sep 2006, 02:34
by hollowsoul
Try a lower resolution if u have changed the resolution via spring-gui or by editing ~/.springrc.

Only thing i can think of. Believe u cant set a higher resolution than what xorg is at.

Posted: 02 Sep 2006, 04:14
by genblood
I looked at the /.springrc file. It's empty ... what should be in it ?

Most likely thats why it isn't working right .... :?

Can someone post what should be in it ...

Posted: 02 Sep 2006, 11:26
by Tobi
Use e.g.

Code: Select all

XResolution=1024
YResolution=768
for setting the resolution.

Posted: 02 Sep 2006, 12:19
by own3d
My settings are pritty much all at max but never mind you can change them in spring-gui:


my .springrc file

Code: Select all

TreeRadius=1408
Fullscreen=1
FSAALevel=16
MaxSounds=16
TeamNanoSpray=0
GroundDecals=3
VerboseLevel=0
GroundDetail=120
ReflectiveWater=3

ShowPlayerInfo=1
ShowClock=1
AdvUnitShading=1
SpringData=/path/to/datadir/
GrassDetail=10
SoundVolume=60
MaxParticles=5000
Shadows=0
FSAA=0
AdvSky=1
UnitIconDist=600
CatchAIExceptions=1
DynamicSky=1
name=player
XResolution=1024
YResolution=768

Posted: 02 Sep 2006, 13:24
by hollowsoul
U wont need to define datadir. Since u are using gentoo ebuild. It defines datadir via /etc/spring/datadir

Posted: 02 Sep 2006, 16:04
by pheldens
this is the correct svn url https://taspring.clan-sy.com/svn/spring

Posted: 02 Sep 2006, 20:41
by Icebird
is your video driver correctly setup ?

or : does glxgears work ?

Posted: 03 Sep 2006, 01:07
by genblood
Icebird

The glxgears works ... most likely it's me ... :shock:


Going to rebiuld the complete system ...