user285: Following the instructions in build-osx.txt (which seem sadly out of date) leaves me without a file named libboost_system.a.
Here is how I built boost:
% cd boost_1_42_0
% ./bootstrap.sh
% ./bjam architecture=combined address-model=32_64 macosx-version=10.6 \
    macosx-version-min=10.6 link=static runtime-link=static -a \
    --toolset=darwin --prefix=/Users/`whoami`/bitcoin/deps install

I had to edit the makefile.osx to add some include paths, but I could not find libboost_system.a. What am I missing?
Also, I needed to compile OpenSSL because OS X only comes with dynamically linked libraries.

user53: The easiest way to build on a Mac is to use macports. It is much easier with the latest git HEAD, which includes the nice new Qt GUI.
This should work with latest git:

Download and install Apple's Xcode developer SDK stuff (I assume you already have)
Install MacPorts from http://www.macports.org/
sudo port install qt4-mac boost db48 dbus openssl
From the top of the bitcoin source tree:  cd contrib/miniupnpc; sudo port install
At the top of the bitcoin source tree, run:  qmake; make

You should end up with the Bitcoin Qt.app.
To compile bitcoind, edit src/makefile.osx and set:
DEPSDIR=/opt/local
INCLUDEPATHS= \
 -I"$(DEPSDIR)/include" \
 -I"$(DEPSDIR)/include/db48"

LIBPATHS= \
 -L"$(DEPSDIR)/lib" \
 -L"$(DEPSDIR)/lib/db48"

Updating makefile.osx and the build instructions is on my TODO list for the 0.5 release (if you want to volunteer to submit a patch....)

user-1: If you just want to build Bitcoind once then Gavin's method seems like the most straight forward. If you want to develop for Bitcoin it's worth setting up an Xcode project.

Create a blank Xcode project in your bitcoin root directory.
Create a new target called bitcoind
Drag all the files from the src folder into Xcode, make sure you have bitcoin selected in add to targets.
Remove the README, Makefiles and any other none .h .cpp 

Add "./deps/include" to "Header search paths"
Add "./deps/lib" to "Library Search Paths"

Add libssl and libcrypto to your linker flags (The system ones should work fine)

In Build phases add the required libraries. Should look something like this (excluding the mysql libs)

Depending on what version of Xcode your using You might need to change the Default compile to gcc as clang seems to have problems with cryptopp, or you can just move cryptopp to deps and import the .a.
Apologies I cannot be more precise, I did write down instructions at the time but i seem to have lost them. You can build for 10.6 & 10.7 with no changes required other than setting the SDK in Xcode.

285: <p>Following the instructions in build-osx.txt (which seem sadly out of date) leaves me without a file named libboost_system.a.</p>

<p>Here is how I built boost:</p>

<pre><code>% cd boost_1_42_0
% ./bootstrap.sh
% ./bjam architecture=combined address-model=32_64 macosx-version=10.6 \
    macosx-version-min=10.6 link=static runtime-link=static -a \
    --toolset=darwin --prefix=/Users/`whoami`/bitcoin/deps install
</code></pre>

<p>I had to edit the makefile.osx to add some include paths, but I could not find libboost_system.a. What am I missing?</p>

<p>Also, I needed to compile OpenSSL because OS X only comes with dynamically linked libraries.</p>
 53: <p>The easiest way to build on a Mac is to use macports. It is much easier with the latest git HEAD, which includes the nice new Qt GUI.</p>

<p>This should work with latest git:</p>

<ol>
<li>Download and install Apple's Xcode developer SDK stuff (I assume you already have)</li>
<li>Install MacPorts from <a href="http://www.macports.org/">http://www.macports.org/</a></li>
<li>sudo port install qt4-mac boost db48 dbus openssl</li>
<li>From the top of the bitcoin source tree:  cd contrib/miniupnpc; sudo port install</li>
<li>At the top of the bitcoin source tree, run:  qmake; make</li>
</ol>

<p>You should end up with the Bitcoin Qt.app.</p>

<p>To compile bitcoind, edit src/makefile.osx and set:</p>

<pre><code>DEPSDIR=/opt/local
INCLUDEPATHS= \
 -I"$(DEPSDIR)/include" \
 -I"$(DEPSDIR)/include/db48"

LIBPATHS= \
 -L"$(DEPSDIR)/lib" \
 -L"$(DEPSDIR)/lib/db48"
</code></pre>

<p>Updating makefile.osx and the build instructions is on my TODO list for the 0.5 release (if you want to volunteer to submit a patch....)</p>
 -1: <p>If you just want to build Bitcoind once then Gavin's method seems like the most straight forward. If you want to develop for Bitcoin it's worth setting up an Xcode project.</p>

<ul>
<li>Create a blank Xcode project in your bitcoin root directory.</li>
<li>Create a new target called bitcoind</li>
<li>Drag all the files from the src folder into Xcode, make sure you have bitcoin selected in add to targets.</li>
<li>Remove the README, Makefiles and any other none .h .cpp </li>
</ul>

<p>Add "./deps/include" to "Header search paths"
Add "./deps/lib" to "Library Search Paths"</p>

<p><img src="https://i.stack.imgur.com/tR9gt.png" alt="enter image description here"></p>

<p>Add libssl and libcrypto to your linker flags (The system ones should work fine)</p>

<p><img src="https://i.stack.imgur.com/wQxrI.png" alt="enter image description here"></p>

<p>In Build phases add the required libraries. Should look something like this (excluding the mysql libs)</p>

<p><img src="https://i.stack.imgur.com/Xod4a.png" alt="enter image description here"></p>

<p>Depending on what version of Xcode your using You might need to change the Default compile to gcc as clang seems to have problems with cryptopp, or you can just move cryptopp to deps and import the .a.</p>

<p>Apologies I cannot be more precise, I did write down instructions at the time but i seem to have lost them. You can build for 10.6 &amp; 10.7 with no changes required other than setting the SDK in Xcode.</p>
