Re: [Audacity-devel] Building on a Mac
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Leland <le...@au...> - 2008-05-01 03:49:35
|
--On April 30, 2008 10:13:20 PM +0100 Richard Ash <ri...@au...> wrote: > On Tue, 2008-04-29 at 19:11 +0100, Paul Livesey wrote: >> I can't get Twolame to build from the command line at all using the >> configure script. It's really just unhappy. > Any chance of a more detailed description? We updated to the most recent > libtwolame release because it included the patches need to build the > previous release on OS X, so I've no idea what is wrong. > You get different results depending on whether you disable shared building or not. Here's what you get when configured with: ./configure --enable-static=yes --enable-shared=no --disable-shared --enable-unicode=no --enable-debug=yes --with-lib-preference=local,system --with-wx-version=2.8 This actually happens during the build step, not the configure step: cd . && /bin/sh /Users/Yam/audacity/1.3/audacity/lib-src/twolame/build/missing --run autoconf configure.ac:81: error: possibly undefined macro: AC_CHECK_LIB If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:88: error: possibly undefined macro: AC_CHECK_HEADER configure.ac:92: error: possibly undefined macro: AC_MSG_WARN make[2]: *** [configure] Error 1 make[1]: *** [libtwolame-recursive] Error 2 make: *** [audacity] Error 2 And when configured with: ./configure --enable-static=yes --enable-unicode=no --enable-debug=yes --with-lib-preference=local,system --with-wx-version=2.8 The build fails with: gcc -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/libFLAC.8.2.0.dylib .libs/bitmath.o .libs/bitreader.o .libs/bitwriter.o .libs/cpu.o .libs/crc.o .libs/fixed.o .libs/float.o .libs/format.o .libs/lpc.o .libs/md5.o .libs/memory.o .libs/metadata_iterators.o .libs/metadata_object.o .libs/stream_decoder.o .libs/stream_encoder.o .libs/stream_encoder_framing.o .libs/window.o .libs/libFLAC.lax/libFLAC-asm.a/bitreader_asm.o .libs/libFLAC.lax/libFLAC-asm.a/cpu_asm.o .libs/libFLAC.lax/libFLAC-asm.a/fixed_asm.o .libs/libFLAC.lax/libFLAC-asm.a/lpc_asm.o .libs/libFLAC.lax/libFLAC-asm.a/stream_encoder_asm.o -lm -install_name /usr/local/lib/libFLAC.8.dylib -compatibility_version 11 -current_version 11.0 -Wl,-single_module ld: warning codegen in FLAC__bitreader_read_rice_signed_block_asm_ia32_bswap.c1_loop (offset 0x0000003A) prevents image from loading in dyld shared cache ld: warning codegen in FLAC__bitreader_read_rice_signed_block_asm_ia32_bswap.c1_next2 (offset 0x00000012) prevents image from loading in dyld shared cache ld: warning codegen in FLAC__bitreader_read_rice_signed_block_asm_ia32_bswap.c2_next4 (offset 0x00000015) prevents image from loading in dyld shared cache ld: absolute addressing (perhaps -mdynamic-no-pic) used in FLAC__bitreader_read_rice_signed_block_asm_ia32_bswap.c1_loop from .libs/libFLAC.lax/libFLAC-asm.a/bitreader_asm.o not allowed in slidable image collect2: ld returned 1 exit status Various other messages during the make include... Several of these while building libmad: ./libtool: line 5417: test: : integer expression expected When libsndfile starts to build, configure is executed again and I get: cd . && /bin/sh /Users/Yam/audacity/1.3/audacity/lib-src/libsndfile/missing --run aclocal-1.9 /Users/Yam/audacity/1.3/audacity/lib-src/libsndfile/missing: line 52: aclocal-1.9: command not found WARNING: `aclocal-1.9' is missing on your system. You should only need it if you modified `acinclude.m4' or `configure.ac'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. cd . && /bin/sh /Users/Yam/audacity/1.3/audacity/lib-src/libsndfile/missing --run automake-1.9 --gnu /Users/Yam/audacity/1.3/audacity/lib-src/libsndfile/missing: line 52: automake-1.9: command not found WARNING: `automake-1.9' is missing on your system. You should only need it if you modified `Makefile.am', `acinclude.m4' or `configure.ac'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. Leland |