Added 320 fresh seednodes to replace the old ones.
[novacoin.git] / 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).
7
8
9 UNIX BUILD NOTES
10 ================
11
12 To Build
13 --------
14
15 make -f makefile.unix            # Bitcoin with wxWidgets GUI
16   or
17 make -f makefile.unix bitcoind   # Headless bitcoin
18
19
20 Dependencies
21 ------------
22 sudo apt-get install build-essential
23 sudo apt-get install libgtk2.0-dev
24 sudo apt-get install libssl-dev
25 sudo apt-get install libdb4.7-dev
26 sudo apt-get install libdb4.7++-dev
27 Boost 1.40+: sudo apt-get install libboost-all-dev
28 or Boost 1.37: sudo apt-get install libboost1.37-dev
29
30 If using Boost 1.37, append -mt to the boost libraries in the makefile.
31
32 We're using wxWidgets 2.9.0, which uses UTF-8.  Don't try 2.8, it won't work.
33 The build hasn't been updated to work with wxWidgets 2.9.1 yet.
34
35 You need to download wxWidgets from http://www.wxwidgets.org/downloads/
36 and build it yourself.  See the build instructions and configure parameters
37 below.
38
39 Licenses of statically linked libraries:
40 wxWidgets      LGPL 2.1 with very liberal exceptions
41 Berkeley DB    New BSD license with additional requirement that linked software must be free open source
42 Boost          MIT-like license
43
44 Versions used in this release:
45 GCC          4.3.3
46 OpenSSL      0.9.8g
47 wxWidgets    2.9.0
48 Berkeley DB  4.7.25.NC
49 Boost        1.37
50
51
52 Notes
53 -----
54 The UI layout is edited with wxFormBuilder.  The project file is
55 uiproject.fbp.  It generates uibase.cpp and uibase.h, which define base
56 classes that do the rote work of constructing all the UI elements.
57
58 The release is built with GCC and then "strip bitcoin" to strip the debug
59 symbols, which reduces the executable size by about 90%.
60
61
62 wxWidgets
63 ---------
64 cd /usr/local
65 tar -xzvf wxWidgets-2.9.0.tar.gz
66 cd wxWidgets-2.9.0
67 mkdir buildgtk
68 cd buildgtk
69 ../configure --with-gtk --enable-debug --disable-shared --enable-monolithic
70 make
71 sudo su
72 make install
73 ldconfig
74
75
76 Berkeley DB
77 -----------
78 You need Berkeley DB 4.7.  Don't use 4.8, the database/log0000* files
79 are incompatible.  If you have to build Berkeley DB yourself:
80 ../dist/configure --enable-cxx
81 make
82
83
84 Boost
85 -----
86 If you need to build Boost yourself:
87 sudo su
88 ./bootstrap.sh
89 ./bjam install