]> Git Repo - VerusCoin.git/blame - build-unix.txt
Fix CRLF
[VerusCoin.git] / build-unix.txt
CommitLineData
8bd66202
GA
1Copyright (c) 2009-2010 Satoshi Nakamoto
2Distributed under the MIT/X11 software license, see the accompanying
3file license.txt or http://www.opensource.org/licenses/mit-license.php.
4This product includes software developed by the OpenSSL Project for use in
5the OpenSSL Toolkit (http://www.openssl.org/). This product includes
6cryptographic software written by Eric Young ([email protected]).
7
8
9UNIX BUILD NOTES
10================
11
12Dependencies
13------------
14sudo apt-get install build-essential
15sudo apt-get install libgtk2.0-dev
16sudo apt-get install libssl-dev
17sudo apt-get install libdb4.7-dev
18sudo apt-get install libdb4.7++-dev
19sudo apt-get install libboost-all-dev
20
21We're now using wxWidgets 2.9, which uses UTF-8.
22
23There isn't currently a debian package of wxWidgets we can use. The 2.8
24packages for Karmic are UTF-16 unicode and won't work for us, and we've had
25trouble building 2.8 on 64-bit.
26
27You need to download wxWidgets from http://www.wxwidgets.org/downloads/
28and build it yourself. See the build instructions and configure parameters
29below.
30
31Licenses of statically linked libraries:
32wxWidgets LGPL 2.1 with very liberal exceptions
33Berkeley DB New BSD license with additional requirement that linked software must be free open source
34Boost MIT-like license
35
36Versions used in this release:
37GCC 4.4.3
38OpenSSL 0.9.8k
39wxWidgets 2.9.0
40Berkeley DB 4.7.25.NC
41Boost 1.40.0
42
43
44Notes
45-----
46The UI layout is edited with wxFormBuilder. The project file is
47uiproject.fbp. It generates uibase.cpp and uibase.h, which define base
48classes that do the rote work of constructing all the UI elements.
49
50The release is built with GCC and then "strip bitcoin" to strip the debug
51symbols, which reduces the executable size by about 90%.
52
53
54wxWidgets
55---------
56cd /usr/local
57tar -xzvf wxWidgets-2.9.0.tar.gz
58cd /usr/local/wxWidgets-2.9.0
59mkdir buildgtk
60cd buildgtk
61../configure --with-gtk --enable-debug --disable-shared --enable-monolithic
62make
63sudo su
64make install
65ldconfig
66su <username>
67cd ..
68mkdir buildbase
69cd buildbase
70../configure --disable-gui --enable-debug --disable-shared --enable-monolithic
71make
72sudo su
73make install
74ldconfig
75
76
77Boost
78-----
79If you want to build Boost yourself,
80cd /usr/local/boost_1_40_0
81su
82./bootstrap.sh
83./bjam install
This page took 0.029543 seconds and 4 git commands to generate.