Skip to content

Commit e09913f

Browse files
committed
doc: specify protobuf as optional in build docs
1 parent 376f492 commit e09913f

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

doc/build-osx.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Then install [Homebrew](https://brew.sh).
1919

2020
## Dependencies
2121
```shell
22-
brew install automake berkeley-db4 libtool boost miniupnpc openssl pkg-config protobuf python qt libevent qrencode
22+
brew install automake berkeley-db4 libtool boost miniupnpc openssl pkg-config python qt libevent qrencode
2323
```
2424

2525
See [dependencies.md](dependencies.md) for a complete overview.

doc/build-unix.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,16 @@ To build without GUI pass `--without-gui`.
112112

113113
To build with Qt 5 you need the following:
114114

115-
sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler
115+
sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools
116116

117117
libqrencode (optional) can be installed with:
118118

119119
sudo apt-get install libqrencode-dev
120120

121+
protobuf (optional) can be installed with:
122+
123+
sudo apt-get install libprotobuf-dev protobuf-compiler
124+
121125
Once these are installed, they will be found by configure and a bitcoin-qt executable will be
122126
built by default.
123127

@@ -140,12 +144,16 @@ ZMQ dependencies (provides ZMQ API):
140144

141145
To build with Qt 5 you need the following:
142146

143-
sudo dnf install qt5-qttools-devel qt5-qtbase-devel protobuf-devel
147+
sudo dnf install qt5-qttools-devel qt5-qtbase-devel
144148

145149
libqrencode (optional) can be installed with:
146150

147151
sudo dnf install qrencode-devel
148152

153+
protobuf (optional) can be installed with:
154+
155+
sudo dnf install protobuf-devel
156+
149157
Notes
150158
-----
151159
The release is built with GCC and then "strip bitcoind" to strip the debug

0 commit comments

Comments
 (0)