Endless Sky (silly howto)

Romick yellowrabbit2010 at gmail.com
Fri Sep 18 05:05:34 PDT 2015


How to install a space exploration game Endless Sky on DragoFly BSD.

* install the required packagesi (this for me, you may need a couple more):
nasm
scons
sdl2
png
libGL
glew
openal-soft

* create two directories for source and libs:
mkdir ~/src ~/local

* save the attached file to a ~/src directory;
* build libjpeg-turbo:
cd ~/src
wget -O libjpeg-turbo.tar.gz 'http://sourceforge.net/projects/libjpeg-turbo/files/latest/download?source=files'
tar zxf libjpeg-turbo.tar.gz
cd libjpeg-turbo-1.4.1
cat ~/src/patch-configure | patch -p1
mkdir build
cd build
sh ../configure --prefix=${HOME}/local
make
make install

* build Endless Sky
cd ~/src
git clone https://github.com/endless-sky/endless-sky.git
cd endless-sky
env CCVER=gcc50 CXXFLAGS="-I ${HOME}/local/include -I/usr/local/include" LDFLAGS="-L${HOME}/local/lib -L/usr/local/lib" scons

* play
cd ~/src
./endless-sky



-- 
  with best reagrds, Yellow Rabbit
  DragonFly 4.3-DEVELOPMENT x86_64
-------------- next part --------------
--- configure.orig	2014-03-21 20:46:31.000000000 +0000
+++ configure
@@ -22858,7 +22858,7 @@ case "$host_os" in
   linux*aout*)
     objfmt='a.out'
   ;;
-  linux*)
+  dragonfly* | linux*)
     case "$host_cpu" in
       x86_64)
         objfmt='ELF64'
@@ -23060,7 +23060,7 @@ case "$host_os" in
   linux*aout*)
     objfmt='a.out'
   ;;
-  linux*)
+  dragonfly* | linux*)
     case "$host_cpu" in
       x86_64)
         objfmt='ELF64'


More information about the Users mailing list