Merge pull request #375 from rnicoll/1.7-dev_windows_build_doc

Update Windows and Fedora build guides
This commit is contained in:
langerhans 2014-03-29 15:55:04 +01:00
commit c730403b17
2 changed files with 60 additions and 12 deletions

View file

@ -4,20 +4,32 @@ WINDOWS BUILD NOTES
Compilers Supported
-------------------
TODO: What works?
Note: releases are cross-compiled using mingw running on Linux.
Compilation under Windows is supported using MinGW (http://www.mingw.org/)
Dependencies
------------
Libraries you need to download separately and build:
To build Dogecoin for Windows, there are number of libraries you need to download
separately and build. Note that, for those used to a Linux/UNIX background, the search
paths for include files is not the conventional UNIX directories, see
http://www.mingw.org/wiki/IncludePathHOWTO for more details. Library files can be placed
in the more conventional /usr/local/lib directory, but see
http://www.mingw.org/wiki/HOWTO_Specify_the_Location_of_Libraries_for_use_with_MinGW in
case of difficulties.
In both cases, include and library files will need to be placed in the relevant directories
for the build process to succeed.
name default path download
--------------------------------------------------------------------------------------------------------------------
OpenSSL \openssl-1.0.1c-mgw http://www.openssl.org/source/
Berkeley DB \db-4.8.30.NC-mgw http://www.oracle.com/technology/software/products/berkeley-db/index.html
Boost \boost-1.50.0-mgw http://www.boost.org/users/download/
Boost \boost-1.55.0-mgw http://www.boost.org/users/download/
miniupnpc \miniupnpc-1.6-mgw http://miniupnp.tuxfamily.org/files/
qt http://download.qt-project.org/official_releases/qt/5.2/5.2.1/
protobuf http://protobuf.googlecode.com/files/protobuf-2.5.0.zip
libpng http://prdownloads.sourceforge.net/libpng/libpng-1.6.9.tar.gz?download
libqrencode http://fukuchi.org/works/qrencode/qrencode-3.4.3.tar.gz
Their licenses:
@ -25,13 +37,21 @@ Their licenses:
Berkeley DB New BSD license with additional requirement that linked software must be free open source
Boost MIT-like license
miniupnpc New (3-clause) BSD license
qt
protobuf
libpng
libqrencode
Versions used in this release:
OpenSSL 1.0.1c
Berkeley DB 4.8.30.NC
Boost 1.50.0
Boost 1.55.0
miniupnpc 1.6
qt 4.8.3
protobuf 2.5.0
libpng 1.6.9
libqrencode 3.2.0
OpenSSL
@ -53,13 +73,22 @@ MSYS shell:
sh ../dist/configure --enable-mingw --enable-cxx
make
Include and library files files should then be placed into MinGW search paths, for example:
Include: C:\MinGW\lib\gcc\mingw32\4.8.1\include\c++
Library: C:\MinGW\lib
Boost
-----
MSYS shell:
downloaded boost jam 3.1.18
cd \boost-1.50.0-mgw
bjam toolset=gcc --build-type=complete stage
cd boost_1_55_0/tools/build/v2/engine
./build.sh mingw
cp bin.ntx86/bjam.exe ../../../../
cd ../../../../
bjam --toolset=gcc
In case of problems, http://stackoverflow.com/questions/13256788/building-boost-1-52-with-mingw may be useful
MiniUPnPc
---------
@ -76,8 +105,8 @@ Dogecoin
-------
MSYS shell:
cd \dogecoin
sh autogen.sh
sh configure
dogecoin
./autogen.sh
BOOST_ROOT=../boost_1_55_0 ./configure --disable-tests
mingw32-make
strip dogecoind.exe

View file

@ -56,7 +56,7 @@ Dependency Build Instructions: Ubuntu & Debian
----------------------------------------------
Build requirements:
sudo apt-get install build-essential
sudo apt-get install build-essential pkg-config
sudo apt-get install libtool autotools-dev autoconf
sudo apt-get install libssl-dev
@ -155,6 +155,25 @@ If you need to build Boost yourself:
./bjam install
Dependency Build Instructions: Fedora
-------------------------------------
Tested on Fedora 20:
sudo yum install autoconf automake make gcc-c++
sudo yum install openssl-devel
sudo yum install miniupnpc-devel
sudo yum install boost-devel
sudo yum install libdb-cxx-devel
sudo yum install libss-devel
sudo yum install qrencode
Optional:
sudo yum install miniupnpc-devel (see USE_UPNP compile flag)
Security
--------
To help make your bitcoin installation more secure by making certain attacks impossible to