build-osx.txt 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. ECOin - Copyright (c) - 2014/2021 - GPLv3 - epsylon@riseup.net (https://03c8.net)
  2. ===============================
  3. # SOURCES for ECOin (MacOS X) #
  4. ===============================
  5. All of the commands should be executed in Terminal.app
  6. ------------------------------
  7. (0.) Clone the github tree to get the source code:
  8. + Official:
  9. git clone http://code.03c8.net:3000/epsylon/ecoin
  10. + Mirror:
  11. git clone https://github.com/epsylon/ecoin
  12. ------------------------------
  13. =======================================
  14. # DAEMON -ecoind- for ECOin (MacOS X) #
  15. =======================================
  16. (1.) Download and install MacPorts from: http://www.macports.org/
  17. (2.) Install dependencies:
  18. Library Purpose Description
  19. ------- ------- -----------
  20. libssl SSL Support Secure communications
  21. libdb5.3 Berkeley DB Blockchain & wallet storage
  22. libboost Boost C++ Library
  23. miniupnpc UPnP Support Optional firewall-jumping support
  24. libqrencode QRCode generation Optional QRCode generation
  25. + From MacPorts:
  26. sudo port install boost db53 openssl miniupnpc
  27. + Optionally install qrencode (and set USE_QRCODE=1):
  28. sudo port install qrencode
  29. (3.) Now you should be able to build ecoind:
  30. cd ecoin/src
  31. make -f makefile.osx
  32. An executable named 'ecoind' will be built.
  33. ===============================
  34. # Qt4 GUI for ECOin (MacOS X) #
  35. ===============================
  36. (1.) Download and install MacPorts from: http://www.macports.org/
  37. (2.) Execute the following commands in a terminal to get the dependencies:
  38. sudo port selfupdate
  39. sudo port install qt4-mac qt4-creator-mac boost db53 miniupnpc
  40. (3.) Open the .pro file in Qt Creator (with Desktop kit) and build as normal (cmd-B)
  41. An executable named 'ecoin-qt' will be built.
  42. ===============================
  43. For a list of command-line options:
  44. ./ecoind --help
  45. To start the ECOin daemon:
  46. ./ecoind -daemon
  47. For ECOin-QT Wallet
  48. ./ecoin-qt
  49. ===============================