Views
Building for GNU/Linux using Debian/Ubuntu/Mint/etc.
First you will need to make sure that you have all of the standard development tools installed. To do that, run this command in your Terminal:
sudo apt-get build-dep puredata gem pdp
Extra Required Packages
All of these packages are used in the compilation of Pd-extended on Debian Sarge/stable. All of them come from the standard Debian repositories except those marked. The easiest way to install all of these is to copy and paste the list of packages on a line starting with apt-get install.
This is all that is needed to compile Pd-extended:
sudo apt-get install fakeroot ttf-dejavu libfftw3-dev libspeex-dev libvorbis-dev libflac-dev libsndfile1-dev libsamplerate0-dev libgavl-dev libmad0-dev dssi-dev liblo-dev flite1-dev libtk-img tcllib swig tcl8.5-dev tk8.5-dev liblua5.1-0-dev subversion git rsync
LAME is a free library that provides mp3 support. If you are running Ubuntu or Mint, this is the last package you need to install. You can install it like this:
sudo apt-get install libmp3lame-dev
libmp3lame-dev was not added to Debian until Debian/wheezy. You can get it for Debian/squeeze from backports. Once you have added backports to your /etc/apt/sources.list, you can install it by doing
sudo apt-get -t squeeze-backports install libmp3lame-dev
If that fails, then you need to add an external repository. The mp3 format is patented ( No Software Patents!) in the U.S.A., Germany, and maybe other countries, so Debian could not include LAME. Some of the patents recently expired. You can get LAME packages from the debian-multimedia .org repository. If you live in a country where these patents apply, you need to make sure you have a license for the patented software, or only use this software for research purposes. You can add this to your /etc/apt/sources.list using a text editor or using synaptics.
deb http://www.debian-multimedia.org stable main
Note that it's not easy to build pd without mp3 support, so installing these packages is recommended even if you don't plan on using it.
Gridflow
For building gridflow, you will need :
ruby1.9-dev ruby1.9 libx11-dev libpng12-dev libmpeg3-dev libquicktime-dev libjpeg62-dev xlibs-dev
You should use the version from the gridflow.ca CVS repository. Download it in a new directory as it is not self-contained. Type ./configure; make;. Then, you will need to manually copy the directory to anywhere you want it to be installed. Let say /usr/local/lib/pd/extra/gridflow.
Conflicting Packages
Note that oss4-dev seems to break builds on Debian systems. You can uninstall it with
sudo apt-get remove oss4-dev
Building Pd and/or Pd-extended
Before you start building, you will of course need to get the source code. There are multiple ways of getting it, check out GettingPdSource for the options. Then move on to BuildingPd or BuildingPdExtended, depending on what you want to build.
Autobuilders
The Debian autobuilders are servers which automatically build all of the Debian packages. The Pd sources must be properly setup in order for this to work.