Skip to content

configure fails to generate makefile on Mac OS X #2

@muellermartin

Description

@muellermartin

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions