my short build experience on
osx mavericks / 10.9Do as mentioned in doc/readme-qt.rst, be sure to install qt 4.8.x, not the 5.xxx version:
- Download and install the `Qt Mac OS X SDK`_. It is recommended to also install Apple's Xcode with UNIX tools.
- Download and install `MacPorts`_.
- Execute the following commands in a terminal to get the dependencies:
::
sudo port selfupdate
sudo port install boost db48 miniupnpc
afterwards i run a "sudo port install boost+universal" (this takes a while, about 10 mins on my newer imac)
then, after you run qmake and make, you get 2 compile errors, one about serialize.h and one something about "missing db_cxx.h file", so lets fix this stuff:
edit the file src/serialize.h to remove the doubled insert() method, this bug is present in nearly all cryptocoin sources: see
https://github.com/bitcoin/bitcoin/pull/3162/filesfix paths in kittehcoin-qt.pro:near the beginning of the file:
BOOST_LIB_SUFFIX=-mt
BOOST_INCLUDE_PATH=/usr/local/include
BOOST_LIB_PATH=/usr/local/lib
BDB_INCLUDE_PATH=/opt/local/include/db48
BDB_LIB_PATH=/opt/local/lib/db48
OPENSSL_INCLUDE_PATH=/usr/local/include
OPENSSL_LIB_PATH=/usr/local/lib
MINIUPNPC_LIB_PATH=/usr/local/lib
MINIUPNPC_INCLUDE_PATH=/usr/local/include
....
further down, replace "macx:BDB_LIB_SUFFIX = -5.3" with 4.8:
isEmpty(BDB_LIB_SUFFIX) {
macx:BDB_LIB_SUFFIX = -4.8
}
since usually all altcoins use berkley db version 4.8...and the mac readme also states to install db48
![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
now run
then
if this small tutorial was helpful, feel free to send some kitteh love to
KTTSRRhjKHpZoUCbMj3ZDHvWt1s4fSTMNy