Building and Installing Fluxus on Ubuntu 10.04 (Lucid Lynx)
Just like my previous 9.10 guide, Heres another to get JACK working together in Ubuntu 10.04 (Lucid Lynx).
Unlike my previous guide, I've opted to use checkinstall so you can uninstall packages as easy as dpkg -r plt-scheme fluxus
I've decided to put everything Fluxus related in a Fluxus folder in my home directory. This is completely optional.
mkdir ~/Fluxus cd ~/Fluxus
Downloads
Here are all the downloads you're going to need to do. I'm not 100% sure I've got all of the Fluxus dependencies as I think I had some pre-installed from another build. If you find I have missed some, Your best bet is installing the -dev package with the highest number.
# Basic dependencies sudo apt-get install build-essential git-core checkinstall # Scheme Dependencies sudo apt-get install libxaw7-dev # Fluxus Dependencies. sudo apt-get install scons libtiff4-dev libode-dev libfftw3-dev libsndfile1-dev liblo0-dev libglew1.5-dev libfreetype6-dev libasound2-dev libglut3-dev libopenal-dev libjack-dev libpng12-dev qjackctl # Fluxus-video dependencies. sudo apt-get install libgstreamer0.10-dev libgstreamer0.10-dev libunicap2-dev libavformat-dev libswscale-dev # Scheme Source. Note: 4.2.5 segfaults when compiling wget http://download.plt-scheme.org/bundles/4.2.2/plt/plt-4.2.2-src-unix.tgz # Fluxus Source git clone git://git.savannah.nongnu.org/fluxus.git
Building PLT Scheme
Building plt-scheme is pretty brainless. Expect to wait a while as make-install takes an age and a half.
tar xzf plt-4.2.2-src-unix.tgz cd ~/Fluxus/plt-4.2.2/src ./configure --prefix=/usr/local --enable-shared make sudo checkinstall # I entered the following: # 0 - Maintainer: [ xin@sync-signal.com ] # 1 - Summary: [ PLT scheme compiled with shared libraries ] # 2 - Name: [ plt-scheme ] # 3 - Version: [ 4.2.2 ] # 4 - Release: [ 1 ] # 5 - License: [ GPL ] # 6 - Group: [ checkinstall ] # 7 - Architecture: [ amd64 ] # 8 - Source location: [ src ] # 9 - Alternate source location: [ ] # 10 - Requires: [ libxaw7 ] # 11 - Provides: [ mzscheme ]
Building Fluxus
cd ~/Fluxus/fluxus scons sudo checkinstall scons install # Don't forget to set a version.
Configuring JACK
See my guide on Configuring JACK and PulseAudio on Ubuntu 9.10.
Final Test
To test Fluxus type the following into the REPL:
(start-audio "system:capture_1" 512 44100) (gh 0)
If the result is anything other than zero you're set. If not, you may have to play with the input source in JACK, or as the case was with me, plug the microphone into the right port.
August 10th, 2010 - 15:37
How do I set a version when I run the sudo checkinstall scons install command?