Hi Fernando At 11:26 AM 29/09/2003, Fernando Pablo Lopez-Lezcano wrote:
Current devel_0_37 (is this the branch to get?) does not build on linux, it fails while trying to compile the portaudio stuff:
cc -DPD -DUNIX -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -O6 -funroll-loops -fomit-frame-pointer -DDL_OPEN -DUSEAPI_PORTAUDIO -DPA_USE_OSS -DPA_LITTLE_ENDIAN -DUSEAPI_OSS -I../portaudio/pa_common -I../portaudio/pablio -I../portaudio/portmidi-macosx -DPA_USE_ALSA -DUSEAPI_ALSA -DUSEAPI_JACK -DJACK_XRUN -DINSTALL_PREFIX="/usr/local" -I. -c -o ../obj/../portaudio/pa_common/pa_allocation.o ../portaudio/pa_common/pa_allocation.c In file included from ../portaudio/pa_common/pa_allocation.c:34: ../portaudio/pa_common/pa_util.h:59: parse error before "PaHostApiTypeId" ../portaudio/pa_common/pa_util.h:59: warning: function declaration isn't a prototype ../portaudio/pa_common/pa_util.h:72: parse error before '*' token ../portaudio/pa_common/pa_util.h:73: warning: function declaration isn't a prototype ../portaudio/pa_common/pa_util.h:92: parse error before "hostApiType" ../portaudio/pa_common/pa_util.h:93: warning: function declaration isn't a prototype make: *** [../portaudio/pa_common/pa_allocation.o] Error 1
There does not seem to be any way of turning off portaudio in configure :-( I looked around and it seemed like the missing stuff was only defined for windows.
I can get the "official" 0.37 version to build with a couple of patches that were posted to the list. But I can't get it to work with jack with buffer sizes < 512 (it keeps printing "Partial read" error messages). I found a thread in the list about this but "#define JACK_OUT_MAX 64" is there (instead of 512) and it does not make any difference for me... Any help appreciated.
I have successfully used PD with JACK at a buffer size of 64 with no problems. I also posted a patch to the list to fix a jack client close bug, which I recommend be included in the package.
Luke
Luke Yelavich AudioSlack Founder and main package maintainer Audio software packaged for the Slackware Linux Distribution http://www.audioslack.com luke@audioslack.com