Views

Actions

Document Actions

Build tools

Most of the external libraries used to build Pd can be installed very
easily via Fink. If you don't already have Fink installed, here are the download instructions. The below commands install all of the needed libraries for the various parts of Pd.

For Pd-extended, you need a lot of packages. If you want to try to install binaries and save the time it takes to compile everything, replace the command fink with apt-get. Not all packages are available in binary format, so you'll have to use fink to compile those. You can install these from the stable binary distro:

These packages need to be installed from the "unstable" Fink distro. To use these packages also, then you need to configure your Fink install to use the "unstable" distro (which has been quite stable for me). The Fink FAQ, question 5.8 tells you how.

It is a good idea to try installing all of the dependencies from stable, then switch to unstable for the rest. If an unstable package adds more dependencies, then I switch back to stable and try building them all there, then switch back to unstable to finish everything. It may sound complicated, but it is not really. It is just some copy-n-pasting of package names, and running fink configure a few times.

These are dependencies that aren't required for the automatic builds as of now, but there are some libraries in SVN that use them. They can be a pain to build, so they are optional.

flite
liblo0
ladspa-cmt
flac
graphviz
fftw

Frameworks

Apple Developer tools

You will need to install the Apple Developer's Tools
to get the Apple compiler and tools. It comes with the Mac OS X CDs or you
can download it from Apple. Make sure that you also have X11User.pkg and X11SDK.pkg installed.

You need the Tcl/Tk frameworks in order to build Pd. Currently, there aren't regular releases of Tcl/Tk for Mac, but it is easy to build from source. To download the version used for Pd-extended, use these rsync instructions. First, rsync pd-extended, then rsync tcltk_core-8-4-branch into the same folder, then run these commands:

Pd-extended uses Jack on Mac OS X also. I have not used it beyond very basic testing, but it has been reported to work. It does compile fine. This is the version I used: JackOSX.0.76.pkg.zip Its an installer, once its downloaded, just run the installer.

Building

If you are running Mac OS X 10.4 Tiger or newer, this is not technically necessary since Tcl/Tk 8.4.7 is included. But there are lots of advantages to running the newer versions of Tcl/Tk

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.