[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dragonfly-users
Subject:    Endless Sky (silly howto)
From:       Romick <yellowrabbit2010 () gmail ! com>
Date:       2015-09-18 12:05:34
Message-ID: 20150918120534.GA44448 () fly ! home ! net
[Download RAW message or body]

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



--- 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'


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic