Portaudio question

I keep getting the configure error in 1.3.4:
configure: WARNING: “Missing support in portaudio.h”
configure: error: “Your version of portaudio does not include required functions”
configure: error: ./configure failed for lib-src/portmixer
===> Script “configure” failed unexpectedly.

Does audacity use the version of portaudio that comes with the package or the system portaudio?

Audacity uses the version of portaudio in the audacity source tarball, because it has the patch file (lib-src/portmixer/portaudio.patch) applied in order to make certain bits of the internals of portaudio available to portmixer, in order to be able to control the sound card’s mixer and set input volumes etc.

I would strongly suggest getting the current CVS HEAD code which includes a newer portaudio snapshot which fixes a number of known bugs in the one used for the 1.3.4 release.

Is there a place to download a cvs snapshot? I’m trying to port audacity-devel on freebsd, but 1.3.4 will not compile due to a portaudio issue.

Not in general, but there is a current snapshot at http://audacityteam.org/files/audacity-src-1.3.4-20071229.tar.bz2. This still reports as version 1.3.4, but has the updated portaudio snapshot and numerous other fixes in it.

I just tried compiling that version and I still get this compile error:

configure: WARNING: “Missing support in portaudio.h”
configure: error: “Your version of portaudio does not include required functions”
configure: error: ./configure failed for lib-src/portmixer
===> Script “configure” failed unexpectedly.

Any clues on how to solve this?

Can you (in a clean copy) cd into lib-src/portmixer, run ./configure, and post the full output here? Something isn’t working correctly on your system, as it works absolutely fine here on Linux.

I am using FreeBSD (happens on all versions/arch).

jackcomp# ./configure
checking for gcc… gcc
checking for C compiler default output file name… a.out
checking whether the C compiler works… yes
checking whether we are cross compiling… no
checking for suffix of executables…
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
checking for ranlib… ranlib
checking for ar… /usr/bin/ar
checking how to run the C preprocessor… gcc -E
checking for grep that handles long lines and -e… /usr/bin/grep
checking for egrep… /usr/bin/grep -E
checking for ANSI C header files… yes
checking whether to compile debug version… no
configure: WARNING: “Missing support in pa_win_ds.h”
configure: WARNING: “Missing support in pa_linux_alsa.h”
configure: WARNING: “Missing support in pa_win_wmme.h”
configure: WARNING: “Missing support in pa_mac_core.h”
configure: WARNING: “Missing support in pa_unix_oss.h”
configure: WARNING: “Missing support in portaudio.h”
configure: error: “Your version of portaudio does not include required functions”