Skip to content

Commit

Permalink
docs: update macos build guide
Browse files Browse the repository at this point in the history
- Removes the boost source compile, no longer needed since 41406bf
- Removes the bdb source compile, no longer needed since e23f14c
- Formats to be closer to the other build guides
- Remove $-signs in front of commands, to make it easier to c&p
- Updates the brew installation script to the current script from
  brew.sh
- Replaces the old build-osx guide because that is unmaintained
  and this one is better
- Now tested on Ventura, x86_64 and arm64
  • Loading branch information
patricklodder committed Oct 28, 2023
1 parent 86d754c commit 4c29438
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 200 deletions.
2 changes: 1 addition & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ these dependencies.

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

### Testing

Expand Down
99 changes: 0 additions & 99 deletions doc/Building-Dogecoin-1.14-for-Mac.md

This file was deleted.

65 changes: 65 additions & 0 deletions doc/build-macos.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Building dogecoin-qt 1.14 on MacOS #

Tested on MacOs Ventura on Intel (x86_64) and Apple Silicon (arm64) macs.

### Clone dogecoin locally, or check it out, etc. ###

```sh
git clone https://github.com/dogecoin/dogecoin.git
```

### Set up OSX basic build dependencies. ##

Install xcode-select commandline utils.

```sh
xcode-select --install
```

**NOTE:** If you have Xcode installed, simply zip it up and move it for this
process, as your current Xcode install will likely conflict. Unzip it back
later.

Make sure frameworks dir is properly owned...

```sh
sudo mkdir -p /usr/local/Frameworks
sudo chown $(whoami):admin /usr/local/Frameworks
```

Install Brew. (If you already have Brew installed, perform a `brew update`.)

```sh
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```

Install dependencies via Brew.

```sh
brew install autoconf automake libtool miniupnpc openssl pkg-config protobuf \
qt5 zeromq qrencode librsvg boost berkeydb@5
```

### Go back to your Dogecoin repo ###

```sh
cd ~/dogecoin

./autogen.sh
./configure --with-gui=qt5 --with-boost=`brew --prefix boost`
make
```

Go have a beverage.

```sh
make install
```

Go have another beverage.

Run it.

```sh
/usr/local/bin/dogecoin-qt
```
100 changes: 0 additions & 100 deletions doc/build-osx.md

This file was deleted.

0 comments on commit 4c29438

Please sign in to comment.