Steve the Fiddle
2017-07-18 18:41:54 UTC
Poke wrote in http://bugzilla.audacityteam.org/show_bug.cgi?id=889#c6
"If you're building it with the local version (or via
--with-portaudio=local) then it should fix it."
I've been removing the system version of portaudio19-dev before
building Audacity, and that has been working for a while.
I'd forgotten about "--with-portaudio=local" but tried that now and
pleased to say that works. Nevertheless, I expect that distro
maintainers would be happier if Audacity built using the system
version. Do we have any ideas why it doesn't?
Paul wrote in http://bugzilla.audacityteam.org/show_bug.cgi?id=889#c7
"I don't know what errors Steve got from a system version"
The error is:
"audacity-AudioIO.o: In function `AudioIO::MidiTime()':
/audacity/build/src/../../src/AudioIO.cpp:3984: undefined reference to
collect2: error: ld returned 1 exit status
Makefile:2350: recipe for target 'audacity' failed'"
"What are the steps to determine if you have a system version?"
From a terminal:
sudo dpkg -L portaudio19-dev
If portaudio19-dev is installed, its location will be given. If it's
not installed, it will tell you that the package is not installed.
Also, at the end of running configure (building Audacity), the
terminal output list various libraries like this:
EXPAT: using SYSTEM libraries
FFMPEG: using SYSTEM libraries
LAME: using SYSTEM libraries
LIBFLAC: using SYSTEM libraries
LIBID3TAG: using SYSTEM libraries
LIBMAD: using SYSTEM libraries
LIBNYQUIST: using LOCAL libraries
LIBSBSMS: using LOCAL libraries
LIBSNDFILE: using SYSTEM libraries
LIBSOUNDTOUCH: using SYSTEM libraries
LIBSOXR: using SYSTEM libraries
LIBTWOLAME: using SYSTEM libraries
LIBVAMP: using SYSTEM libraries
LIBVORBIS: using SYSTEM libraries
LV2: using SYSTEM libraries
PORTAUDIO: using LOCAL libraries
PORTSMF: using SYSTEM libraries
PORTMIDI: using LOCAL libraries
WIDGETEXTRA: using LOCAL libraries
ladspa plugin support: enabled
audiounit plugin support: disabled
VST plugin support: enabled
Run 'configure --help' for an explanation of these options,
otherwise run 'make' to build Audacity.