Bitcoin v0.3.10 · 2010-08-15
build-unix.txt
1Copyright (c) 2009-2010 Satoshi Nakamoto2Distributed under the MIT/X11 software license, see the accompanying3file license.txt or http://www.opensource.org/licenses/mit-license.php.4This product includes software developed by the OpenSSL Project for use in5the OpenSSL Toolkit (http://www.openssl.org/). This product includes6cryptographic software written by Eric Young (eay@cryptsoft.com).789UNIX BUILD NOTES10================1112Dependencies13------------14sudo apt-get install build-essential15sudo apt-get install libgtk2.0-dev16sudo apt-get install libssl-dev17sudo apt-get install libdb4.7-dev18sudo apt-get install libdb4.7++-dev19Boost 1.40+: sudo apt-get install libboost-all-dev20or Boost 1.37: sudo apt-get install libboost1.37-dev2122If using Boost 1.37, append -mt to the boost libraries in the makefile.2324We're now using wxWidgets 2.9, which uses UTF-8. Don't try 2.8, it won't work.2526You need to download wxWidgets from http://www.wxwidgets.org/downloads/27and build it yourself. See the build instructions and configure parameters28below.2930Licenses of statically linked libraries:31wxWidgets LGPL 2.1 with very liberal exceptions32Berkeley DB New BSD license with additional requirement that linked software must be free open source33Boost MIT-like license3435Versions used in this release:36GCC 4.3.337OpenSSL 0.9.8g38wxWidgets 2.9.039Berkeley DB 4.7.25.NC40Boost 1.37414243Notes44-----45The UI layout is edited with wxFormBuilder. The project file is46uiproject.fbp. It generates uibase.cpp and uibase.h, which define base47classes that do the rote work of constructing all the UI elements.4849The release is built with GCC and then "strip bitcoin" to strip the debug50symbols, which reduces the executable size by about 90%.515253wxWidgets54---------55cd /usr/local56tar -xzvf wxWidgets-2.9.0.tar.gz57cd wxWidgets-2.9.058mkdir buildgtk59cd buildgtk60../configure --with-gtk --enable-debug --disable-shared --enable-monolithic61make62sudo su63make install64ldconfig656667Berkeley DB68-----------69You need Berkeley DB 4.7. Don't use 4.8, the database/log0000* files70are incompatible. If you have to build Berkeley DB yourself:71../dist/configure --enable-cxx72make737475Boost76-----77If you need to build Boost yourself:78sudo su79./bootstrap.sh80./bjam install
Click a line number to link to it; use #L10-L20 for a range. "=" next to a version means the file is identical there.
