From a6083e04ae155dd42037323765130680f9bb2145 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sat, 29 Mar 2014 19:05:05 -0400 Subject: Add Gentoo installation instructions and fix Guile version. Thanks to Arne Babenhauserheide * INSTALL.org: New instructions. --- INSTALL.org | 38 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) (limited to 'INSTALL.org') 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 -- cgit v1.2.3