= Building Pd-extended 0.42.5 on Debian Wheezy amd64 =
UPDATE: Currently (29 June 2011) '''this is broken''' :(
'''!!''':This has not been thoroughly tested. Last update 29 June 2011
'''Credits''': This method is based on the instructions found on the [[../Debian]] page and the use of pd-extended-auto-builder.sh (see [[../AutoBuildScripts]])
== (Adding the Debian multimedia repository) ==
Use the instructions provided on the [http://debian-multimedia.org/|Debian multimedia repository] page.
This is needed for the lame mp3 library. Once added update sources.
'''NOTE''': adding the "Debian Multimedia" repository is known to cause troubles with Debian systems,
and Debian maintainers usually refuse to give any support once they find out that you are using it.
Luckily, the lame mp3 lame library is now in official debian (starting with "wheezy"), and you can get it ofr "squeeze" as well,
by using the official [http://backports.debian.org/|Debian backports] (follow instructions on that page. Once added update sources).
== Installing the needed packages ==
Install the build dependencies for the puredata,gem and pd-pdp packages (notice "pd-pdp" not pdp):
UPDATE: Currently (29 June 2011) pd-pdp is not present in wheezy! (See below for guessed dependencies)
UPDATE: As of 8 September 2011, pd-pdp is again present in wheezy!
apt-get build-dep puredata gem pd-pdp
Install the following packages (updated 29 June 2011 considering the previous missing ones! Many will already be pulled by gem):
NOTE: Although this was tested on a fairly 'clean' system it may vary largely from system to system.
apt-get install libmp3lame0 libmp3lame-dev ladspa-sdk dssi-dev libimlib2-dev libtheora-dev \
rsync tcl8.5 tcl8.5-dev tk8.5 tk8.5-dev libglu1-mesa libglu1-mesa-dev libv4l-0 libv4l-dev \
libmagic-dev libmpeg3-1 libmpeg3-dev libquicktime2 libquicktime-dev libavifile-0.7c2 libavifile-0.7-dev \
libfreetype6 libfreetype6-dev libjpeg62 libjpeg62-dev libtiff4 libtiff4-dev \
=== Installing libquicktime ===
Libquicktime is needed for pidip to build properly, but it seems the lqt-config is not included in the packages proposed by the multimedia repository, so you have to install it manually from the main repositories. You can fetch the debs here:
== Get the sources and prepare to build ==
Get the source code package for [http://puredata.info/downloads/pd-extended/| Pd-extended]
Unpack in some directory and cd to that directory (from now on the "source root").
(29 June 2011): pdp and thus pidip ''''not working'''
From the source root:
=== Build pidip ===
Configure with the following switches and make pidip directly (for some reason the autobuild script failed when it got to pidip):
./configure --with-pd=../../pd --with-pdp=../pdp
== Start the autobuild script ==
Cd to the scripts/auto-build/ directory from the source root:
Start the script
Wait... Cross fingers... Ignore some scary messages and errors (be brave!)...
== Install the .deb package ==
If everything went well there should be a message saying you have a .deb in dir ./packages/linux_make/Pd-0.42.5-extended.deb (stil the source root):
Finally as root install the .deb:
dpkg -i Pd-0.42.5-extended.deb