Bitcoin v0.3.19 · 2010-12-13
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 using wxWidgets 2.9.0, which uses UTF-8. Don't try 2.8, it won't work.25The build hasn't been updated to work with wxWidgets 2.9.1 yet.2627You need to download wxWidgets from http://www.wxwidgets.org/downloads/28and build it yourself. See the build instructions and configure parameters29below.3031Licenses of statically linked libraries:32wxWidgets LGPL 2.1 with very liberal exceptions33Berkeley DB New BSD license with additional requirement that linked software must be free open source34Boost MIT-like license3536Versions used in this release:37GCC 4.3.338OpenSSL 0.9.8g39wxWidgets 2.9.040Berkeley DB 4.7.25.NC41Boost 1.37424344Notes45-----46The UI layout is edited with wxFormBuilder. The project file is47uiproject.fbp. It generates uibase.cpp and uibase.h, which define base48classes that do the rote work of constructing all the UI elements.4950The release is built with GCC and then "strip bitcoin" to strip the debug51symbols, which reduces the executable size by about 90%.525354wxWidgets55---------56cd /usr/local57tar -xzvf wxWidgets-2.9.0.tar.gz58cd wxWidgets-2.9.059mkdir buildgtk60cd buildgtk61../configure --with-gtk --enable-debug --disable-shared --enable-monolithic62make63sudo su64make install65ldconfig666768Berkeley DB69-----------70You need Berkeley DB 4.7. Don't use 4.8, the database/log0000* files71are incompatible. If you have to build Berkeley DB yourself:72../dist/configure --enable-cxx73make747576Boost77-----78If you need to build Boost yourself:79sudo su80./bootstrap.sh81./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.
