Skip to content

Commit ddd7a39

Browse files
committed
Merge bitcoin#25414: doc: Update Arch Linux build example
f67b6fc Update Arch Linux build example (Igor Bubelov) Pull request description: The current build example has two issues: 1. The claim that the wallet functionality will be missing is obsolete since Bitcoin Core can use SQLite, which is a hard dependency of `pacman` so we can assume that it's always present. 2. Installing package groups such as `base-devel` adds some friction and uncertainty by forcing readers to choose which packages they need, interactively. Listing required deps explicitly speeds up the whole process, makes it more transparent and cuts the number of installed packages. ACKs for top commit: laanwj: re-ACK f67b6fc Tree-SHA512: c068dac5d244044827d5d94a4b48f239180301b6870dce31b003fa111a69f7e3a483681a7ea2b3d393d6791b40043685ce2fe62c338cce1b7e37a6db0f02b1a2
2 parents 0808c88 + f67b6fc commit ddd7a39

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

doc/build-unix.md

+5-10
Original file line numberDiff line numberDiff line change
@@ -277,22 +277,17 @@ A list of additional configure flags can be displayed with:
277277

278278
Setup and Build Example: Arch Linux
279279
-----------------------------------
280-
This example lists the steps necessary to setup and build a command line only, non-wallet distribution of the latest changes on Arch Linux:
280+
This example lists the steps necessary to setup and build a command line only distribution of the latest changes on Arch Linux:
281281

282-
pacman -S git base-devel boost libevent python
282+
pacman --sync --needed autoconf automake boost gcc git libevent libtool make pkgconf python sqlite
283283
git clone https://github.com/bitcoin/bitcoin.git
284284
cd bitcoin/
285285
./autogen.sh
286-
./configure --disable-wallet --without-gui --without-miniupnpc
286+
./configure
287287
make check
288+
./src/bitcoind
288289

289-
Note:
290-
Enabling wallet support requires either compiling against a Berkeley DB newer than 4.8 (package `db`) using `--with-incompatible-bdb`,
291-
or building and depending on a local version of Berkeley DB 4.8. The readily available Arch Linux packages are currently built using
292-
`--with-incompatible-bdb` according to the [PKGBUILD](https://github.com/archlinux/svntogit-community/blob/packages/bitcoin/trunk/PKGBUILD).
293-
As mentioned above, when maintaining portability of the wallet between the standard Bitcoin Core distributions and independently built
294-
node software is desired, Berkeley DB 4.8 must be used.
295-
290+
If you intend to work with legacy Berkeley DB wallets, see [Berkeley DB](#berkeley-db) section.
296291

297292
ARM Cross-compilation
298293
-------------------

0 commit comments

Comments
 (0)