HOWTO: re-add compile example for bitcoind
authorEagle[TM] <eagletm@mpex.net>
Wed, 4 Dec 2013 18:16:55 +0000 (19:16 +0100)
committerEagle[TM] <eagletm@mpex.net>
Wed, 4 Dec 2013 18:16:55 +0000 (19:16 +0100)
HOWTO.md

index 2a83757..51f30c7 100644 (file)
--- a/HOWTO.md
+++ b/HOWTO.md
@@ -103,6 +103,17 @@ Older versions of Electrum used to require a patched version of bitcoind.
 This is not the case anymore since bitcoind supports the 'txindex' option.
 We currently recommend bitcoind 0.8.5 stable.
 
+If your package manager does not supply a recent bitcoind and prefer to compile
+here are some pointers for Ubuntu:
+
+    $ cd ~/src && wget http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.5/bitcoin-0.8.5-linux.tar.gz
+    $ tar xfz bitcoin-0.8.5-linux.tar.gz
+    $ cd bitcoin-0.8.5-linux/src/src
+    $ sudo apt-get install make g++ python-leveldb libboost-all-dev libssl-dev libdb++-dev 
+    $ make USE_UPNP= -f makefile.unix
+    $ strip ~/src/bitcoin-0.8.5-linux/src/src/bitcoind
+    $ ln -s ~/src/bitcoin-0.8.5-linux/src/src/bitcoind ~/bin/bitcoind
+
 ### Step 4. Configure and start bitcoind
 
 In order to allow Electrum to "talk" to `bitcoind`, we need to set up a RPC