Small edits to Build Instructions

This commit is contained in:
xmr-eric 2017-05-14 22:44:48 -04:00 committed by GitHub
parent 009362451d
commit 72a7f1348f

View File

@ -66,7 +66,7 @@ Packaging for your favorite distribution would be a welcome contribution!
(Tested on Ubuntu 16.04 x86, 16.10 x64, Gentoo x64 and Linux Mint 18 "Sarah" - Cinnamon x64) (Tested on Ubuntu 16.04 x86, 16.10 x64, Gentoo x64 and Linux Mint 18 "Sarah" - Cinnamon x64)
1. Install Monero dependencies. 1. Install Monero dependencies
- For Ubuntu and Mint - For Ubuntu and Mint
@ -76,15 +76,15 @@ Packaging for your favorite distribution would be a welcome contribution!
`sudo emerge app-arch/xz-utils app-doc/doxygen dev-cpp/gtest dev-libs/boost dev-libs/expat dev-libs/openssl dev-util/cmake media-gfx/graphviz net-dns/unbound net-libs/ldns net-libs/miniupnpc sys-libs/libunwind` `sudo emerge app-arch/xz-utils app-doc/doxygen dev-cpp/gtest dev-libs/boost dev-libs/expat dev-libs/openssl dev-util/cmake media-gfx/graphviz net-dns/unbound net-libs/ldns net-libs/miniupnpc sys-libs/libunwind`
2. Grab an up-to-date copy of the monero-core repository. 2. Grab an up-to-date copy of the monero-core repository
`git clone https://github.com/monero-project/monero-core.git` `git clone https://github.com/monero-project/monero-core.git`
3. Go into the repository. 3. Go into the repository
`cd monero-core` `cd monero-core`
4. Install the GUI dependencies. 4. Install the GUI dependencies
- For Ubuntu 16.04 x86 - For Ubuntu 16.04 x86
@ -114,7 +114,7 @@ Packaging for your favorite distribution would be a welcome contribution!
`emerge dev-qt/qtmultimedia:5 media-gfx/zbar` `emerge dev-qt/qtmultimedia:5 media-gfx/zbar`
5. Build the GUI. 5. Build the GUI
- For Ubuntu and Mint - For Ubuntu and Mint
@ -124,9 +124,7 @@ Packaging for your favorite distribution would be a welcome contribution!
`QT_SELECT=5 ./build.sh` `QT_SELECT=5 ./build.sh`
6. Run the GUI client. The executable can be found in the build/release/bin folder.
`./build/release/bin/monero-wallet-gui`
### On OS X: ### On OS X:
@ -154,15 +152,15 @@ Packaging for your favorite distribution would be a welcome contribution!
This is the directory where Qt 5.x is installed on **your** system This is the directory where Qt 5.x is installed on **your** system
6. Grab an up-to-date copy of the monero-core repository. 6. Grab an up-to-date copy of the monero-core repository
`git clone https://github.com/monero-project/monero-core.git` `git clone https://github.com/monero-project/monero-core.git`
7. Go into the repository. 7. Go into the repository
`cd monero-core` `cd monero-core`
8. Start the build: 8. Start the build
`./build.sh` `./build.sh`
@ -170,7 +168,7 @@ The executable can be found in the `build/release/bin` folder.
**Note:** Workaround for "ERROR: Xcode not set up properly" **Note:** Workaround for "ERROR: Xcode not set up properly"
Edit `$HOME/Qt/5.7/clang_64/mkspecs/features/mac/default_pre.prf` Edit `$HOME/Qt/5.8/clang_64/mkspecs/features/mac/default_pre.prf`
replace replace
`isEmpty($$list($$system("/usr/bin/xcrun -find xcrun 2>/dev/null")))` `isEmpty($$list($$system("/usr/bin/xcrun -find xcrun 2>/dev/null")))`
@ -185,33 +183,33 @@ More info: http://stackoverflow.com/a/35098040/1683164
1. Install [msys2](http://msys2.github.io/), follow the instructions on that page on how to update packages to the latest versions 1. Install [msys2](http://msys2.github.io/), follow the instructions on that page on how to update packages to the latest versions
2. Install monero dependencies as described in [monero documentation](https://github.com/monero-project/monero) into msys2 environment. 2. Install monero dependencies as described in [monero documentation](https://github.com/monero-project/monero) into msys2 environment
**As we only build application for x86, install only dependencies for x86 architecture (i686 in package name)** **As we only build application for x86, install only dependencies for x86 architecture (i686 in package name)**
``` ```
pacman -S mingw-w64-i686-toolchain make mingw-w64-i686-cmake mingw-w64-i686-boost pacman -S mingw-w64-i686-toolchain make mingw-w64-i686-cmake mingw-w64-i686-boost
``` ```
3. Install git into msys2 environment: 3. Install git into msys2 environment
``` ```
pacman -S git pacman -S git
``` ```
4. Install Qt5 from [official site](https://www.qt.io/download-open-source/). 4. Install Qt5 from [official site](https://www.qt.io/download-open-source/)
- download unified installer, run and select following options: - download unified installer, run and select following options:
- Qt > Qt 5.7 > MinGW 5.3.0 32 bit - Qt > Qt 5.7 > MinGW 5.3.0 32 bit
- Tools > MinGW 5.3.0 - Tools > MinGW 5.3.0
- continue with installation - continue with installation
5. Open ```MinGW-w64 Win32 Shell``` shell: 5. Open ```MinGW-w64 Win32 Shell``` shell
```%MSYS_ROOT%\msys2_shell.cmd -mingw32``` ```%MSYS_ROOT%\msys2_shell.cmd -mingw32```
Where ```%MSYS_ROOT%``` will be ```c:\msys32``` if your host OS is x86-based or ```c:\msys64``` if your host OS Where ```%MSYS_ROOT%``` will be ```c:\msys32``` if your host OS is x86-based or ```c:\msys64``` if your host OS
is x64-based is x64-based
6. Install the latest version of boost, specificly the required static libraries: 6. Install the latest version of boost, specificly the required static libraries
``` ```
cd cd
wget http://sourceforge.net/projects/boost/files/boost/1.63.0/boost_1_63_0.tar.bz2 wget http://sourceforge.net/projects/boost/files/boost/1.63.0/boost_1_63_0.tar.bz2
@ -221,13 +219,13 @@ More info: http://stackoverflow.com/a/35098040/1683164
./b2 --prefix=/mingw32/boost --layout=tagged --without-mpi --without-python toolset=gcc address-model=32 variant=debug,release link=static threading=multi runtime-link=static -j$(nproc) install ./b2 --prefix=/mingw32/boost --layout=tagged --without-mpi --without-python toolset=gcc address-model=32 variant=debug,release link=static threading=multi runtime-link=static -j$(nproc) install
``` ```
7. Clone repository: 7. Clone repository
``` ```
cd cd
git clone https://github.com/monero-project/monero-core.git git clone https://github.com/monero-project/monero-core.git
``` ```
8. Build the GUI: 8. Build the GUI
``` ```
cd monero-core cd monero-core
export PATH=$(ls -rd /c/Qt/5.[6,7,8]/mingw53_32/bin | head -1):$PATH export PATH=$(ls -rd /c/Qt/5.[6,7,8]/mingw53_32/bin | head -1):$PATH
@ -235,4 +233,5 @@ More info: http://stackoverflow.com/a/35098040/1683164
cd build cd build
make deploy make deploy
``` ```
The resulting executable can be found in ```.\release\bin```
The executable can be found in the ```.\release\bin``` directory.