~ubuntu-branches/ubuntu/utopic/bitcoin/utopic

« back to all changes in this revision

Viewing changes to src/build-unix.txt

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard, Jonas Smedegaard, Jan Dittberner
  • Date: 2011-07-19 15:08:54 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20110719150854-mhd8cclbbfrkhi1u
Tags: 0.3.24~dfsg-1
* New upstream release.

[ Jonas Smedegaard ]
* Improve various usage hints:
  + Explicitly mention in long description that bitcoind contains
    daemon and command-line interface.
  + Extend README.Debian with section on lack of GUI, and add primary
    headline.
  + Avoid installing upstream README: contains no parts relevant for
    Debian usage.
  Thanks to richard for suggestions (see bug#629443).
* Favor final releases over prereleases in rules and watch file.
  Thanks to Jan Dittberner.
* Track -src (not -linux) tarballs in rules and watch file.
  Thanks to Jan Dittberner.
* Drop patches 1004 and 1005 (integrated upstream) and simplify
  CXXFLAGS in rules file.
* Stop stripping no longer included source-less binaries from upstream
  tarballs.

[ Jan Dittberner ]
* refresh debian/patches/1000_use_system_crypto++.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
 
make -f makefile.unix            # Bitcoin with wxWidgets GUI
17
 
  or
18
 
make -f makefile.unix bitcoind   # Headless bitcoin
19
 
 
20
 
 
21
 
Dependencies
22
 
------------
23
 
sudo apt-get install build-essential
24
 
sudo apt-get install libgtk2.0-dev
25
 
sudo apt-get install libssl-dev
26
 
sudo apt-get install libdb4.7-dev
27
 
sudo apt-get install libdb4.7++-dev
28
 
Boost 1.40+: sudo apt-get install libboost-all-dev
29
 
or Boost 1.37: sudo apt-get install libboost1.37-dev
30
 
 
31
 
If using Boost 1.37, append -mt to the boost libraries in the makefile.
32
 
 
33
 
Requires wxWidgets 2.9.0 or greater, which uses UTF-8.  Don't try 2.8, it
34
 
won't work.
35
 
 
36
 
You need to download wxWidgets from http://www.wxwidgets.org/downloads/
37
 
and build it yourself.  See the build instructions and configure parameters
38
 
below.
39
 
 
40
 
Requires miniupnpc for UPnP port mapping.  To compile with UPnP support,
41
 
install miniupnpc and compile after setting USE_UPNP.  It can be downloaded
42
 
from http://miniupnp.tuxfamily.org/files/.  
43
 
 
44
 
Licenses of statically linked libraries:
45
 
wxWidgets      LGPL 2.1 with very liberal exceptions
46
 
Berkeley DB    New BSD license with additional requirement that linked software must be free open source
47
 
Boost          MIT-like license
48
 
miniupnpc      New (3-clause) BSD license
49
 
 
50
 
Versions used in this release:
51
 
GCC          4.3.3
52
 
OpenSSL      0.9.8g
53
 
wxWidgets    2.9.0
54
 
Berkeley DB  4.7.25.NC
55
 
Boost        1.37
56
 
miniupnpc    1.5
57
 
 
58
 
 
59
 
Notes
60
 
-----
61
 
The UI layout is edited with wxFormBuilder.  The project file is
62
 
uiproject.fbp.  It generates uibase.cpp and uibase.h, which define base
63
 
classes that do the rote work of constructing all the UI elements.
64
 
 
65
 
The release is built with GCC and then "strip bitcoin" to strip the debug
66
 
symbols, which reduces the executable size by about 90%.
67
 
 
68
 
 
69
 
wxWidgets
70
 
---------
71
 
cd /usr/local
72
 
tar -xzvf wxWidgets-2.9.0.tar.gz
73
 
cd wxWidgets-2.9.0
74
 
mkdir buildgtk
75
 
cd buildgtk
76
 
../configure --with-gtk --enable-debug --disable-shared --enable-monolithic
77
 
make
78
 
sudo su
79
 
make install
80
 
ldconfig
81
 
 
82
 
 
83
 
miniupnpc
84
 
---------
85
 
tar -xzvf miniupnpc-1.5.tar.gz
86
 
cd miniupnpc-1.5
87
 
make
88
 
sudo su
89
 
make install
90
 
 
91
 
 
92
 
Berkeley DB
93
 
-----------
94
 
You need Berkeley DB 4.7.  Don't use 4.8, the database/log0000* files
95
 
are incompatible.  If you have to build Berkeley DB yourself:
96
 
../dist/configure --enable-cxx
97
 
make
98
 
 
99
 
 
100
 
Boost
101
 
-----
102
 
If you need to build Boost yourself:
103
 
sudo su
104
 
./bootstrap.sh
105
 
./bjam install