Update Arch Linux build example

This commit is contained in:
Igor Bubelov 2022-06-19 14:18:31 +07:00
parent 8e7eeb5971
commit f67b6fce37

View file

@ -277,22 +277,17 @@ A list of additional configure flags can be displayed with:
Setup and Build Example: Arch Linux
-----------------------------------
This example lists the steps necessary to setup and build a command line only, non-wallet distribution of the latest changes on Arch Linux:
This example lists the steps necessary to setup and build a command line only distribution of the latest changes on Arch Linux:
pacman -S git base-devel boost libevent python
pacman --sync --needed autoconf automake boost gcc git libevent libtool make pkgconf python sqlite
git clone https://github.com/bitcoin/bitcoin.git
cd bitcoin/
./autogen.sh
./configure --disable-wallet --without-gui --without-miniupnpc
./configure
make check
./src/bitcoind
Note:
Enabling wallet support requires either compiling against a Berkeley DB newer than 4.8 (package `db`) using `--with-incompatible-bdb`,
or building and depending on a local version of Berkeley DB 4.8. The readily available Arch Linux packages are currently built using
`--with-incompatible-bdb` according to the [PKGBUILD](https://github.com/archlinux/svntogit-community/blob/packages/bitcoin/trunk/PKGBUILD).
As mentioned above, when maintaining portability of the wallet between the standard Bitcoin Core distributions and independently built
node software is desired, Berkeley DB 4.8 must be used.
If you intend to work with legacy Berkeley DB wallets, see [Berkeley DB](#berkeley-db) section.
ARM Cross-compilation
-------------------