Pages:
Author

Topic: NOOB: Looking for tutorial for Raspberry Pi (Read 2179 times)

hero member
Activity: 560
Merit: 509
I prefer Zakir over Muhammed when mentioning me!
Have you followed this simple guide -- http://bit-post.com/featured/running-bitcoincore-0-10-on-a-raspberry-pi-2-4419? This will be easier for you.
newbie
Activity: 30
Merit: 0
So I made a 4GB swap file on my RasPi device and it fixed the memory errors.

Now I have these errors when trying to do the make command on the bitcoin core...

/tmp/ccnyh6yi.s: Assembler messages:
/tmp/ccnyh6yi.s:11054: Warning: swp{b} use is deprecated for ARMv6 and ARMv7
/tmp/ccnyh6yi.s:11083: Warning: swp{b} use is deprecated for ARMv6 and ARMv7
/tmp/ccnyh6yi.s:11119: Warning: swp{b} use is deprecated for ARMv6 and ARMv7
make[2]: Leaving directory '/home/pi/bitcoin/src'
Makefile:6283: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/pi/bitcoin/src'
Makefile:552: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
newbie
Activity: 30
Merit: 0
RasPi2 on has 1GB RAM So I assume I would not be able to do that with a RasPi?

Guess more google searching. I wish I knew more about the how-to on setting this up  Grin

Thanks Smiley

hero member
Activity: 560
Merit: 509
I prefer Zakir over Muhammed when mentioning me!
Thank you for your reply - I checked here

http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index-082944.html

and 4.8 is not available.... just 4.8.3

Just searched google and do not see anything linking to just 4.8.... they all seem to have an extra number after the 8....

Use BDB 4.8.3. Follow http://bit-post.com/featured/running-bitcoincore-0-10-on-a-raspberry-pi-2-4419.

What do you mean by your last comment?
I am new to do this so if there is an easier way I am all for it.... If when I am done, I can have my RasPi2 setup as a minor so I can have a better understanding of how this works... That is my ernd goal... Thanks

You will need to have 40 GB free space to store Bitcoin blockchain if you want to use Bitcoin core. Size of blockchain will increase day by day. If you don't have enough space, you can use lightweight client. When you use lightweight client, you don't need to download whole blockchain but you will need to trust full clients(aka Bitcoin nodes) for verifying payments*. Most used lightweight desktop clients are Multibit HD(https://multibit.org/) and Electrum(https://electrum.org/). You can find comparison between wallets here -- https://bitcoin.org/en/choose-your-wallet.

If you meet the below requirements, I recommend you to use Bitcoin core:

  • 50 gigabytes of free disk space
  • 2 gigabytes of memory (RAM)
  • A broadband Internet connection with upload speeds of at least 400 kilobits (50 kilobytes) per second

* http://bitcoin.stackexchange.com/a/18741[/list]
newbie
Activity: 30
Merit: 0
Thank you for your reply - I checked here

http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index-082944.html

and 4.8 is not available.... just 4.8.3

Just searched google and do not see anything linking to just 4.8.... they all seem to have an extra number after the 8....

What do you mean by your last comment?
I am new to do this so if there is an easier way I am all for it.... If when I am done, I can have my RasPi2 setup as a minor so I can have a better understanding of how this works... That is my ernd goal... Thanks
hero member
Activity: 560
Merit: 509
I prefer Zakir over Muhammed when mentioning me!
when I run it as just

./configure

I get the following:

configure: error: Found Berkeley DB other than 4.8, required for portable wallets (--with-incompatible-bdb to ignore or --disable-wallet to disable wallet functionality)
 -snip-

The error is showing because you have a different version of Berkeley DB. For Bitcoin core, BDB 4.8 is recommended. You can avoid that error by installing BDB 4.8(recommended) or by running ./configure --with-incompatible-bdb. Latter will break compatibility with pre-built binaries.

http://bit-post.com/featured/running-bitcoincore-0-10-on-a-raspberry-pi-2-4419 will be helpful for you.

BTW, you do have enough space to store blockchain, right? If not, try using lightweight clients such as Multibit HD and Electrum.
newbie
Activity: 30
Merit: 0
when I run it as just

./configure

I get the following:

configure: error: Found Berkeley DB other than 4.8, required for portable wallets (--with-incompatible-bdb to ignore or --disable-wallet to disable wallet functionality)


when I run configure with

configure: error: Found Berkeley DB other than 4.8, required for portable wallets (--with-incompatible-bdb to ignore or --disable-wallet to disable wallet functionality)


it works with zero errors but now will get make errors.
Will rerun make then post the errors.....For some reason it gives me the idea might be memory....
newbie
Activity: 30
Merit: 0
I will try to replicate it and post the error.... lead me to believe I was out of memory but not 100% sure

Do I need that database?
staff
Activity: 3458
Merit: 6793
Just writing some code
I did

./configure

and it failed giving DB errors....

Google to the rescue hopefully?

Still moving forward and learning

THANK YOU
Can you post what the errors are?
newbie
Activity: 30
Merit: 0
I did

./configure

and it failed giving DB errors....

Google to the rescue hopefully?

Still moving forward and learning

THANK YOU
staff
Activity: 3458
Merit: 6793
Just writing some code
the .configure with all the extras worked however make command left me with loads of errors

going to do some google searching.... right now unsure where to start.....


Just do normal configure without options.
newbie
Activity: 30
Merit: 0
the .configure with all the extras worked however make command left me with loads of errors

going to do some google searching.... right now unsure where to start.....

staff
Activity: 3458
Merit: 6793
Just writing some code
I found it will post what I did in a few.... THANK YOU ALL

Next guess make a wallet and a pool account...
You already have a wallet, that was what you just compiled. To run it, just go into the folder you built it in and enter
Code:
src/qt/bitcoin-qt
into the terminal.
newbie
Activity: 30
Merit: 0
I found it will post what I did in a few.... THANK YOU ALL

Next guess make a wallet and a pool account...
staff
Activity: 3458
Merit: 6793
Just writing some code
Now I have thos error -

checking into it....

libdb_cxx headers missing, Bitcoin Core requires this library for wallet functionality
Follow the instructions for Berkley DB in the link I gave you. It is near the bottom.
newbie
Activity: 30
Merit: 0
Now I have thos error -

checking into it....

libdb_cxx headers missing, Bitcoin Core requires this library for wallet functionality
newbie
Activity: 30
Merit: 0
Thanks just installed libtool and will look at those instructions in the link

woohoo - getting closer... Learning a lot today thanks
staff
Activity: 3458
Merit: 6793
Just writing some code
You shouldn't build from the master branch, it can be unstable and might break. You should build and use the 0.10 branch. That will build you the latest stable version 0.10.2.

You also need to install libtool.

Just follow the instructions here: https://github.com/bitcoin/bitcoin/blob/0.10/doc/build-unix.md They should work for a raspberry pi, just ignore the stuff about Debian or Ubuntu.
newbie
Activity: 30
Merit: 0
Hope you don't mind if I post some of my findings here....

My goal is to learn how to turn my RasPi 2 into a miner...

In order to mine Bitcoin I found this list is needed:
*    A pool account
*    Bitcoin Wallet
*    Raspberry Pi
*    Raspbian image SD card
*    USB Bitcoin miner


All seem to state you need all of these files installed:

sudo apt-get install build-essential autoconf libssl-dev libboost-dev libboost-chrono-dev libboost-filesystem-dev libboost-program-options-dev libboost-system-dev libboost-test-dev libboost-thread-dev libqt4-dev libprotobuf-dev protobuf-compiler libqrencode-dev

Hope that is the complete list of prerqu's...  Shocked

Then each one say you need this databse

Installing BerkeleyDB 4.8

wget download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz
tar -xzvf db-4.8.30.NC.tar.gz
cd db-4.8.30.NC/build_unix/
(This part is going to take a while)
../dist/configure –enable-cxx
make
sudo make install

!! If you are running a RaspberryPi2, replace the make command with make -j4 to use those extra cores !!

That is where I am so far... The databse installed perfectly... Now trying to get the bitcoin-master.zip to install from https://github.com/bitcoin/bitcoin

If I am doing anything wrong and need to be corrected - this is my first run through so please feel free to give advice. THANKS  Cool  Smiley

staff
Activity: 3458
Merit: 6793
Just writing some code
Each tutorial says you need to create a wallet and pool account but they do not show you how to do either. At least the ones I have found so far.
A wallet is to store your Bitcoin. Choose a wallet from this site here: https://bitcoin.org/en/choose-your-wallet I personally recommend you use Bitcoin Core if you want a full node, or Multibit or electrum if you don't want to run a node. Mining Pools allow you to mine Bitcoin more cost effectively. They guarantee a payout, but with a USB miner, you probably won't get too much. Here is a comparison of mining pools from the Bitcoin wiki: https://en.bitcoin.it/wiki/Comparison_of_mining_pools You can also look in the Mining > Mining Pools subforum for more stuff about pools. To make an account, just go to the website of whatever pool you like and register an account. They all have instructions on how to setup accounts and mine.
Pages:
Jump to: