<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks - That's a great help - I'd given up on debian squezz with my
lack of time - <br>
<br>
will try your script ! <br>
<br>
<br>
On 18/04/12 11:51 AM, Marco Bertocco wrote:
<blockquote
 cite="mid:CAKb3r0PqAfN1t1Fwqo9eSfqeyVcs_JeNQr5RrVTu6trEORBe0g@mail.gmail.com"
 type="cite">Hi to all,<br>
  <br>
after a while, I got Fluxus running on debian squeeze (both 32 and 64
bits).<br>
  <br>
I had to dig some search engines and to deal with some shell errors, so
I wrote down a little bash script to manage Fluxus installations on
clean Debian (It should work under ubuntu too)<br>
  <br>
Hope this script may be useful to someone, at least as step-by-step
instructions for Debian 6.<br>
  <br>
  <u>Please note: I'm a web designer, not a programmer, so before
running this script anyone should look at the code very well cause [I
think] it's very rough shellcode</u><br>
  <br>
---------- BEGIN OF SCRIPT<br>
#!/bin/bash<br>
#    <br>
#    Fluxus installer for debian squeeze<br>
#    <br>
#    Author: Marco Bertocco - <a moz-do-not-send="true"
 href="http://bquery.com" target="_blank">http://bquery.com</a><br>
#    This script is distributed under the terms of GNU General Public
Licence v.3<br>
#    The full licence text is available at <a moz-do-not-send="true"
 href="http://www.gnu.org/licenses/gpl.html" target="_blank">http://www.gnu.org/licenses/gpl.html</a><br>
#    <br>
#    This program is free software: you can redistribute it and/or
modify<br>
#    it under the terms of the GNU General Public License as published
by<br>
#    the Free Software Foundation, either version 3 of the License, or<br>
#    (at your option) any later version.<br>
#    <br>
#    This program is distributed in the hope that it will be useful,<br>
#    but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the<br>
#    GNU General Public License for more details.<br>
#    <br>
#    You should have received a copy of the GNU General Public License<br>
#    along with this program.  If not, see <<a moz-do-not-send="true"
 href="http://www.gnu.org/licenses/" target="_blank">http://www.gnu.org/licenses/</a>>.<br>
#    <br>
#    Latest revision of this script: 18 Apr 2012.<br>
#    If you get errors running this script, please look for workarounds
and fixes in the code comments <br>
#    <br>
#    <br>
#    You MUST run this script as root, as default debian users are not
sudoers<br>
#    <br>
#    <br>
#    <br>
#    <br>
#    <br>
#<br>
BUILD_DIR=$(pwd)<br>
  <br>
# Remove previous sources of racket<br>
rm racket-5.1.1-src-unix.tgz<br>
rm -r racket-5.1.1<br>
#<br>
# Download and install racket 5.1.11 from sources<br>
# Later versions of racket could work, but I have not tested yet.<br>
# If you can run fluxus building later versions of racket, please let
me know.<br>
wget <a moz-do-not-send="true"
 href="http://download.racket-lang.org/installers/5.1.1/racket/racket-5.1.1-src-unix.tgz"
 target="_blank">http://download.racket-lang.org/installers/5.1.1/racket/racket-5.1.1-src-unix.tgz</a><br>
tar -xvf racket-5.1.1-src-unix.tgz<br>
cd $BUILD_DIR/racket-5.1.1/src<br>
mkdir build<br>
cd build<br>
  <br>
# Configure racket to compile shared libraries and install them under
/usr/local/lib<br>
./configure --prefix=/usr/local --enable-shared<br>
make<br>
make install<br>
  <br>
#return into the build directory<br>
cd $BUILD_DIR<br>
  <br>
# Remove previous sources of fluxus<br>
rm -r fluxus<br>
# Download latest fluxus from git [development repository: this is
necessary due to the transition from scheme to racket]<br>
# Also this address should work: git://<a moz-do-not-send="true"
 href="http://git.sv.gnu.org/fluxus.git" target="_blank">git.sv.gnu.org/fluxus.git</a><br>
git clone git://<a moz-do-not-send="true"
 href="http://git.savannah.nongnu.org/fluxus.git" target="_blank">git.savannah.nongnu.org/fluxus.git</a><br>
  <br>
# Be sure to have all dependencies installed<br>
# Notice that some other packages will be installed as dependencies<br>
# ode<br>
# racket<br>
# fftw<br>
# jack<br>
# libsndfile<br>
# liblo<br>
# glew<br>
# libfreetype<br>
# libasound<br>
# scons<br>
apt-get install libode-dev libfftw3-dev libjack-jackd2-dev
libsndfile1-dev liblo-dev libglew1.5-dev libfreetype6-dev
libasound2-dev libopenal-dev libglut3-dev scons<br>
  <br>
# Configure and install fluxus<br>
cd $BUILD_DIR/fluxus<br>
scons<br>
scons install<br>
  <br>
# If you didn't get errors at this point, all the stuff should be
installed<br>
# Now you can simply run "fluxus" and have [a lot of] fun.<br>
echo "Please be sure to have the path /usr/local/lib in you ldconfigs"<br>
echo "If you get a \"shared object not found\" error then you should
put this line:"<br>
echo "/usr/local/lib"<br>
echo "in a file under /etc/ldconfig.so.conf.d/"<br>
echo "and then run ldconfig as root."<br>
echo ""<br>
echo "Thank you for using this script."<br>
echo "If you would like to contribute, extend or suggest something,
feel free to contact me at this mail address:"<br>
echo "info [at] bquery [dot] com"<br>
---------- END OF SCRIPT<br>
  <br>
  <br>
Maybe I forgot to apt-get install some development package (I have most
of X11, mesa and openGL development packages already installed due to
graphics cards proprietary drivers previous installations), if you
notice please let me know.<br>
  <br>
finally, I would like to say that I have no words to express my
appreciation for this project and the author's choice to put it under
our beloved GPL licence.<br>
  <br>
I knew of fluxus a couple of days ago and I'm just... totally addicted.<br>
  <br>
Thank you!<br>
  <br clear="all">
  <br>
-- <br>
  <img moz-do-not-send="true" src="http://bquery.com/favicon.png"><br>
Marco Bertocco<br>
  <a moz-do-not-send="true" href="http://bquery.com" target="_blank">http://bquery.com</a><br>
  <br>
</blockquote>
<br>
</body>
</html>