libbitcoin/libbitcoin-explorer

Build Problem - 'sys/types.h' file not found

Closed this issue · 5 comments

Boost Build boostrap.log: fatal error: 'sys/types.h' file not found
#include <sys/types.h>

using .zsh and MacOSX11.3.sdk

Environment variable set in .zshrc as CFLAGS="-isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.7" based on answer to similar problem from a build github repo comment for Firesheep.

Not sure what I'm doing wrong here. /usr/include/sys/types.h exists in MacOSX11.3.sdk directory.

Build command line?

$ ./install.sh --prefix=/home/me/myprefix --build-boost --build-zmq --disable-shared

Maybe look at our macOS Travis builds, which don’t show this problem.

Apologies if its my ignorance, but where are your macOS Travis builds I can't seem to find them.