-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Conversation
A formula to install the headless version of Bitcoin, a decentralized virtual currency. Bitcoin requires a previous version of Berkeley-DB; thus this this formula is installed in `keg_only` mode by default. Caveats concerning this dependency and how to install Bitcoin using a homebrew-alt formula for Berkeley-DB are detailed in the formula
This patch needs to go upstream. |
@adamv it seems the Bitcoin formula was never accepted the first time. The patch I provided is due to inconsistencies in the makefile for OS X on the Bitcoin github repo. This pull request should merge cleanly. |
@adamv, I updated the formula to use a tarball and pushed upstream. Do you see any other changes that should be incorporated? |
@mxcl @MikeMcQuaid - Max, Mike, merge this if you want; I'm disabling notifcations. |
So… sorry I'm late to this. How about installing berkley db 4 into the bitcoin keg? Since it is required, it needs to be installed. I apologise for our policies that are making this hard, but it really doesn't work great to install lots of the same thing in parallel. If you haven't seen such things then I recommend the git formula which does something similar. Then install bdb4 with a prefix which is the Or if possible you can compile the bdb bits statically, and get bitcoin to link to that and then you might have less of a headache. Another option is to be clever and invent someway for failed deps check to spew out some text. So you could tell the user how to install the bdb4 dep. But frankly I think installing it in the bitcoin keg is more convenient for the user that just wants to use this tool. |
Max, no this is my fault--its my first time submitting a formula. Thanks for pointing out the git formula. I'll check it out and give this another shot. |
Well, I wouldn't say it was your fault. You’re doing something Homebrew isn't good at, which would make it my fault. Thank you for this interesting formula contribution and I apologise that it is not an easy submission for you. And feel free to ask me for questions, as I haven't been that clear in the above details. |
Any luck with this? If not, I can perhaps help. |
Wow, I totally missed Max's message. I assumed this was closed some time ago. Mike, you're welcome to fix this up. I know you're much more familiar with homebrew and submitting patches :) |
Cheers dude, will try and take a look. |
Actually, had a look and they appear to ship a decent binary version with new releases in a DMG so I don't see the advantage in including this I'm afraid (particularly given it needs a bit of work). Sorry, closing. |
That's a much better solution! Thanks Mike! Sent from my iPhone On Jan 24, 2012, at 1:21 PM, Mike McQuaid
|
Just wanted to add that they don't include |
I don't think this is worth the trouble of adding to homebrew any more. Reading through the bitcoin stackexchange pages and the forums it seems like people are referencing: http://bitcoin.stackexchange.com/questions/793/what-are-the-steps-in-building-bitcoind-on-mac-os-x-10-6 And even then the view count of the page is fairly low. |
This is a new formula for Bitcoin, which addresses the issues from a previous attempt by @melek-bitcoin, see: Issue #4472 and Issue #4461.
The original issue was a dependency on Berkeley-DB 4.x, which is not provided in the standard installation of homebrew. Thus a formula from the homebrew-alt repo is used and by default this formula installs bitcoin in
keg_only
mode, as suggested by @adamv.This formula provides the necessary caveats to install Bitcoin manually and also provides an optional flag to link bitcoind, if the user chooses to do so. Additionally, this new version reduces the download time of Bitcoin by pulling straight from the git repo on github, instead of the larger package on sourceforge.