Re: [Audacity-devel] Mac and src tarballs uploaded
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Benjamin D. <bd...@ub...> - 2011-03-29 09:53:18
|
What went wrong with the portsmf fella? Which configure flags did you use and what was the error message you got? Am Montag, den 28.03.2011, 18:47 -0500 schrieb Leland: > Is it okay if I apply these patches when I get home? It will be past > the deadline. > > I was actually going to commit them, but found a problem with the > portsmf fella. It doesn't produce the correct -I compiler args when > configuring under Ubuntu 10.10. Shouldn't be a big deal to find, but I > must get to a meeting that'll last a couple of hours. > > Leland > > > On 3/28/11 5:14 PM, Benjamin Drung wrote: > > Am Montag, den 28.03.2011, 02:01 -0500 schrieb Leland: > >> Audacity 1.3.13 for Mac OS X 10.4 or later (Universal Binary) (.dmg) > >> http://audacity.googlecode.com/files/audacity-macosx-ub-1.3.13.dmg > >> > >> Audacity 1.3.13 for Mac OS X 10.4 or later (Universal Binary) (.zip) > >> http://audacity.googlecode.com/files/audacity-macosx-ub-1.3.13.zip > >> > >> Audacity 1.3.13 full source tarball (.tar.bz2) > >> http://audacity.googlecode.com/files/audacity-fullsrc-1.3.13-beta.tar.bz2 > >> > >> Audacity 1.3.13 minimal source tarball for Linux/Unix (.tar.bz2) > >> http://audacity.googlecode.com/files/audacity-minsrc-1.3.13-beta.tar.bz2 > > > > I tested this tarball on Ubuntu 11.04 (natty) and stumbled over a few > > issues. > > > > 1) configure fails with './configure: line 8785: test: =: unary operator > > expected'. The corresponding line in configure is 'if test > > $LIB_SYSTEM_AVAILABLE = yes ; then'. This line will always fail if > > LIB_SYSTEM_AVAILABLE is empty, because the line will be evaluated to 'if > > test = yes ; then', which isn't a comparison. > > > > The fix is to replace all 'test $X = foo' with 'test "$X" = foo'. Then > > an empty X will lead to 'test "" = foo' which is still a comparison. > > > > The attached empty-variable-in-test.patch will fix it. Don't forget to > > run 'aclocal -I m4&& autoconf' to refresh configure. > > > > 2) './configure --with-soundtouch=system' will fail (on Ubuntu 11.04 and > > Debian unstable), because the pkg-config file is called soundtouch.pc > > there. > > > > The attached soundtouch-pkgconfig-file.patch will fix it. Don't forget > > to run 'aclocal -I m4&& autoconf' to refresh configure. > > > > 3) './configure --with-midi=system' fails: > > checking for PORTSMF... yes > > configure: error: You requested using the system libraries for PORTSMF > > but they are not available > > > > The local portsmf library configuration is broken. The pkg-config gives > > you the information needed to dynamic link a system installed library, > > not for static linking the local built library. > > > > The attached portsmf-configure-v2.patch will fix it. It works correct > > with './configure --with-midi=system' and './configure > > --with-midi=local'. Don't forget to run 'aclocal -I m4&& autoconf' to > > refresh configure. > > > > 4) Audacity fails to build if configured to use the system sbsms > > library, which is known as bug #288 [1]: > > > > effects/SBSMSEffect.cpp: In member function ‘virtual bool > > EffectSBSMS::Process()’: > > effects/SBSMSEffect.cpp:273:16: error: ‘struct sbsmsInfo’ has no member > > named ‘rate0’ > > effects/SBSMSEffect.cpp:274:16: error: ‘struct sbsmsInfo’ has no member > > named ‘rate1’ > > effects/SBSMSEffect.cpp:275:16: error: ‘struct sbsmsInfo’ has no member > > named ‘pitch0’ > > effects/SBSMSEffect.cpp:276:16: error: ‘struct sbsmsInfo’ has no member > > named ‘pitch1’ > > effects/SBSMSEffect.cpp:278:13: error: ‘sbsms_quality’ was not declared > > in this scope > > effects/SBSMSEffect.cpp:278:27: error: expected ‘;’ before ‘quality’ > > effects/SBSMSEffect.cpp:279:51: error: ‘rateCBLinear’ was not declared > > in this scope > > effects/SBSMSEffect.cpp:279:65: error: ‘pitchCBLinear’ was not declared > > in this scope > > effects/SBSMSEffect.cpp:279:95: error: ‘quality’ was not declared in > > this scope > > > > [1] http://bugzilla.audacityteam.org/show_bug.cgi?id=288 > > > > The three patches should be included in the 1.3.13 release. They are > > relatively small and they touch only the Unix build system (so no bad > > effect for Windows). -- Benjamin Drung Debian & Ubuntu Developer |