Files
triangles_v5/doc/build-osx.txt
TrianglesCommunityProject 2bbdc915ba Black Pharao Update 1
- added/fixed some Mac build instructions
2015-07-23 10:06:42 +02:00

57 lines
1.8 KiB
Plaintext

Copyright (c) 2009-2012 Bitcoin developers
Distributed under the MIT/X11 software license, see the accompanying file
license.txt or http://www.opensource.org/licenses/mit-license.php. This
product includes software developed by the OpenSSL Project for use in the
OpenSSL Toolkit (http://www.openssl.org/). This product includes cryptographic
software written by Eric Young (eay@cryptsoft.com) and UPnP software written by
Thomas Bernard.
Mac OS X trianglesd build instructions
Laszlo Hanyecz <solar@heliacal.net>
Douglas Huff <dhuff@jrbobdobbs.org>
These instructions are not complete and probably won't work.
They will be ammneded in the future.
See readme-qt.rst for instructions on building triangles QT, the
graphical user interface.
Tested on 10.5 and 10.6 intel. PPC is not supported because it's big-endian.
All of the commands should be executed in Terminal.app.. it's in
/Applications/Utilities
You need to install XCode with all the options checked so that the compiler and
everything is available in /usr not just /Developer I think it comes on the DVD
but you can get the current version from http://developer.apple.com
1. Clone the github tree to get the source code:
git clone https://github.com/wurstgelee/triangles triangles
2. Download and install MacPorts from http://www.macports.org/
2a. (for 10.7 Lion)
Edit /opt/local/etc/macports/macports.conf and uncomment "build_arch i386"
3. Install dependencies from MacPorts
sudo port install boost db48 openssl miniupnpc
Optionally install qrencode (and set USE_QRCODE=1):
sudo port install qrencode
4. Now you should be able to build trianglesd:
cd triangles/src
make -f makefile.osx
Run:
./trianglesd --help # for a list of command-line options.
Run
./trianglesd -daemon # to start the triangles daemon.
Run
./trianglesd help # When the daemon is running, to get a list of RPC commands