pd-extended 0.39.3 on the Alix Board

logo_berebe

Here you find quick and dirty instructions on installing Debian and pd-extended on the excelent Alix-Board. Gem, pdp, pidip and flext will be left out to minimize install size.

  1. Install Debian GNU/Linux onto a cf according to this guide:
    http://peter.wm.sk/p/?p=20
    Go with lenny release instead of sid and explicitely specify the keyring
    while debootstrapping:

    debootstrap --arch i386 \
     --keyring=/usr/share/keyrings/debian-archive-keyring.gpg \
     lenny /mnt http://mirror.switch.ch/ftp/mirror/debian
    
  2. Chroot into the newly created (and tested) cf
    chroot /mnt /bin/bash
  3. Create and change to our source directory
    mkdir -p /usr/local/src
    cd /usr/local/src
    
  4. Install stuff for compiling pd
    aptitude install build-essential subversion autoconf automake libogg-dev \
    libvorbis-dev libvorbisenc2 libvorbisfile3 ladspa-sdk libspeex-dev \
    tk tcl tk-dev tcl-dev
    
  5. Download and install lame http://lame.sourceforge.net/
    wget http://downloads.sourceforge.net/lame/lame-3.97.tar.gz
    tar xzf lame-3.97.tar.gz
    (cd lame-3.97 && ./configure && make && make install)
    
  6. Install ALSA-stuff (optional)
    aptitude install libasound2 libasound2-dev
    
  7. Install Jack (optional)
    aptitudo install jackd libjack0 libjackd-dev
    
  8. Download Pd Extended Source
    wget http://downloads.sourceforge.net/pure-data/Pd-0.39.3-extended.tar.bz2
    

    See http://puredata.info/downloads for other releases.

  9. Download and apply patches for pd-extended.
    svn co http://znerol.ch/svn/k2o-data/pd-extended
    cat pd-extended/*.diff | patch -p1 -d Pd-0.39.3-extended
    
  10. Build and install pd extended
    make -C Pd-0.39.3-extended/packages
    # somehow pd-extended screws up the path to pd-gui and friends. let's install
    # the extensions and docs first ...
    make -C Pd-0.39.3-extended/packages extended_install DESTDIR=/usr/local
    # ... and the pd binary afterwards
    make -C Pd-0.39.3-extended/pd/src install

Exit the chroot, unmount the cf and start your Alix. You now may run pd with x-forwarding like this:

ssh -X -lroot  pd