DiThi (OP)
Full Member
Offline
Activity: 156
Merit: 100
Firstbits: 1dithi
|
|
October 23, 2011, 06:36:01 PM Last edit: November 09, 2011, 12:04:43 AM by DiThi |
|
Copy and paste the entire thing on a terminal. Type user password when prompted. wget -O- https://nodeload.github.com/bitcoin/bitcoin/tarball/v0.5.0rc1|tar zxv&&cd bitcoin-bitcoin-398049e&&\ sudo apt-get install libssl-dev qt4-qmake libqt4-dev $(apt-cache search libdb|cut -d' ' -f1|egrep '\..\+\+-dev'|tail -1) \ libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev&&\ qmake .&& make -j$(cat /proc/cpuinfo |egrep ^processor|wc -l)
|
1DiThiTXZpNmmoGF2dTfSku3EWGsWHCjwt
|
|
|
kokjo
Legendary
Offline
Activity: 1050
Merit: 1000
You are WRONG!
|
|
October 23, 2011, 06:39:06 PM |
|
+1 nice one!
|
"The whole problem with the world is that fools and fanatics are always so certain of themselves and wiser people so full of doubts." -Bertrand Russell
|
|
|
ArkBlitz
Newbie
Offline
Activity: 8
Merit: 0
|
|
October 24, 2011, 02:29:24 AM |
|
I guess there's a typo. Instead of libdb4.8++-dev you should type libdb4.8-dev. Still, I'm unsure.
|
|
|
|
BitterTea
|
|
October 24, 2011, 02:42:41 AM |
|
I guess there's a typo. Instead of libdb4.8++-dev you should type libdb4.8-dev. Still, I'm unsure.
Unsure about what? This is pretty cool!
|
|
|
|
DiThi (OP)
Full Member
Offline
Activity: 156
Merit: 100
Firstbits: 1dithi
|
|
October 25, 2011, 09:32:40 PM |
|
It's not a typo. libdb++ is needed, and also installs libdb as dependency. I usually try my one-liners before (and sometimes after) posting them. Notice how I also added automatic detection of number of processors, for efficency
|
1DiThiTXZpNmmoGF2dTfSku3EWGsWHCjwt
|
|
|
RodeoX
Legendary
Offline
Activity: 3066
Merit: 1147
The revolution will be monetized!
|
|
October 26, 2011, 07:33:23 PM |
|
I get a build error under Ubuntu 10.10. It downloads fine then fails upon compiling. Still, thanks for your work! I'm sure it can be tweaked. src/headers.h:30: fatal error: openssl/buffer.h: No such file or directory compilation terminated. make: *** [build/bitcoin.o] Error 1
|
|
|
|
DiThi (OP)
Full Member
Offline
Activity: 156
Merit: 100
Firstbits: 1dithi
|
|
October 26, 2011, 07:56:12 PM |
|
Thanks for reporting. It seems I already had that lib. I edited the post, try now and tell me if you get any other error
|
1DiThiTXZpNmmoGF2dTfSku3EWGsWHCjwt
|
|
|
RodeoX
Legendary
Offline
Activity: 3066
Merit: 1147
The revolution will be monetized!
|
|
October 26, 2011, 08:17:21 PM |
|
That did the trick! Thanks. There is also a PPA for Ubuntu, but it has not been updated and still serves version 0.3.24 of the client.
|
|
|
|
ArkBlitz
Newbie
Offline
Activity: 8
Merit: 0
|
|
October 27, 2011, 01:06:20 AM |
|
Just for your information: libdb4.8++-dev is not available in Ubuntu's repositories. How to get it elsewhere?
|
|
|
|
DiThi (OP)
Full Member
Offline
Activity: 156
Merit: 100
Firstbits: 1dithi
|
|
October 27, 2011, 04:19:47 PM |
|
Oops, Ubuntu 11.10 doesn't have that version (I just updated this PC today). It has 5.1 but 10.10 doesn't. I've updated the post to autodetect the last libdb++ version. Hopefully it will work now on any Ubuntu, at least since 10.04.
|
1DiThiTXZpNmmoGF2dTfSku3EWGsWHCjwt
|
|
|
btc_artist
Full Member
Offline
Activity: 154
Merit: 102
Bitcoin!
|
|
October 27, 2011, 08:38:50 PM |
|
Good job DiThi! Now how about instructions like this to install a miner? (pretty please?)
|
BTC: 1CDCLDBHbAzHyYUkk1wYHPYmrtDZNhk8zf LTC: LMS7SqZJnqzxo76iDSEua33WCyYZdjaQoE
|
|
|
DiThi (OP)
Full Member
Offline
Activity: 156
Merit: 100
Firstbits: 1dithi
|
|
October 28, 2011, 12:15:48 AM |
|
You need recent GPU drivers for that (at least for nvidia, I don't know about ati), so update Ubuntu to 11.10 if you haven't already. Also you'll need a 64 bit distro (I suppose it could work on 32 bit, but having a 64 bit cpu it's pointless not to use a 64 bit linux; cpu intensive tasks perform much better). wget -O- http://ck.kolivas.org/apps/cgminer/cgminer-2.0.7-x86_64-built.tar.bz2|tar jxv I haven't tried solo mining... Register on any mining pool; I've tried http://yourbtc.net/ and it's easy. Add a worker, it gives you a user and a pass. Suppose those are 12345 and PaSsWd. cd cgminer-2.0.7; ./cgminer -o http://yourbtc.net:8999/ -u 12345 -p PaSsWd Look here for more commandline options: https://bitcointalk.org/index.php?topic=28402.0As I said I use nvidia, which is not very good for mining (ati is 3x faster for calculating hashes)...
|
1DiThiTXZpNmmoGF2dTfSku3EWGsWHCjwt
|
|
|
btc_artist
Full Member
Offline
Activity: 154
Merit: 102
Bitcoin!
|
|
October 28, 2011, 04:10:38 PM |
|
Nice. Thank you.
|
BTC: 1CDCLDBHbAzHyYUkk1wYHPYmrtDZNhk8zf LTC: LMS7SqZJnqzxo76iDSEua33WCyYZdjaQoE
|
|
|
btc_artist
Full Member
Offline
Activity: 154
Merit: 102
Bitcoin!
|
|
November 01, 2011, 05:42:37 PM |
|
New question. Would you be able to help me out with Ubuntu installation instructions for a CPU miner such as Ufasoft? (I know CPU mining is not economically feasible, I'm doing this as a learning experience).
|
BTC: 1CDCLDBHbAzHyYUkk1wYHPYmrtDZNhk8zf LTC: LMS7SqZJnqzxo76iDSEua33WCyYZdjaQoE
|
|
|
DiThi (OP)
Full Member
Offline
Activity: 156
Merit: 100
Firstbits: 1dithi
|
|
November 04, 2011, 08:26:41 PM |
|
New question. Would you be able to help me out with Ubuntu installation instructions for a CPU miner such as Ufasoft? (I know CPU mining is not economically feasible, I'm doing this as a learning experience).
Sorry for late reply. Use the same instructions above but adding these options to cgminer: -C -G (both upper case, C enables cpu mining and G disables gpu mining).
|
1DiThiTXZpNmmoGF2dTfSku3EWGsWHCjwt
|
|
|
btc_artist
Full Member
Offline
Activity: 154
Merit: 102
Bitcoin!
|
|
November 04, 2011, 08:57:08 PM |
|
Not a problem. Thank you for the reply!
|
BTC: 1CDCLDBHbAzHyYUkk1wYHPYmrtDZNhk8zf LTC: LMS7SqZJnqzxo76iDSEua33WCyYZdjaQoE
|
|
|
k
|
|
November 05, 2011, 02:02:33 AM |
|
In Ubuntu 11.10, I'm getting the following when I try to compile. In file included from src/qt/bitcoin.cpp:9:0: src/headers.h:36:20: fatal error: db_cxx.h: No such file or directory compilation terminated. make: *** [build/bitcoin.o] Error 1 Anyone have any ideas?
|
|
|
|
DiThi (OP)
Full Member
Offline
Activity: 156
Merit: 100
Firstbits: 1dithi
|
|
November 05, 2011, 03:57:25 AM |
|
Did you use my one-liner? In that case, can you paste here the output of this? apt-cache search libdb|cut -d' ' -f1|grep '++-dev'
|
1DiThiTXZpNmmoGF2dTfSku3EWGsWHCjwt
|
|
|
k
|
|
November 05, 2011, 09:50:49 AM |
|
Did you use my one-liner? In that case, can you paste here the output of this? apt-cache search libdb|cut -d' ' -f1|grep '++-dev' Ran the above and got this libdb++-dev libdb5.1++-dev libdbus-c++-dev
|
|
|
|
worldinacoin
|
|
November 05, 2011, 10:33:44 AM |
|
Just nice for me, about to install another Ubuntu system. Normally installing bitcoin give me tons of problems.
|
|
|
|
|