Re: [Audacity-devel] Mac and source re-uploaded
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
|
From: Leland <le...@au...> - 2011-03-30 10:15:05
|
On 3/29/11 10:17 AM, Benjamin Drung wrote: > 2) Support compiling against system portaudio: > > The portaudio package in Debian unstable and Ubuntu 11.04 (natty) > contains the patch from Audacity. The Debian/Ubuntu package will build > against this system version. The system-portaudio-v2.patch makes > audacity configurable to either use the local or system version of > portaudio. configure will check if the patch from Audacity is applied by > checking if the function Pa_GetStreamHostApiType is available. > I like this patch since it fixes a problem that has bothered me for ages, but I never had the time/inclination to look into it. If you run config.status (without the patch) from the toplevel directory, it should recreate src/Makefile. But, it didn't do it properly and left the @PA_LIB@ unsubstituted. With your patch, it recreates src/Makefile correctly. However, on Ubuntu 10.10, if it detects the system library, then portmixer configuration will fail because the portaudio system includes do not include pa_unix_oss.h, pa_linux_alsa.h, etc. This isn't a bug in your patch, it is a bug in the portmixer configure.ac. I've worked out the necessary changes for it, but I just want to test them a bit more on Linux and OSX. (Yes, we do use the "configure" system on OSX...we just don't use the "build" system.) Leland |