Re: [Audacity-devel] So what's left before 1.3.7?
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Richard A. <ri...@au...> - 2009-01-24 11:21:25
|
On Fri, 2009-01-23 at 21:52 -0600, Leland wrote: > > All the build issues I know of should now be fixed in RC2 tarballs, > > which build for me with no libmad, id3tag, libsndfile, vamp-sdk > > installed on the system. tarballs are in the usual place. > > > > The non-Xcode builds on OSX have an issue with "-Wl,-Bstatic" and > "-Wl,-Bdynamic" in the generated src/Makefile. Manually removing them > after running configure fixes the issue. These come from libvamp. Or rather, they come from me trying to fix a related issue on Linux. The problem is that the Vamp SDK builds both the dynamic and the static libraries. GCC always prefers the dynamic libs if it can get them, so it links the the local copy of the Vamp SDK dynamically. When you try to start audacity it won't because the directory with the Vamp SDK dynamic libs in isn't on the dynamic linker search path (shared library error). I took the easy way out and cooked the GCC command line with those switches to make the linker use static linkage just for that one library, but it seems that it isn't portable to the GCC/GNU ld on Mac (or does Mac not use GNU ld?). I think the "correct" solution is to build only the static libraries in the Vamp SDK by passing the appropriate arguments to it's configure script once it's been patched to accept them, so that there is only a static library to link to, and we don't have to coerce GCC into doing what we want. > OSX, fullsrc, xcodebuild: > > works > > OSX, fullsrc, configure --enable-static=yes --enable-shared=no: > > works without macports sndfile installed > works with macports sndfile installed > > OSX, minsrc, configure --enable-static=yes --enable-shared=no: > > doesn't work without macports sndfile installed (not a problem) > works with macports sndfile installed > > Ubuntu, fullsrc, configure (no args): > > works without sndfile installed > works with sndfile installed > > Ubuntu, minsrc, configure (no args): > > doesn't work without sndfile installed (not a problem) > works with sndfile installed They all sound good results (at last!). > Windows, fullsrc: > > fails with: > > 21>c:\documents and > settings\administrator\desktop\audacity-src-1.3.7-rc2\lib-src\libnyquist\nyqsrc\localdefs.h(2) > : fatal error C1083: Cannot open include file: '.h': No such file or > directory > > Let me check into this. I might be able to coax Visual Studio into > rebuilding this header. No idea. Looks rather like an error in localdefs.h, but I know the build system for nyquist is seriously weird, and does nasty things like creating programs and then running them to create more source which is compiled to the final executable (which amongst other things makes it impossible to cross-compile). Richard |