fireworm71 / veriumMiner

veriumMiner for solomining and pools
Other
59 stars 36 forks source link

No cpuminer in Ubuntu 18.04 #34

Open jinxmitchell opened 6 years ago

jinxmitchell commented 6 years ago

I've been trying to install on a rockpro64 running 18.04 but have had no luck. In my reading I saw others have the same issue I'm having when trying to run cpuminer on 18.04. Has anyone else been able to get this going on 18.04 and /or rockpro64?

Edit:

cpu-miner.c:28:10: fatal error: openssl/sha.h: No such file or directory

include <openssl/sha.h>

      ^~~~~~~~~~~~~~~

compilation terminated. Makefile:723: recipe for target 'cpuminer-cpu-miner.o' failed make[2]: [cpuminer-cpu-miner.o] Error 1 make[2]: Waiting for unfinished jobs.... mv -f .deps/cpuminer-sysinfos.Tpo .deps/cpuminer-sysinfos.Po In file included from api.c:318:0: compat/curl-for-windows/openssl/openssl/crypto/sha/sha.h:62:10: fatal error: openssl/e_os2.h: No such file or directory

include <openssl/e_os2.h>

      ^~~~~~~~~~~~~~~~~

compilation terminated. Makefile:751: recipe for target 'cpuminer-api.o' failed make[2]: [cpuminer-api.o] Error 1 mv -f .deps/cpuminer-util.Tpo .deps/cpuminer-util.Po make[2]: Leaving directory '/home/rock64/veriumMiner' Makefile:928: recipe for target 'all-recursive' failed make[1]: [all-recursive] Error 1 make[1]: Leaving directory '/home/rock64/veriumMiner' Makefile:451: recipe for target 'all' failed make: *** [all] Error 2 rock64@rockpro64:~/veriumMiner$ cpuminer --help bash: cpuminer: command not found

fireworm71 commented 6 years ago

Did you install correct dependencies?

apt-get install automake autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev zlib1g-dev

Looks like you are missing the openssl dep..