Skip to content

Commit 457e184

Browse files
committed
Merge bitcoin#30204: depends: consolidate dependency docs
a27e1ce depends: consolidate dependency docs (fanquake) Pull request description: Adds missing `g++` for macOS. This is needed by Qt: ```bash Configuring qt... Creating qmake... gmake[1]: Entering directory '/bitcoin/depends/work/build/arm64-apple-darwin/qt/5.15.14-4bca24c8f89/qtbase/qmake' gmake[1]: g++: No such file or directory gmake[1]: *** [Makefile:250: main.o] Error 127 ``` `xz-utils` was also missing (but generally already installed), and is needed for the `.tar.xz` tarballs. Remove `bsdmainutils`, as this is only needed by the main build system (for tests), and isn't needed to complete a depends build. ACKs for top commit: maflcko: ACK a27e1ce Tree-SHA512: 720c31d4d4c9b86fda4aace405d528193714dd3e526f38d5b8a83e4b676a433b9c891f01d86d673be9ac848458eda8a89b0981003a42eaa6d97bacc2e914396a
2 parents 3ac1465 + a27e1ce commit 457e184

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

depends/README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,13 @@ The paths are automatically configured and no other options are needed.
4343

4444
### Install the required dependencies: Ubuntu & Debian
4545

46+
#### Common
47+
48+
apt install automake bison cmake curl libtool make patch pkg-config python3 xz-utils
49+
4650
#### For macOS cross compilation
4751

48-
sudo apt-get install curl bsdmainutils cmake zip
52+
sudo apt-get install g++ zip
4953

5054
Note: You must obtain the macOS SDK before proceeding with a cross-compile.
5155
Under the depends directory, create a subdirectory named `SDKs`.
@@ -60,7 +64,7 @@ For more information, see [SDK Extraction](../contrib/macdeploy/README.md#sdk-ex
6064

6165
Common linux dependencies:
6266

63-
sudo apt-get install make automake cmake curl g++-multilib libtool binutils bsdmainutils pkg-config python3 patch bison
67+
sudo apt-get install g++-multilib binutils
6468

6569
For linux ARM cross compilation:
6670

0 commit comments

Comments
 (0)