Page 1 of 1
How to compile SPRING in Ubuntu 8.10 Intrepid?
Posted: 01 Oct 2008, 03:21
by keen101
I'd like to try out the TA SPRING gaming engine. Unfortunately there does not seem to be a package for intrepid yet.
I set out to compile it from source, and followed the directions on this page. (i think i should have all the dependencies now)
http://spring.clan-sy.com/wiki/Build_from_source
But, when i went to compile it, i cannot find a make file. How am i supposed to get it compiled?
There is an /installer folder though. It contains these files which might be what I'm looking for:
make_gamedata_arch.sh
make_luaui_nsh.py
make_test_installer.sh
make_source_package.sh
any advice?
Re: How to compile SPRING in Ubuntu 8.10 Intrepid?
Posted: 01 Oct 2008, 04:00
by keen101
We'll i tried the scons commands. I've never used scons before.
Anyway, it seems to work, but now i get this error:
Code: Select all
g++ -o build/rts/System/AutohostInterface.o -c -fsingle-precision-constant -frounding-math -fsignaling-nans -mieee-fp -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -mfpmath=387 -pthread -fsingle-precision-constant -frounding-math -fsignaling-nans -mieee-fp -O2 -pipe -fno-strict-aliasing -fvisibility=hidden -mfpmath=387 -pthread -D_SZ_ONE_DIRECTORY -D_GNU_SOURCE=1 -D_REENTRANT -DSTREFLOP_X87 -DSYNCCHECK -DNO_AVI -DDIRECT_CONTROL_ALLOWED -Irts -Irts/System -Irts/lib/luabind -Irts/lib/lua/include -I/usr/include -I/usr/include/GL -I/usr/include/freetype2 -I/usr/include/SDL -I/usr/include/ogg -I/usr/include/vorbis -I/usr/include/python2.5 -I/usr/include/python2.4 -I/usr/lib/jvm/java-6-sun/include -I/usr/lib/jvm/java-6-sun/include/linux rts/System/AutohostInterface.cpp
rts/System/AutohostInterface.cpp: In member function 'void AutohostInterface::SendPlayerJoined(unsigned char, const std::string&) const':
rts/System/AutohostInterface.cpp:81: error: 'strncpy' was not declared in this scope
rts/System/AutohostInterface.cpp: In member function 'void AutohostInterface::SendPlayerChat(unsigned char, const std::string&) const':
rts/System/AutohostInterface.cpp:104: error: 'strncpy' was not declared in this scope
scons: *** [build/rts/System/AutohostInterface.o] Error 1
scons: building terminated because of errors.
scons: *** [build/rts/System/AutohostInterface.o] Error 1
how do i solve this problem? The file seems to be missing.
seems to be the same problem here:
viewtopic.php?f=20&t=15604
Re: How to compile SPRING in Ubuntu 8.10 Intrepid?
Posted: 01 Oct 2008, 06:08
by keen101
We'll while i haven't figured out the weird compile problem, i have found a workaround. I have manually installed the .deb files provided for ubuntu hardy heron. The program seems to run fine.
I manually downloaded them from here:
https://edge.launchpad.net/~spring/+archive
Re: How to compile SPRING in Ubuntu 8.10 Intrepid?
Posted: 01 Oct 2008, 09:41
by Monkwarrior
Thanks for your effort keen.
Would you care to elaborate on it a bit more ?
Just mention roughly your steps here ?
Thanks, Monk.
Re: How to compile SPRING in Ubuntu 8.10 Intrepid?
Posted: 02 Oct 2008, 04:21
by keen101
sure, i can try.
I installed the following packages (not in order)
spring-maps-default
spring-engine
spring-lobby-springlobby
spring
http://launchpadlibrarian.net/18123476/ ... 1_i386.deb
http://launchpadlibrarian.net/13145372/ ... u1_all.deb
http://launchpadlibrarian.net/17775890/ ... _i386.deb
http://launchpadlibrarian.net/17775889/ ... _i386.deb
There might have been more. All except one was on the launchapd page i linked to. I had to google that dependency, and get the deb package for that.
Everything seemed to install and run fine. Unfortunately It always freezes when it starts to generate trees. I don't know if thats a problem on my system specifically, or intrepid in general.
Re: How to compile SPRING in Ubuntu 8.10 Intrepid?
Posted: 04 Oct 2008, 23:20
by Monkwarrior
Thanks, I'll try to use some of it to install PURE on deb-based distro's.
Monk.