Closed bitminer2017 closed 5 years ago
Hello any Admins here to answer???
JayDDee either fell off the planet or abandoned this hub. To your question there is one working cpu miner for Mac I know and that is quagliero's cpuminer-multi.
Thanks!!!!!
This one is a better miner I think. I found a docker version but it's old. Not too sure how to mod docker to run this one.
I'm back.
Some work needs to be done to get cpuminer-opt working on MAC. This requires some development knowledge on MAC which I don't have. But I'm willing to work with someone who does.
I assume many errors will be due to missing libraries. If any libraries aren't available it creates even more work.
If someone has a compile console, hopefully with the trivial erros already worked out including library issues, I can lookit over for clues.
One technique that can be used is to remove the algo that have problems compiling. It's simple to do if you know a little bit about Makefile. Just delete the offending algo's source file from Makefile.am and delete the algo registration in algo-gate.c.
This is effective of only one or two algos cause problems and can determne if the core code works on MAC.
I don't like to leave this open if nothing is going on. I'm willing to help as I can but the leg work has to be done by a MAC user with some technical skills. And that's not me.
If no one steps up I'm just going to close the issue..
I can go so far when it comes to compiling. I can do what I can and google the rest
@Tomcatt
If you're willing to post your compile errors when you get stuck I can have al ook at them, as well as anyone else reading, and provide input.
As always please provide commands executed, and the fist warnings and errors. Also please mention any code changes you may have made, if you are so adventurous.
I expect there will be algos that just won't compile but I hope the core code can. It may be necessary to remove problem algos to move forward. It's fairly simple:
Yeah sure, I'll send you what errors I'll receive. UPDATE:
cpu-miner.c:39:10: fatal error: 'openssl/sha.h' file not found
^~~~~~~~~~~~~~~
algo-gate-api.c:18:10: fatal error: 'openssl/sha.h' file not found
^~~~~~~~~~~~~~~
api.c:30:10: fatal error: 'openssl/sha.h' file not found
^~~~~~~~~~~~~~~
1 error generated. make[2]: [cpuminer-api.o] Error 1 make[2]: Waiting for unfinished jobs.... mv -f .deps/cpuminer-sysinfos.Tpo .deps/cpuminer-sysinfos.Po 1 error generated. make[2]: [cpuminer-cpu-miner.o] Error 1 1 error generated. make[2]: [cpuminer-algo-gate-api.o] Error 1 make[1]: [all-recursive] Error 1 make: [all] Error 2
I've installed brew and I have openssl install but not sure how to get it to look at it unless I need to github that old version of openssl 1.0 (common problem I run across with wallets.)
You need openssl installed. I don't know how to do this but it could be a recurring theme. Expect to see more errors for files or symbols not found. The error mesage should give a hint what package is missing. You should refer to the compile instructions for a list of likely missing packages. Whether all of them are available on MAC is a different question.
Edit: When you look for packages look specifically for the development version. Some packages are split with seperate run time, and development versions. If there's no seperate dev package the dev files may be included in the main package.
Okay, got passed the openssl error. New problem:
In file included from algo/argon2/argon2a/ar2/ar2-scrypt-jane.c:17: In file included from algo/argon2/argon2a/ar2/sj/scrypt-jane-portable.h:306: algo/argon2/argon2a/ar2/sj/scrypt-jane-portable-x86.h:313:3: error: unknown token in expression a2(mov [%1 + 0], eax) ^ algo/argon2/argon2a/ar2/sj/scrypt-jane-portable-x86.h:185:19: note: expanded from macro 'a2'
^
algo/argon2/argon2a/ar2/sj/scrypt-jane-portable-x86.h:178:24: note: expanded from macro 'GNU_AS2'
^
That one will require surgery, that algo must be removed. Fortunately it's simple to remove an algo To remove argon2a:
delete the algo folder: rm -rf algo/argon2/argon2a Be careful don't delete argon2d (yet).
Edit algo-gate-api.c and delete or coment out the call to register argon2.
case ALGO_ALLIUM: register_allium_algo ( gate ); break;
case ALGO_ANIME: register_anime_algo ( gate ); break;
// case ALGO_ARGON2: register_argon2_algo ( gate ); break; case ALGO_ARGON2D250: register_argon2d_crds_algo ( gate ); break; case ALGO_ARGON2D500: register_argon2d_dyn_algo ( gate ); break; case ALGO_ARGON2D4096: register_argon2d4096_algo ( gate ); break; case ALGO_AXIOM: register_axiom_algo ( gate ); break;
Edit Makefile.am and delete all references to files in algo/argon2/argon2a
Do a clean compile.
Edit: formatting is messed up, can't seem to get it straight.
It looks like this has stalled, I guess it's too much work. It is going to be an iterative task installing missing packages, fixing or culling problem algos, repeat.
Last call, it's closing time.
Goodnight.
I want to CPU mine via My Mac Your wallet does not work. and I cant Find the miner for Mac high Sierra is there one avaliable?