Hi, I have read in an earlier post here on this list, that with Mac OS X Leopard it is now easier to build FLAC from source with Xcode. Because I want to automatically build FLAC from source (i.e. via bash scripting) I am looking for a way to compile it "the unix way" (i.e. via configure, make, make install) without Xcode. So I downloaded the source (v1.2.1), read its accompanying README, build the required libogg (v1.1.3), and (tried to) build flac with "./configure --with-prefix=/path/to/libogg/prefix && make && make install". But unfortunately this failed with the error mentioned below. Any hints on how to get FLAC build correctly on Mac OS X without Xcode? Thanks Jens ...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 imagecollect2: ld returned 1 exit statusmake[4]: *** [libFLAC.la] Error 1make[3]: *** [all-recursive] Error 1make[2]: *** [all-recursive] Error 1make[1]: *** [all-recursive] Error 1make: *** [all] Error 2 (I have shortened the output but can post the complete one if necessary) _________________________________________________________________ http://redirect.gimas.net/?n=M0903xSearchVideo Videosuche - Ganz einfach mit der Live Search
Brian Willoughby
2009-Mar-22 21:33 UTC
[Flac] Build FLAC source on Mac OS X without Xcode?
I don't have time to look through error codes, but I can tell you that I have always compiled FLAC the Unix way, via the command line. I have not tried under Leopard, because for maximum compatibility it's better to compile under Tiger. Either something is wrong with your particular setup, or perhaps Leopard has changed some things which has broken FLAC. If you have Tiger available, then give that a try. Make sure the developer tools are installed. Brian On Mar 22, 2009, at 07:55, - - wrote: I have read in an earlier post here on this list, that with Mac OS X Leopard it is now easier to build FLAC from source with Xcode. Because I want to automatically build FLAC from source (i.e. via bash scripting) I am looking for a way to compile it "the unix way" (i.e. via configure, make, make install) without Xcode. So I downloaded the source (v1.2.1), read its accompanying README, build the required libogg (v1.1.3), and (tried to) build flac with "./configure --with- prefix=/path/to/libogg/prefix && make && make install". But unfortunately this failed with the error mentioned below. Any hints on how to get FLAC build correctly on Mac OS X without Xcode? Thanks Jens ...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 imagecollect2: ld returned 1 exit statusmake[4]: *** [libFLAC.la] Error 1make[3]: *** [all-recursive] Error 1make[2]: *** [all-recursive] Error 1make[1]: *** [all-recursive] Error 1make: *** [all] Error 2 (I have shortened the output but can post the complete one if necessary)
----------------------------------------> CC: flac at xiph.org > From: brianw at sounds.wa.com > Subject: Re: [Flac] Build FLAC source on Mac OS X without Xcode? > Date: Sun, 22 Mar 2009 14:33:36 -0700 > To: jensiragh at hotmail.de > > I don't have time to look through error codes, but I can tell you > that I have always compiled FLAC the Unix way, via the command line. > I have not tried under Leopard, because for maximum compatibility > it's better to compile under Tiger. Either something is wrong with > your particular setup, or perhaps Leopard has changed some things > which has broken FLAC. If you have Tiger available, then give that a > try. Make sure the developer tools are installed. > > BrianThanks Brian for your answer. Unfortunately it does not help me though: I have of course installed the developer tools (I would not have gotten this far otherwise *g*) but do not have Tiger available. My Leopard setup is nothing special: regular 10.5.6 with developer tools added. Jens _________________________________________________________________ http://redirect.gimas.net/?n=M0903xWLM2009 Neu: Messenger 2009! Hier kostenlos downloaden!