Browse Source

Collate generic dependency information. Segregate distribution-specific (Ubuntu/Debian) information. Add Gentoo information.

0.8
globalcitizen 13 years ago
parent
commit
7b465b663a
  1. 62
      doc/build-unix.txt

62
doc/build-unix.txt

@ -22,38 +22,62 @@ the graphical bitcoin.
Dependencies Dependencies
------------ ------------
Library Purpose Description
------- ------- -----------
libssl SSL Support Secure communications
libdb4.8 Berkeley DB Blockchain & wallet storage
libboost Boost C++ Library
miinupnpc 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
turned off by default. Set USE_UPNP to a different value to control this:
USE_UPNP= No UPnP support - miniupnp not required
USE_UPNP=0 (the default) UPnP support turned off by default at runtime
USE_UPNP=1 UPnP support turned on by default at runtime
Licenses of statically linked libraries:
Berkeley DB New BSD license with additional requirement that linked
software must be free open source
Boost MIT-like license
miniupnpc New (3-clause) BSD license
Versions used in this release:
GCC 4.3.3
OpenSSL 0.9.8g
Berkeley DB 4.8.30.NC
Boost 1.37
miniupnpc 1.6
Dependency Build Instructions: Ubuntu & Debian
----------------------------------------------
sudo apt-get install build-essential sudo apt-get install build-essential
sudo apt-get install libssl-dev sudo apt-get install libssl-dev
sudo apt-get install libdb4.8-dev sudo apt-get install libdb4.8-dev
sudo apt-get install libdb4.8++-dev sudo apt-get install libdb4.8++-dev
Boost 1.40+: sudo apt-get install libboost-all-dev Boost 1.40+: sudo apt-get install libboost-all-dev
or Boost 1.37: sudo apt-get install libboost1.37-dev or Boost 1.37: sudo apt-get install libboost1.37-dev
If using Boost 1.37, append -mt to the boost libraries in the makefile. If using Boost 1.37, append -mt to the boost libraries in the makefile.
Requires miniupnpc for UPnP port mapping. It can be downloaded from
http://miniupnp.tuxfamily.org/files/. UPnP support is compiled in and
turned off by default. Set USE_UPNP to a different value to control this:
USE_UPNP= no UPnP support, miniupnp not required;
USE_UPNP=0 (the default) UPnP support turned off by default at runtime;
USE_UPNP=1 UPnP support turned on by default at runtime.
Licenses of statically linked libraries: Dependency Build Instructions: Gentoo
Berkeley DB New BSD license with additional requirement that linked software must be free open source -------------------------------------
Boost MIT-like license emerge -av net-libs/miniupnpc boost openssl sys-libs/db
miniupnpc New (3-clause) BSD license
Versions used in this release: Then take the following steps to build:
GCC 4.3.3 cd $BITCOIN_DIR/src
OpenSSL 0.9.8g sed -i 's/<db_cxx.h>/<db4.8\/db_cxx.h>/' src/*
Berkeley DB 4.8.30.NC sed -i 's/-Bstatic/-Bdynamic/' makefile.unix
Boost 1.37 make -f makefile.unix
miniupnpc 1.6 strip bitcoind
Notes Notes
----- -----
The release is built with GCC and then "strip bitcoin" to strip the debug The release is built with GCC and then "strip bitcoind" to strip the debug
symbols, which reduces the executable size by about 90%. symbols, which reduces the executable size by about 90%.

Loading…
Cancel
Save