Bitcoin v0.3.0 · 2010-07-06
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++-dev19sudo apt-get install libboost-all-dev2021We're now using wxWidgets 2.9, which uses UTF-8.2223There isn't currently a debian package of wxWidgets we can use. The 2.824packages for Karmic are UTF-16 unicode and won't work for us, and we've had25trouble building 2.8 on 64-bit.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.4.338OpenSSL 0.9.8k39wxWidgets 2.9.040Berkeley DB 4.7.25.NC41Boost 1.40.0424344Notes45-----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 /usr/local/wxWidgets-2.9.059mkdir buildgtk60cd buildgtk61../configure --with-gtk --enable-debug --disable-shared --enable-monolithic62make63sudo su64make install65ldconfig66su <username>67cd ..68mkdir buildbase69cd buildbase70../configure --disable-gui --enable-debug --disable-shared --enable-monolithic71make72sudo su73make install74ldconfig757677Boost78-----79If you want to build Boost yourself,80cd /usr/local/boost_1_40_081su82./bootstrap.sh83./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.
