Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure fails to generate makefile on Mac OS X #2

Open
muellermartin opened this issue Mar 10, 2016 · 3 comments
Open

configure fails to generate makefile on Mac OS X #2

muellermartin opened this issue Mar 10, 2016 · 3 comments

Comments

@muellermartin
Copy link

Compiling libfec on Mac OS 10.11.3 (El Capitan) keeps failing by saying error: unknown target CPU 'i386' when running make 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 stating ld: unknown option: -soname=libfec.so.
By looking at the makefile there seems to be a target for Mac OS (libfec.dylib in line 98), it just does not get triggered.
Passing a full tuple like x86_64-apple-darwin to the configure 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...

@brian-armstrong
Copy link
Member

I have to do the same thing as you. Thanks for pointing this out. It's something that can hopefully be fixed.

@beshrkayali
Copy link

Thanks @muellermartin. Successfully built on my el capitan with your tip.

@fornof
Copy link

fornof commented Jul 28, 2019

This would be nice if it was in the readme for libfec or in a wiki somewhere

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants