Open muellermartin opened 8 years ago
I have to do the same thing as you. Thanks for pointing this out. It's something that can hopefully be fixed.
Thanks @muellermartin. Successfully built on my el capitan with your tip.
This would be nice if it was in the readme for libfec or in a wiki somewhere
Compiling libfec on Mac OS 10.11.3 (El Capitan) keeps failing by saying
error: unknown target CPU 'i386'
when runningmake
after./configure
. I tried to fix that by manually specifing the build target via--build=x86_64
(as I'm running 64-bit architecture and i686 fails with a similar error) when running configure (e.g../configure --build=x86_64
), but this leads to an error when linking statingld: unknown option: -soname=libfec.so
. By looking at themakefile
there seems to be a target for Mac OS (libfec.dylib
in line 98), it just does not get triggered. Passing a full tuple likex86_64-apple-darwin
to theconfigure
script (e.g../configure --build=x86_64-apple-darwin
) successfully builds libfec on my machine. I hope this helps other users on Mac OS X as this behaviour is somewhat strange. Maybe the configure script is somehow wrong...