Compiling Darling (macOS translation layer)

Hi! I’m new to Clear Linux. Sorry if I post this in the wrong place!

I’m trying to compiler Darling (http://www.darlinggq.org), and having done so before on Debian sid, like this:

git clone --recursive GitHub - darlinghq/darling: Darwin/macOS emulation layer for Linux
cd darling
mkdir build && cd build
cmake …
make

I’m getting an error that Clear Linux seems to be missing libbsd (libbsd).

/home/rickard/src/darling/src/bsdln/ln.c:44:10: fatal error: ‘bsd/string.h’ file not found
#include <bsd/string.h>
^~~~~~~~~~~~~~
1 error generated.

Am I just missing something or is there a bundle?
/Rickard

No bundle, given the complexity of this project, that would likely take a while.

You will have to install libbsd first and compile/install it into /usr/local. Clearlinux doesn’t currently provide it. This is normal - projects usually have a few external dependencies and darling seems to have a very large amount bundled, but possibly a few more not yet bundled.