vanitygen
vanitygen copied to clipboard
No brew formula for vanity gem?
Just wanted to confirm whether there is any reason behind not providing a brew formula for vanitygen
. Is this intentional or will one be approved if created?
bro just do: brew tap WyseNynja/bitcoin then brew install vanitygen
it the same version as this one, shame author no longer working on it but it still works just fine...
I spent several hours over the weekend trying to build from source for OSX 10.10.5 and failed. Some people suggested that Apple switched from OpenSSL and so you have to change the makefile to tell it where to find that crypto library. I tried all that, brew is installed fine, full permissions on the computer, etc. but after running make in the directory I still get:
cc -ggdb -O3 -Wall -c -o vanitygen.o vanitygen.c
vanitygen.c:26:10: fatal error: 'openssl/sha.h' file not found
#include <openssl/sha.h>
^
1 error generated.
In the end I was only able to make vanitygen work with the steps listed:
brew tap WyseNynja/bitcoin
brew install vanitygen
And now I can use vanitygen like: vanitygen 1LOVE
I hope the project owner will make the process more seamless or at least this tip will rise up on Google for all the other people wondering how to build it. Thanks to @XxUnkn0wnxX.
I had this same problem and found that by running:
brew install openssl
brew link openssl --force
would fix that problem, but it still won't compile.
You can see it referenced on my ticket here: https://github.com/samr7/vanitygen/issues/82
CFLAGS=-ggdb -O3 -Wall -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib
==> Tapping wysenynja/bitcoin
Cloning into '/usr/local/Homebrew/Library/Taps/wysenynja/homebrew-bitcoin'...
remote: Counting objects: 13, done.
remote: Compressing objects: 100% (13/13), done.
remote: Total 13 (delta 2), reused 4 (delta 0), pack-reused 0
Unpacking objects: 100% (13/13), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/wysenynja/homebrew-bitcoin/Formula/armory.rb
Calling 'depends_on :python' is disabled!
Use 'depends_on "python@2"' instead.
/usr/local/Homebrew/Library/Taps/wysenynja/homebrew-bitcoin/Formula/armory.rb:15:in `<class:Armory>'
Please report this to the wysenynja/bitcoin tap!
Or, even better, submit a PR to fix it!
Error: Cannot tap wysenynja/bitcoin: invalid syntax in tap!