Skip to content

MacOS build issue(s) #1073

@luke-mckay

Description

@luke-mckay

I recently tried to build on MacOS with a new MacBook m5 as well as an older Intel based MacBook and encountered several build issues.

The first I came across was:
checking whether miniUPnPc API version is supported... yes
checking for boostlib >= 1.58.0 (105800) includes in "/opt/homebrew/include"... yes
checking for boostlib >= 1.58.0 (105800) lib path in "/opt/homebrew/lib/aarch64-darwin25.2.0"... no
checking for boostlib >= 1.58.0 (105800) lib path in "/opt/homebrew/lib64"... no
checking for boostlib >= 1.58.0 (105800) lib path in "/opt/homebrew/lib"... yes
checking for boostlib >= 1.58.0 (105800)... yes
checking whether the Boost::System library is available... yes
configure: error: Could not find a version of the Boost::System library!

This is due to the boostlib that is available being different than the code expects (and supports).

Expected behavior

I expected that I'd be able to build on the MacBook(s) natively as that seems to be implied as supported. If you use docker with a Linux image, it works fine. But I had expected it to be native for MacOS.

Actual behavior

Build errors. After you get past this one there are several others.

To reproduce

Try following the OSX / MacOS build instructions. It won't work.

Then read between the lines and update that info as you'd expect to add the required inputs to the configure script to indicate the correct locations of libraries and such. Then it still won't work.

System information

Latest MacBook m5.

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