summaryrefslogtreecommitdiff
path: root/INSTALL.org
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-03-29 19:05:05 -0400
committerDavid Thompson <dthompson2@worcester.edu>2014-03-29 19:05:05 -0400
commita6083e04ae155dd42037323765130680f9bb2145 (patch)
tree3e7bf46ffe094b0e4d51be58363cae2e32093b86 /INSTALL.org
parent7193fd65b6b31492db3f8cd6418ef09db82067a8 (diff)
Add Gentoo installation instructions and fix Guile version.
Thanks to Arne Babenhauserheide <bab@draketo.de> * INSTALL.org: New instructions.
Diffstat (limited to 'INSTALL.org')
-rw-r--r--INSTALL.org38
1 files changed, 36 insertions, 2 deletions
diff --git a/INSTALL.org b/INSTALL.org
index d52276f..8b05e4c 100644
--- a/INSTALL.org
+++ b/INSTALL.org
@@ -19,7 +19,13 @@
#+END_SRC
This assumes that the version of Debian you are running has Guile
- 2.0.9.
+ 2.0.11.
+
+ *Gentoo*
+
+ #+BEGIN_SRC sh
+ sudo emerge ">=dev-scheme/guile-2.0.11"
+ #+END_SRC
Check the versions available to you with =sudo apt-cache show guile-2.0-dev=.
@@ -32,6 +38,12 @@
sudo apt-get install libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev
#+END_SRC
+ *Gentoo*
+
+ #+BEGIN_SRC sh
+ sudo emerge libsdl sdl-image sdl-mixer
+ #+END_SRC
+
*** Freeimage
Freeimage is to used to load textures. Make sure that your distro
@@ -43,6 +55,12 @@
sudo apt-get install libfreeimage-dev
#+END_SRC
+ *Gentoo*
+
+ #+BEGIN_SRC sh
+ sudo emerge freeimage
+ #+END_SRC
+
*** guile-sdl
guile-sdl is the GNU Guile wrapper for SDL.
@@ -84,7 +102,7 @@
Once the dependencies have been installed, installing guile-2d is
pretty straightforward.
- *Debian*
+ *GNU/Linux*
#+BEGIN_SRC sh
git clone https://github.com/davexunit/guile-2d.git
@@ -94,3 +112,19 @@
make
sudo make install
#+END_SRC
+
+*** Install to /usr/local
+
+ If you want to avoid installing to /usr, you can build like this:
+
+ #+BEGIN_SRC sh
+ ./configure
+ GUILE_LOAD_PATH=/usr/local/share/guile/site/2.0/:/usr/local/share/guile/site/ make
+ sudo make install
+ #+END_SRC
+
+ Then use the same call to run guile:
+
+ #+BEGIN_SRC
+ GUILE_LOAD_PATH=/usr/local/share/guile/site/2.0/:/usr/local/share/guile/site/ guile
+ #+END_SRC