Better wording for transaction fee notification messages
[novacoin.git] / doc / build-unix.txt
1 Copyright (c) 2009-2010 Satoshi Nakamoto
2 Distributed under the MIT/X11 software license, see the accompanying
3 file license.txt or http://www.opensource.org/licenses/mit-license.php.
4 This product includes software developed by the OpenSSL Project for use in
5 the OpenSSL Toolkit (http://www.openssl.org/).  This product includes
6 cryptographic software written by Eric Young (eay@cryptsoft.com) and UPnP
7 software written by Thomas Bernard.
8
9
10 UNIX BUILD NOTES
11 ================
12
13 To Build
14 --------
15
16 cd src/
17
18 make -f makefile.unix            # Bitcoin with wxWidgets GUI
19   or
20 make -f makefile.unix bitcoind   # Headless bitcoin
21
22
23 Dependencies
24 ------------
25 sudo apt-get install build-essential
26 sudo apt-get install libgtk2.0-dev
27 sudo apt-get install libssl-dev
28 sudo apt-get install libdb4.7-dev
29 sudo apt-get install libdb4.7++-dev
30 Boost 1.40+: sudo apt-get install libboost-all-dev
31 or Boost 1.37: sudo apt-get install libboost1.37-dev
32
33 If using Boost 1.37, append -mt to the boost libraries in the makefile.
34
35 Requires wxWidgets 2.9.0 or greater, which uses UTF-8.  Don't try 2.8, it
36 won't work.
37
38 You need to download wxWidgets from http://www.wxwidgets.org/downloads/
39 and build it yourself.  See the build instructions and configure parameters
40 below.
41
42 Requires miniupnpc for UPnP port mapping.  To compile with UPnP support,
43 install miniupnpc and compile after setting USE_UPNP.  It can be downloaded
44 from http://miniupnp.tuxfamily.org/files/.  
45
46 Licenses of statically linked libraries:
47 wxWidgets      LGPL 2.1 with very liberal exceptions
48 Berkeley DB    New BSD license with additional requirement that linked software must be free open source
49 Boost          MIT-like license
50 miniupnpc      New (3-clause) BSD license
51
52 Versions used in this release:
53 GCC          4.3.3
54 OpenSSL      0.9.8g
55 wxWidgets    2.9.0
56 Berkeley DB  4.7.25.NC
57 Boost        1.37
58 miniupnpc    1.5
59
60
61 Notes
62 -----
63 The UI layout is edited with wxFormBuilder.  The project file is
64 uiproject.fbp.  It generates uibase.cpp and uibase.h, which define base
65 classes that do the rote work of constructing all the UI elements.
66
67 The release is built with GCC and then "strip bitcoin" to strip the debug
68 symbols, which reduces the executable size by about 90%.
69
70
71 wxWidgets
72 ---------
73 cd /usr/local
74 tar -xzvf wxWidgets-2.9.0.tar.gz
75 cd wxWidgets-2.9.0
76 mkdir buildgtk
77 cd buildgtk
78 ../configure --with-gtk --enable-debug --disable-shared --enable-monolithic
79 make
80 sudo su
81 make install
82 ldconfig
83
84
85 miniupnpc
86 ---------
87 tar -xzvf miniupnpc-1.5.tar.gz
88 cd miniupnpc-1.5
89 make
90 sudo su
91 make install
92
93
94 Berkeley DB
95 -----------
96 You need Berkeley DB 4.7.  Don't use 4.8, the database/log0000* files
97 are incompatible.  If you have to build Berkeley DB yourself:
98 ../dist/configure --enable-cxx
99 make
100
101
102 Boost
103 -----
104 If you need to build Boost yourself:
105 sudo su
106 ./bootstrap.sh
107 ./bjam install