Can't install flac

Hans Mogren hm at bymarken.net
Wed Oct 10 01:03:16 PDT 2007


Hi,

I'm having problems installing flac on my MacBook (Intel) running OS X
10.4.10. The output is below.

I also tried to manually build flac from source and found out that I
needed to include the switch "--disable-asm-optimizations", i.e. "
./configure --disable-asm-optimizations". Has this anything to with my
problem installing flac through MacPorts? Or is it something else I'm
doing wrong?

--8<-----------------------------------------------------------

$ sudo port install flac
--->  Building flac with target all
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_flac/work/flac-1.2.1"
&& make all OBJ_FORMAT=macho " returned error 2
Command output: make[2]: Nothing to be done for `all'.
Making all in src
Making all in libFLAC
Making all in ia32
make[4]: Nothing to be done for `all'.
Making all in include
Making all in private
make[5]: Nothing to be done for `all'.
Making all in protected
make[5]: Nothing to be done for `all'.
make[5]: Nothing to be done for `all-am'.
Making all in .
/bin/sh ../../libtool --mode=link gcc   -I/opt/local/include -O3
-funroll-loops -finline-functions -Wall -W -Winline -O2  -L/opt/local/lib
-o libFLAC.la -rpath /opt/local/lib -version-info 10:0:2 -lm  bitmath.lo
bitreader.lo bitwriter.lo cpu.lo crc.lo fixed.lo float.lo format.lo lpc.lo
md5.lo memory.lo metadata_iterators.lo metadata_object.lo
stream_decoder.lo stream_encoder.lo stream_encoder_framing.lo window.lo
ogg_decoder_aspect.lo ogg_encoder_aspect.lo ogg_helper.lo ogg_mapping.lo
ia32/libFLAC-asm.la -L/opt/local/lib -logg
rm -fr  .libs/libFLAC.lax
rm -fr .libs/libFLAC.lax
mkdir .libs/libFLAC.lax
rm -fr .libs/libFLAC.lax/libFLAC-asm.a
mkdir .libs/libFLAC.lax/libFLAC-asm.a
Extracting
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_flac/work/flac-1.2.1/src/libFLAC/ia32/.libs/libFLAC-asm.a
(cd .libs/libFLAC.lax/libFLAC-asm.a && ar x
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_flac/work/flac-1.2.1/src/libFLAC/ia32/.libs/libFLAC-asm.a)
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/ogg_decoder_aspect.o .libs/ogg_encoder_aspect.o .libs/ogg_helper.o
.libs/ogg_mapping.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   -L/opt/local/lib
-lm /opt/local/lib/libogg.dylib  -install_name 
/opt/local/lib/libFLAC.8.dylib -Wl,-compatibility_version -Wl,11
-Wl,-current_version -Wl,11.0
ld: .libs/libFLAC.lax/libFLAC-asm.a/bitreader_asm.o has external
relocation entries in non-writable section (__TEXT,__text) for symbols:
_FLAC__crc16_table
_bitreader_read_from_client_
/usr/bin/libtool: internal link edit command failed
make[4]: *** [libFLAC.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

--8<-----------------------------------------------------------

-- 
Hans Mogren
http://hans.bymarken.net/




More information about the macports-users mailing list