Skip to content

Commit e0278f6

Browse files
authored
Merge pull request dogecoin#2686 from patricklodder/1.14.5-update-osx-guide
docs: update macos build guide
2 parents 08f9db0 + 1b62f12 commit e0278f6

File tree

4 files changed

+66
-200
lines changed

4 files changed

+66
-200
lines changed

Diff for: INSTALL.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ these dependencies.
5555

5656
- [Unix Build Notes](doc/build-unix.md)
5757
- [Windows Build Notes](doc/build-windows.md)
58-
- [macOS Build Notes](doc/Building-Dogecoin-1.14-for-Mac.md)
58+
- [macOS Build Notes](doc/build-macos.md)
5959

6060
### Testing
6161

Diff for: doc/Building-Dogecoin-1.14-for-Mac.md

-99
This file was deleted.

Diff for: doc/build-macos.md

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# Building dogecoin-qt 1.14 on MacOS #
2+
3+
Tested on MacOs Ventura and Sonoma on Intel (x86_64) and Apple Silicon (arm64) macs.
4+
5+
### Clone dogecoin locally, or check it out, etc. ###
6+
7+
```sh
8+
git clone https://github.com/dogecoin/dogecoin.git
9+
```
10+
11+
### Set up OSX basic build dependencies. ##
12+
13+
Install xcode-select commandline utils.
14+
15+
```sh
16+
xcode-select --install
17+
```
18+
19+
Make sure frameworks dir is properly owned...
20+
21+
```sh
22+
sudo mkdir -p /usr/local/Frameworks
23+
sudo chown $(whoami):admin /usr/local/Frameworks
24+
```
25+
26+
Install Brew. (If you already have Brew installed, perform a `brew update`.)
27+
28+
```sh
29+
git clone https://github.com/Homebrew/brew homebrew
30+
eval "$(homebrew/bin/brew shellenv)"
31+
brew update --force --quiet
32+
chmod -R go-w "$(brew --prefix)/share/zsh"
33+
```
34+
35+
Install dependencies via Brew.
36+
37+
```sh
38+
brew install autoconf automake libtool miniupnpc openssl pkg-config protobuf@21 \
39+
qt5 zeromq qrencode librsvg boost berkeley-db@5 libevent
40+
brew link protobuf@21
41+
```
42+
43+
### Go back to your Dogecoin repo ###
44+
45+
```sh
46+
cd ~/dogecoin
47+
48+
./autogen.sh
49+
./configure --with-gui=qt5 --with-boost=`brew --prefix boost`
50+
make
51+
```
52+
53+
Go have a beverage.
54+
55+
```sh
56+
make install
57+
```
58+
59+
Go have another beverage.
60+
61+
Run it.
62+
63+
```sh
64+
/usr/local/bin/dogecoin-qt
65+
```

Diff for: doc/build-osx.md

-100
This file was deleted.

0 commit comments

Comments
 (0)