Advertisement
Guest User

Untitled

a guest
Jul 16th, 2017
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 KB | None | 0 0
  1. Defcoin Build Kali Rolling
  2. ---------------------------
  3.  
  4. Headless
  5. ---------
  6. apt-get install build-essential libssl-dev libboost-all-dev libboost1.62-all-dev zlib1g-dev
  7.  
  8. On Kali you will have to manually download and install the Berkeley DB 4.8 package:
  9.  
  10. wget http://download.oracle.com/berkeley-db/db-4.8.30.tar.gz
  11. tar -xvzf db-4.8.30.tar.gz
  12. cd db-4.8.30/build_unix
  13. ../dist/configure --enable-cxx
  14. make
  15. make install
  16.  
  17. Then, link the directories to the proper location:
  18.  
  19. export BDB_INCLUDE_PATH="/usr/local/BerkeleyDB.4.8/include"
  20. export BDB_LIB_PATH="/usr/local/BerkeleyDB.4.8/lib"
  21. sudo ln -s /usr/local/BerkeleyDB.4.8/lib/libdb-4.8.so /usr/lib/libdb-4.8.so
  22. sudo ln -s /usr/local/BerkeleyDB.4.8/lib/libdb_cxx-4.8.so /usr/lib/libdb_cxx-4.8.so
  23.  
  24. Install Unzip to extract the defcoin source
  25.  
  26. apt-get install unzip
  27.  
  28. Download and unzip the defcoin source from https://github/darkmatter0/defcoin:
  29.  
  30. wget https://github.com/darkmatter0/defcoin/archive/master.zip
  31. unzip master.zip
  32.  
  33. This will create a folder called defcoin-master
  34.  
  35. change directory into the source folder
  36.  
  37. cd defcoin-master/src
  38.  
  39. I do not and will never use UPnP, therefore I disable it in the makefile.
  40. Edit the makefile.unix file with your preferred editor (vi, emacs, nano, etc.) and change:
  41.  
  42. USE_UPNP=0
  43.  
  44. -to-
  45.  
  46. USE_UPNP=
  47.  
  48. (yes, thats without a number. Leave it empty)
  49.  
  50. Then save.
  51.  
  52.  
  53. make -f makefile.unix
  54.  
  55. GUI
  56. ----
  57.  
  58. Change to your defcoin-master directory
  59.  
  60. cd ~/defcoin-master
  61.  
  62. Install Qt 5:
  63.  
  64. apt-get install qt5-qmake libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev-tools
  65.  
  66. Run the following commands (yes, that is a dash/minus sign after the equals) :
  67.  
  68. qmake "USE_UPNP=-" defcoin-qt.pro
  69. make
  70.  
  71. After that, you should have an executable in the current working directory called "defcoin-qt".
  72. You can run it from the command line using:
  73.  
  74. ./defcoin-qt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement