[PD] compile pd-0.45-5 on Linux with autogen.sh

David Medine via Pd-list pd-list at lists.iem.at
Tue Jun 24 21:14:30 CEST 2014

It looks like you might be missing some libraries, specifically alsa and 
tcl/tk. Does mint use apt-get for packages or is it yum? I have no idea. 
Either way, use your package manager to download and install the proper 

 > sudo yum install tcl tk

does it on distros using yum.

Looking at the output of the .autogen.sh it appears that autogen is 
choosing portaudio and portmidi to host audio and midi. The makefile.gnu 
wants alsa and oss by default. This is a little funny because it seems 
like mint would ship with alsa. Again, I don't know about  mint. Alsa 
could be there, but in an unusual directory. You may have to set your 
system's environment variables to include whichever director alsa lives 
in. I think the variable is C_INCLUDE_PATH, but don't hold me to that. 

 > pkg-config --cflags alsa

should tell you where alsa is. On my computer it is in /usr/local/lib.

Also, if you want to build with jack, hit

 > make JACK=true -f makefile.gnu

Again, jack must be installed and somewhere your c compiler knows about.

Good luck!

On 06/24/2014 10:15 AM, Max via Pd-list wrote:
> Hash: SHA1
> On 06/24/2014 07:01 PM, Miller Puckette wrote:
>> HI all -
>> I'm not sure, but the output your'e getting might mean that the
>> thing succeeded.
> Indeed, following ./configure and make there is a binary in the
> directory src (sic!) but with two issues: 1. It failed to detect Jack,
> and 2. when I run this i get the following
> disabling real-time priority due to missing pd-watchdog
> (/home/pd-0.45-5/src/bin/pd-watchdog)
> Error in startup script: couldn't read file
> "/home/pd-0.45-5/src/tcl//pd-gui.tcl": no such file or directory
>> (Anyhow, to build Pd you also have the option to do something far
>> simpler: cd to pd/src and make -f makefile.gnu)
> okay, I'm not lucky there either:
> make -f makefile.gnu
> - -DINSTALL_PREFIX=\"/usr/local\" -Wall -W -Wstrict-prototypes
> - -Wno-unused -Wno-unused-parameter -Wno-parentheses -Wno-switch
> - -DUSEAPI_ALSA -DUSEAPI_OSS -O3 -ffast-math -funroll-loops
> - -fomit-frame-pointer -fno-strict-aliasing   -c -o
> ../obj/s_audio_alsa.o s_audio_alsa.c
> s_audio_alsa.c:11:28: fatal error: alsa/asoundlib.h: No such file or
> directory
>   #include <alsa/asoundlib.h>
>                              ^
> compilation terminated.
> make: *** [s_audio_alsa.o] Error 1
> Cheers
> Max
>> cheers Miller
>> On Tue, Jun 24, 2014 at 03:50:09PM +0200, Max via Pd-list wrote: Hi
>> list,
>> trying to use the autogen.sh on Linux Mint 17, I get this:
>> ./autogen.sh autoreconf: Entering directory `.'
> (....)
> Version: GnuPG v1
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
> hDwAn1qw3AvSECQetHfkBJWPSoSpXfHT
> =zK6y
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list

More information about the Pd-list mailing list