Open tomachinz opened 7 years ago
@viktorstrate That makefile adds a dependency on brew! Was that intentional? What about those of us who use macports rather than brew?
Here's the openssl I have installed using macports:
openssl @1.0.2m devel/openssl
I am not the author of the make file. But the brew commands, are not to install any packages, they are used to find packages installed by brew.
To fix it try to replace $(shell brew --prefix openssl)
with the path where openssl is installed using macports.
INCPATHS=-I[PATH_TO_OPENSSL]/include
LIBPATHS=-L[PATH_TO_OPENSSL]/lib
_Replace [PATH_TO_OPENSSL] with your path_
do you reslove it ?
Not resolved
Makefile from e93ff8c works great.
$ make -f <(curl -sL https://raw.githubusercontent.com/samr7/vanitygen/e93ff8c9dcb572efad0a8b01aab04c67c476f21c/Makefile.osx)
Can we add this to master
?
PR #75 fixes the issue.
Related: #65
Looks like Mac dropped support for openssl: https://www.anintegratedworld.com/mac-osx-fatal-error-opensslsha-h-file-not-found/
On Sat, Oct 7, 2017 at 8:43 AM, Tom Atkinson notifications@github.com wrote:
I'm on Mac os 10.12.6 and after pulling down from github when I try to rub "make" I get a fatal error about OpenSSL header file not found?
_~/G/vanitygen ❯❯❯ make master 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. make: *** [vanitygen.o] Error 1 ~/G/vanitygen ❯❯❯ brew install openssl ✘ 2 master Updating Homebrew... ==> Auto-updated Homebrew! Updated 1 tap (homebrew/core). No changes to formulae.
Warning: openssl 1.0.2l is already installed ~/G/vanitygen ❯❯❯ make master 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. make: *** [vanitygen.o] Error 1 ~/G/vanitygen ❯❯❯ ls ✘ 2 master CHANGELOG LICENSE Makefile.Win32 avl.h keyconv.c oclengine.h oclvanityminer.c pattern.h util.h winglue.c INSTALL Makefile README calc_addrs.cl oclengine.c oclvanitygen.c pattern.c util.c vanitygen.c winglue.h ~/G/vanitygen ❯❯❯ ./make master zsh: no such file or directory: ./make ~/G/vanitygen ❯❯❯ make ✘ 127 master 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. make: *** [vanitygen.o] Error 1 ~/G/vanitygen ❯❯❯_
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/samr7/vanitygen/issues/103, or mute the thread https://github.com/notifications/unsubscribe-auth/AF93xAzLthqAEgU0W0YAVuBhIzvHGVKTks5sp4AegaJpZM4PxWqC .
I'm on Mac os 10.12.6 and after pulling down from github when I try to rub "make" I get a fatal error about OpenSSL header file not found?
_~/G/vanitygen ❯❯❯ make master 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. make: *** [vanitygen.o] Error 1 ~/G/vanitygen ❯❯❯ brew install openssl ✘ 2 master Updating Homebrew... ==> Auto-updated Homebrew! Updated 1 tap (homebrew/core). No changes to formulae.
Warning: openssl 1.0.2l is already installed ~/G/vanitygen ❯❯❯ make master 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. make: *** [vanitygen.o] Error 1 ~/G/vanitygen ❯❯❯ ls ✘ 2 master CHANGELOG LICENSE Makefile.Win32 avl.h keyconv.c oclengine.h oclvanityminer.c pattern.h util.h winglue.c INSTALL Makefile README calc_addrs.cl oclengine.c oclvanitygen.c pattern.c util.c vanitygen.c winglue.h ~/G/vanitygen ❯❯❯ ./make master zsh: no such file or directory: ./make ~/G/vanitygen ❯❯❯ make ✘ 127 master 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. make: *** [vanitygen.o] Error 1 ~/G/vanitygen ❯❯❯_