aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-04-14 12:15:47 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-04-14 12:16:00 +0200
commit3eae681493a91636f3999cc69c6f9116915f4951 (patch)
treeabab89d56461acd25923e4579bae980a20e76749
parent72c54e388315861ce5827574e679784287d9f5d1 (diff)
parentfe53a2af6f8dccd53116ae35f28ec3860cc72f19 (diff)
Merge #7847: doc: add arch linux build example
fe53a2a doc: add arch linux setup and build example [skip ci] (mruddy)
-rw-r--r--doc/build-unix.md20
1 files changed, 19 insertions, 1 deletions
diff --git a/doc/build-unix.md b/doc/build-unix.md
index c1e92d8d15..dc754fc733 100644
--- a/doc/build-unix.md
+++ b/doc/build-unix.md
@@ -250,6 +250,24 @@ A list of additional configure flags can be displayed with:
./configure --help
+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:
+
+ pacman -S git base-devel boost libevent python
+ git clone https://github.com/bitcoin/bitcoin.git
+ cd bitcoin/
+ ./autogen.sh
+ ./configure --disable-wallet --without-gui --without-miniupnpc
+ make check
+
+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://projects.archlinux.org/svntogit/community.git/tree/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.
+
ARM Cross-compilation
-------------------
@@ -270,4 +288,4 @@ To build executables for ARM:
make
-For further documentation on the depends system see [README.md](../depends/README.md) in the depends directory. \ No newline at end of file
+For further documentation on the depends system see [README.md](../depends/README.md) in the depends directory.