bitcoin: Mac OS X Catalina build fails: running make says 'Nothing to be done for 'all'
I’m trying to build and compile bitcoin using the following procedure:
./autogen.sh
./configure CC=clang CXX=clang++ --with-incompatible-bdb --with-gui=no
make
make check && sudo make install
But I keep getting the following error after I run make:
CXX util/libbitcoinconsensus_la-strencodings.lo
CXXLD libbitcoinconsensus.la
Making all in doc/man
make[1]: Nothing to be done for 'all'.
make[1]: Nothing to be done for 'all-am'.
Not sure how to fix this so would appreciate any help - thanks!
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 22 (13 by maintainers)
@jarolrod That worked as you said - thanks again for taking the time to help me out. It’s much appreciated
Thanks a bunch to @everyone else too!
@jmoraes7 That is also not an issue. If you don’t have a
bitcoin.conf
then there is nobitcoin.conf
to use. If you want to configure your node there is an examplebitcoin.conf
file inshare/examples/bitcoin.conf
. This example includes all possible configuration options with discription. Copy this example into your data directory.Note: The default data directory on macOS is:
/Users/<user>/Library/Application Support/Bitcoin/
You can now open up the copied file with your favorite text editor and uncomment the options that fit your needs.
I just ran through a fresh build on a clean install of macOS Catalina 10.15.7 and was able to build with no issues. Here are some notes:
Preparation
stage of the macOS build doc. Installing these tools will give you a compiler (supposedly gcc but really a wrapper over clang). We want to use this apple supplied compiler as I don’t know the state of your installed compilers/issues with paths.gcc -v
, you should see something like this:./configure
. The install directory of this apple supplied compiler should be/Library/Developer/CommandLineTools/usr/bin
. It should also be symlinked atusr/bin/gcc
.--with-gui=no
you wouldn’t need to installqt@5
.brew
should installboost
as a bottled binary package, so there shouldn’t be a need for brew to compileboost
./configure
stage, the following should be all you need to supply (assuming the apple supplied compiler is used as gcc):AFAIK the Linux Debian-like solution to managing multiple compiler versions is to use “update-alternatives.”
IDK for MacOS but when I had issues in the past like you describe, fixing my compiler installations/paths resolved it (just one non-MacOS data point).