Title: [Bounty Done] Update bitcoind build script for v0.6.3 on Centos 32-bit & 64-bit Post by: weex on August 05, 2012, 07:33:10 AM Hello,
This bounty is to update this build script ( https://github.com/weex/bitcoind-centos ) to work with the latest stable release of bitcoind. The bounty is starting at 0.5 BTC courtesy of bytedisorder. If you'd like to add funds to the bounty send them to 1LFGFxfBjduLN3iYQ6JZPHDty6tT4kNuS1. Edit: Thanks to Eisenhower34 and an anonymous contributor, the bounty is up to 8 BTC. Edit2: The bounty was won by rapeghost. Thanks! -weex Title: Re: [Bounty] Update bitcoind build script for v0.6.3 on Centos 32-bit & 64-bit Post by: bytedisorder on August 06, 2012, 12:36:05 AM Thanks weex, it would be nice to get a working makefile so I can stop seeing:
Code: segfault at 0 ip 00000000007c0b90 Title: Re: [Bounty] Update bitcoind build script for v0.6.3 on Centos 32-bit & 64-bit Post by: error on August 06, 2012, 01:26:39 AM I have a working build of bitcoind and bitcoin-qt 0.6.3 on EL6.3 (and clones like CentOS). I will be releasing it as soon as I've finished the SELinux work, probably in the next week or so.
Title: Re: [Bounty] Update bitcoind build script for v0.6.3 on Centos 32-bit & 64-bit Post by: bytedisorder on August 06, 2012, 03:00:22 AM The issue with the present centOS makefile, located at https://github.com/weex/bitcoind-centos (https://github.com/weex/bitcoind-centos) is that upon running make there is a boost error as follows:
Code: obj/noui.o: In function `__static_initialization_and_destruction_0': Title: Re: [Bounty] Update bitcoind build script for v0.6.3 on Centos 32-bit & 64-bit Post by: Eisenhower34 on August 08, 2012, 07:33:26 PM Doubled the bounty. added another 4 BTC
Transaction: 448fea614b895763733f4279518a501c16c4bc1cfdcd2f782457880501b33684 Title: Re: [8 BTC Bounty] Update bitcoind build script for v0.6.3 on Centos 32-bit & 64-bit Post by: bytedisorder on August 12, 2012, 05:46:56 AM Still no luck building. ???
Title: Re: [8 BTC Bounty] Update bitcoind build script for v0.6.3 on Centos 32-bit & 64-bit Post by: rapeghost on August 14, 2012, 07:46:50 AM I've completed this task.
[bitcoin@bit-dev ~]$ bash centos* [bitcoin-compile] Running initialization checks.. DONE [bitcoin-compile] Boost: Not found, building.. DONE.. Found. [bitcoin-compile] OpenSSL: Not found, building.. DONE.. Found. [bitcoin-compile] Berkeley DB: Not found, building.. DONE.. Found. [bitcoin-compile] Bitcoind: Building.. DONE.. `bitcoind' -> `/home/bitcoin/bitcoind' -rwxrwxr-x 1 bitcoin bitcoin 5.9M Aug 14 11:45 bitcoind [bitcoin@bit-dev ~]$ cat /etc/centos-release CentOS release 6.3 (Final) I'm cleaning it up a bit and I will post the URL to this thread. Title: Re: [8 BTC Bounty] Update bitcoind build script for v0.6.3 on Centos 32-bit & 64-bit Post by: rapeghost on August 14, 2012, 07:59:31 AM Ok, it's good enough.
http://www.firenzee.com/bitcoin-centos.sh -- Script (signature: 76e11171314ba4450befdb348f37c43b bitcoin-centos.sh, size 7.5KB) http://www.firenzee.com/bitcoin-centos-static.gz (decompressed signature: 286a396a0bf0b3bfb51ed61c53a3446f bitcoin-centos-static, size 5.9MB) Notes & Features This was tested on a CentOS-6.3 Final machine and worked fine.. Please make sure you install gcc-c++ and the basic devel environment. The script has resume support, meaning if you get through 2 steps and the 3rd fails, you can fix that issue and not have to start from the beginning. makefile.new is no longer needed If you have crashing issues.. you might want to try disabling the default hardening features defined during compile. Enjoy and report critical bugs... Cordially yours the electronic rap ghost (james @ bitvps.com) Title: Re: [8 BTC Bounty] Update bitcoind build script for v0.6.3 on Centos 32-bit & 64-bit Post by: rapeghost on August 14, 2012, 09:57:42 AM I couldn't help myself... So I continued to work on it:
[bitcoin@bit-dev ~]$ ./bitcoin-centos.sh [bitcoin-compile] Running initialization checks.. DONE [bitcoin-compile] Boost: Found. [bitcoin-compile] OpenSSL: Found. [bitcoin-compile] Berkeley DB: Found. [bitcoin-compile] Bitcoind: Building.. DONE.. -rwxrwxr-x 1 bitcoin bitcoin 5.9M Aug 14 13:54 bitcoind [configure] would you like to configure your bitcoind now? (y/n) y bitcoind username [bitcoinrpc]: bitcoind password [password or random(default)]: bitcoind port [8332]: allowed ips [127.0.0.1]: do you want to download a snapshot of the blockchain via http? (y/n): y % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 10 2457M 10 245M 0 0 9755k 0 0:04:17 0:00:25 0:03:52 11.1M It configures its self, downloads a snapshot from eu1.bitcoincharts.com and then it starts. Pretty much the 1 stop script for getting up and running on CentOS Newest version is still the URL listed before. Signature: 55531a988a1c5d1eccadc67156961fcf bitcoin-centos.sh Title: Re: [8 BTC Bounty] Update bitcoind build script for v0.6.3 on Centos 32-bit & 64-bit Post by: Eisenhower34 on August 14, 2012, 12:36:14 PM Im on CentOS 5.7 and all I get is "FATAL: install glibc-static"... so I checked and it seems that there are only RPMs for CentOS 6 :/
Do you perhaps have an fix for this? Title: Re: [8 BTC Bounty] Update bitcoind build script for v0.6.3 on Centos 32-bit & 64-bit Post by: kjj on August 14, 2012, 04:25:03 PM Im on CentOS 5.7 and all I get is "FATAL: install glibc-static"... so I checked and it seems that there are only RPMs for CentOS 6 :/ Do you perhaps have an fix for this? Same in CentOS 5.8. Yum does not know a package named glibc-static, rpmfind.net only knows it for CentOS 6 with version 2.12 compared to version 2.5 of regular glibc installed on 5.8. Title: Re: [8 BTC Bounty] Update bitcoind build script for v0.6.3 on Centos 32-bit & 64-bit Post by: weex on August 14, 2012, 06:55:28 PM I've not had a chance to test this and would prefer not to have to setup a Centos 6 vm to do so. Can I get confirmation from someone besides rapeghost that it works?
Title: Re: [8 BTC Bounty] Update bitcoind build script for v0.6.3 on Centos 32-bit & 64-bit Post by: rapeghost on August 14, 2012, 08:16:05 PM Im on CentOS 5.7 and all I get is "FATAL: install glibc-static"... so I checked and it seems that there are only RPMs for CentOS 6 :/ Do you perhaps have an fix for this? Same in CentOS 5.8. Yum does not know a package named glibc-static, rpmfind.net only knows it for CentOS 6 with version 2.12 compared to version 2.5 of regular glibc installed on 5.8. I was told it needed to work in CentOS 6... so it does. Title: Re: [8 BTC Bounty] Update bitcoind build script for v0.6.3 on Centos 32-bit & 64-bit Post by: rapeghost on August 14, 2012, 08:17:24 PM ill look at it later then i guess
Title: Re: [8 BTC Bounty] Update bitcoind build script for v0.6.3 on Centos 32-bit & 64-bit Post by: rapeghost on August 16, 2012, 05:25:47 AM The script has been updated and confirmed working on both CentOS 6 + 5:
[bitcoin@centos-dev ~]$ bash bit* [bitcoin-compile] Running initialization checks.. CentOS 5 detected.. static binary DISABLED.. DONE [bitcoin-compile] Boost: Found. [bitcoin-compile] OpenSSL: Found. [bitcoin-compile] Berkeley DB: Found. [bitcoin-compile] Bitcoind: Building.. DONE.. -rwxrwxr-x 1 bitcoin bitcoin 4.6M Aug 16 09:17 bitcoind [configure] would you like to configure your bitcoind now? (y/n) Same location, http://www.firenzee.com/bitcoin-centos.sh I dont think I need to say this but DO NOT RUN THIS OR ANYTHING YOU GET ON THE INTERNET AS root. Title: Re: [8 BTC Bounty] Update bitcoind build script for v0.6.3 on Centos 32-bit & 64-bit Post by: weex on August 16, 2012, 10:03:13 AM I've tested the latest version of the script on Centos 5.7 x86 and 6.3 x64 and both worked great. rapeghost even added in some handy post-compile configuration stuff.
On 6.3 it was required to run the following before the shell script: yum install make gcc-c++ zlib-devel zlib zlib-static rapeghost, post your address and I'll send the bounty. Thanks for your work! Edit: Sent! Title: Re: [Bounty Done] Update bitcoind build script for v0.6.3 on Centos 32-bit & 64-bit Post by: weex on August 17, 2012, 09:57:56 AM [bitcoin-compile] OpenSSL: Not found, building.. OpenSSL failed to compile. i keep getting this error in centos 5.8 Final Did you install the things from the yum line in my previous post? What happens if you go into ./Bitcoin/Libraries/openssl-1.0.0g and do the following? Post it here. Code: make -j2 Title: Re: [Bounty Done] Update bitcoind build script for v0.6.3 on Centos 32-bit & 64-bit Post by: rapeghost on August 18, 2012, 09:28:10 PM Apparently not.
Title: Re: [Bounty Done] Update bitcoind build script for v0.6.3 on Centos 32-bit & 64-bit Post by: error on August 23, 2012, 05:05:39 AM Oh, I see you paid out the bounty. As I said previously, I've now published a complete repo where everything actually works and is reasonably secure (https://bitcointalk.org/index.php?topic=102650.0). Oh well, maybe next time...
Title: Re: [Bounty Done] Update bitcoind build script for v0.6.3 on Centos 32-bit & 64-bit Post by: Eisenhower34 on August 25, 2012, 01:15:54 PM rapeghost LEGENDARY work!!!
It felt like the installation on windows, one click and asked for the configuration during setup, the rest complete automatic. |