libbitcoin / libbitcoin-explorer

Bitcoin Command Line Tool
Other
600 stars 176 forks source link

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

Closed chris-pollard closed 2 years ago

chris-pollard commented 3 years ago

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.

evoskuil commented 3 years ago

Build command line?

chris-pollard commented 3 years ago

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

evoskuil commented 3 years ago

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

chris-pollard commented 3 years ago

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

evoskuil commented 3 years ago

https://github.com/libbitcoin/libbitcoin-explorer/blob/master/README.md

Green button, first two builds.