-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
d547ebf Remove mention of MacPorts from OSX build docs (Wladimir J. van der Laan)
- Loading branch information
Showing
1 changed file
with
3 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,44 +26,14 @@ There's also an assumption that you already have `git` installed. If | |
not, it's the path of least resistance to install [Github for Mac](https://mac.github.com/) | ||
(OS X 10.7+) or | ||
[Git for OS X](https://code.google.com/p/git-osx-installer/). It is also | ||
available via Homebrew or MacPorts. | ||
available via Homebrew. | ||
|
||
You will also need to install [Homebrew](http://brew.sh) | ||
or [MacPorts](https://www.macports.org/) in order to install library | ||
dependencies. It's largely a religious decision which to choose, however, Homebrew | ||
is now used for building release versions. | ||
You will also need to install [Homebrew](http://brew.sh) in order to install library | ||
dependencies. | ||
|
||
The installation of the actual dependencies is covered in the Instructions | ||
sections below. | ||
|
||
Instructions: MacPorts | ||
---------------------- | ||
|
||
### Install dependencies | ||
|
||
sudo port install boost db48@+no_java openssl miniupnpc autoconf pkgconfig automake libtool | ||
|
||
Optional: install Qt4 | ||
|
||
sudo port install qt4-mac qrencode protobuf-cpp | ||
|
||
### Building `bitcoind` | ||
|
||
1. Clone the github tree to get the source code and go into the directory. | ||
|
||
git clone [email protected]:bitcoin/bitcoin.git bitcoin | ||
cd bitcoin | ||
|
||
2. Build bitcoind (and Bitcoin-Qt, if configured): | ||
|
||
./autogen.sh | ||
./configure | ||
make | ||
|
||
3. It is a good idea to build and run the unit tests, too: | ||
|
||
make check | ||
|
||
Instructions: Homebrew | ||
---------------------- | ||
|
||
|
@@ -126,18 +96,6 @@ All dependencies should be compiled with these flags: | |
-arch x86_64 | ||
-isysroot $(xcode-select --print-path)/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk | ||
|
||
For MacPorts, that means editing your macports.conf and setting | ||
`macosx_deployment_target` and `build_arch`: | ||
|
||
macosx_deployment_target=10.6 | ||
build_arch=x86_64 | ||
|
||
... and then uninstalling and re-installing, or simply rebuilding, all ports. | ||
|
||
As of December 2012, the `boost` port does not obey `macosx_deployment_target`. | ||
Download `https://gavinandresen-bitcoin.s3.amazonaws.com/boost_macports_fix.zip` | ||
for a fix. | ||
|
||
Once dependencies are compiled, see release-process.md for how the Bitcoin-Qt.app | ||
bundle is packaged and signed to create the .dmg disk image that is distributed. | ||
|
||
|