aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2011-10-09 14:23:20 -0400
committerLuke Dashjr <luke-jr+git@utopios.org>2011-10-09 14:23:20 -0400
commitb4d0588d06e7c2746b624128b3cc4596459ddf87 (patch)
tree43ab1b66a50941377ad9afdd27d1e341300315ac /doc
parent4db9705dd839cbb386398b1eb4be2a67357c27c4 (diff)
downloadbitcoin-b4d0588d06e7c2746b624128b3cc4596459ddf87.tar.xz
Add support to makefile.unix for the same parameters used by bitcoin-qt.pro, dynamic linking unless STATIC=1 is passed
Diffstat (limited to 'doc')
-rw-r--r--doc/build-unix.txt12
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/build-unix.txt b/doc/build-unix.txt
index e47dbf710c..f4178caae5 100644
--- a/doc/build-unix.txt
+++ b/doc/build-unix.txt
@@ -65,14 +65,16 @@ If using Boost 1.37, append -mt to the boost libraries in the makefile.
Dependency Build Instructions: Gentoo
-------------------------------------
-emerge -av boost openssl sys-libs/db
+
+Note: If you just want to install bitcoind on Gentoo, you can add the Bitcoin
+ overlay and use your package manager:
+ layman -a bitcoin && emerge bitcoind
+
+emerge -av1 --noreplace boost glib openssl sys-libs/db:4.8
Take the following steps to build (no UPnP support):
cd ${BITCOIN_DIR}/src
- sed -i 's/<db_cxx.h>/<db4.8\/db_cxx.h>/' *.h # path fix
- sed -i 's/-Bstatic/-Bdynamic/' makefile.unix # dynamic linking
- sed -i 's/^USE_UPNP:=0$/USE_UPNP:=/' makefile.unix # disable UPnP
- make -f makefile.unix
+ make -f makefile.unix USE_UPNP= BDB_INCLUDE_PATH='/usr/include/db4.8'
strip bitcoind