-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot Build under MacOS 10.14 (Mojave) #30
Comments
We sometimes encounter problems like these when Xcode isn't correctly set up. Try running |
Thanks for your response. I have run For now my workaround is to focus on building libbitcoin by itself, which I now have been able to do by separating the Boost |
I see, so you are just bypassing the rest of the Airbitz dependencies, and focusing on the libbitcoin immediate requirements. Of those, only boost is genuinely broken. That's promising! The boost build system is pretty awful, so having it break isn't too surprising. |
I am attempting to build airbitz-core under MacOS 10.14 (Mojave) and am experiencing compile errors. Actually, I'd like to experiment with a minimum build of libbitcoin for iOS and your project appears to provide a straightforward infrastructure for building that. Except, I'm running into several issues. I am using Xcode 10.0 with the command line tools installed, and have installed the other build requirements via brew, per your instructions.
First I try to build airbitz-core per the README:
So it looks like zlib and openssl compiled fine, but we ran into a problem with libcurl. Looking at the more complete configuration information in build-ios-armv7.log:
Well, perhaps I don't need libcurl right now, because as I said I just want a basic build of libbitcoin to experiment with:
So boost failed to bootstrap. Looking at:
./build/boost/ios-armv7/boost_1_62_0/bootstrap.log
:So the bootstrap script can't find
<sys/types.h>
.I can build libsecp256k1:
$ make libsecp256k1.ios-universal Running libsecp256k1.download Running libsecp256k1.build-ios-armv7 Running libsecp256k1.build-ios-armv7s Running libsecp256k1.build-ios-arm64 Running libsecp256k1.build-ios-i386 Running libsecp256k1.build-ios-x86_64 Running libsecp256k1.ios-universal $ lipo -info build/libsecp256k1/ios-universal/lib/libsecp256k1.a Architectures in the fat file: build/libsecp256k1/ios-universal/lib/libsecp256k1.a are: armv7 armv7s i386 x86_64 arm64
So clearly the build system is mostly working— it's just certain dependencies that are broken.
A fix, workaround, or pointer to where I might start fixing it myself would be appreciated.
The text was updated successfully, but these errors were encountered: