Merge branch '0.5.0.x' into 0.5.x
[novacoin.git] / doc / build-unix.txt
index b424a50..f4178ca 100644 (file)
@@ -28,7 +28,7 @@ Dependencies
  libssl     SSL Support   Secure communications
  libdb4.8   Berkeley DB   Blockchain & wallet storage
  libboost   Boost         C++ Library
- miinupnpc  UPnP Support  Optional firewall-jumping support
+ miniupnpc  UPnP Support  Optional firewall-jumping support
 
 miniupnpc may be used for UPnP port mapping.  It can be downloaded from
 http://miniupnp.tuxfamily.org/files/.  UPnP support is compiled in and
@@ -65,13 +65,16 @@ If using Boost 1.37, append -mt to the boost libraries in the makefile.
 
 Dependency Build Instructions: Gentoo
 -------------------------------------
-emerge -av net-libs/miniupnpc boost openssl sys-libs/db
 
-Then take the following steps to build:
+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>/' *
- sed -i 's/-Bstatic/-Bdynamic/' makefile.unix
- make -f makefile.unix
+ make -f makefile.unix USE_UPNP= BDB_INCLUDE_PATH='/usr/include/db4.8'
  strip bitcoind