Problem compiling audacity 1.3.6 on FreeBSD 7.1 amd64

I am trying to compile audacity 1.3.6 on FreeBSD 7.1 amd64 and I keep getting this configure error when it does the configure for portmixer.

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 portaudio.h”
configure: error: “Your version of portaudio does not include required functions”
configure: error: ./configure failed for lib-src/portmixer

And some useful information:

host=‘amd64-portbld-freebsd7.1’
host_alias=‘’
host_cpu=‘amd64’
host_os=‘freebsd7.1’
host_vendor=‘portbld’

Any idea on what’s missing?

What version of portaudio do you have installed? I think that it needs to be at least v.18 - you may also need the dev package of portaudio since you are compiling from source.

I am using the version of portaudio that comes with the audacity source code. it’s portaudio-v19

The portaudio I have on my computer is v18, however, it does not recognize it and it can’t find the portaudio directory if I specify the portaudio version to be v18 in configure because there is no portaudio directory in lib-src in the source for 1.3.6.