Improved Gentoo instructions.

This commit is contained in:
globalcitizen 2011-10-09 17:16:53 +08:00
parent c60aec9c20
commit 4adf78bad3

View file

@ -69,8 +69,9 @@ emerge -av net-libs/miniupnpc boost openssl sys-libs/db
Then take the following steps to build:
cd ${BITCOIN_DIR}/src
sed -i 's/<db_cxx.h>/<db4.8\/db_cxx.h>/' *
sed -i 's/-Bstatic/-Bdynamic/' makefile.unix
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
strip bitcoind