cbuchner1 / CudaMiner

a CUDA accelerated litecoin mining application based on pooler's CPU miner
Other
692 stars 304 forks source link

Cannot configure, OS X 10.9 #63

Open allthetime opened 10 years ago

allthetime commented 10 years ago

./configure.sh returns:

configure: error: cannot run /bin/sh ./config.sub

anyone know what's going on? automake, autoconf, libtools, etc. are all installed

galamdring commented 10 years ago

I'm not an expert in OSX, but have you checked that /bin/sh is valid? On Jan 11, 2014 10:21 AM, "allthetime" notifications@github.com wrote:

./configure.sh returns:

configure: error: cannot run /bin/sh ./config.sub

anyone know what's going on? automake, autoconf, libtools, etc. are all installed

— Reply to this email directly or view it on GitHubhttps://github.com/cbuchner1/CudaMiner/issues/63 .

allthetime commented 10 years ago

honestly, I'm a bit of a n00b to all this and I've just been reaching around different tutorials and patching information together to get this far. So I'm not exactly sure what you mean by "is /bin/sh valid"... but I just checked and /bin/sh does not exist... /bin does though. Should i just create /bin/sh, or does it require contents as well?

On Sun, Jan 12, 2014 at 12:57 AM, galamdring notifications@github.comwrote:

I'm not an expert in OSX, but have you checked that /bin/sh is valid? On Jan 11, 2014 10:21 AM, "allthetime" notifications@github.com wrote:

./configure.sh returns:

configure: error: cannot run /bin/sh ./config.sub

anyone know what's going on? automake, autoconf, libtools, etc. are all installed

— Reply to this email directly or view it on GitHub< https://github.com/cbuchner1/CudaMiner/issues/63> .

— Reply to this email directly or view it on GitHubhttps://github.com/cbuchner1/CudaMiner/issues/63#issuecomment-32100917 .

galamdring commented 10 years ago

/bin/sh is the shell. Does /bin/bash exist? You could link it with: ln -s /bin/bash /bin/sh And then configure should run. On Jan 11, 2014 12:08 PM, "allthetime" notifications@github.com wrote:

honestly, I'm a bit of a n00b to all this and I've just been reaching around different tutorials and patching information together to get this far. So I'm not exactly sure what you mean by "is /bin/sh valid"... but I just checked and /bin/sh does not exist... /bin does though. Should i just create /bin/sh, or does it require contents as well?

On Sun, Jan 12, 2014 at 12:57 AM, galamdring notifications@github.comwrote:

I'm not an expert in OSX, but have you checked that /bin/sh is valid? On Jan 11, 2014 10:21 AM, "allthetime" notifications@github.com wrote:

./configure.sh returns:

configure: error: cannot run /bin/sh ./config.sub

anyone know what's going on? automake, autoconf, libtools, etc. are all installed

— Reply to this email directly or view it on GitHub< https://github.com/cbuchner1/CudaMiner/issues/63> .

— Reply to this email directly or view it on GitHub< https://github.com/cbuchner1/CudaMiner/issues/63#issuecomment-32100917> .

— Reply to this email directly or view it on GitHubhttps://github.com/cbuchner1/CudaMiner/issues/63#issuecomment-32101222 .

ezmini commented 10 years ago

cpu-miner.c:36:21: fatal error: jansson.h: No such file or directory ? What is the problem ? All plugins are well up

ezmini commented 10 years ago

Segmentation fault: 11

allthetime commented 10 years ago

I tried linking /bin/bash and /bin/sh but without success

config.sub exists in /bin/bash but not in /bin/sh

I tried 'cp /bin/bash/config.sub /bin/sh/config.sub' but that doesn't work because /bin/sh is not a directory... is there a way to insert it? Or should I do some reading on the shell first?

ezmini commented 10 years ago

I have compiled a good cudaminer When can I start using with "./cudaminer --benchmark" I enter the address, but there will be "Segmentation fault: 11" What's wrong Who can give me a compiled cudaminer

ezmini commented 10 years ago

Like this : Last login: Sun Jan 12 18:08:11 on ttys001 server:~ yzx$ cd /Users/yzx/ltc/CudaMiner-master server:CudaMiner-master yzx$ ./cudaminer -o stratum+tcp://stratum.waltc.net:3333 -u LaWL4U2AceqApSyi2JC1JowEWnftg38Qp7.10 -p 123123 * CudaMiner for nVidia GPUs by Christian Buchner * This is version 2013-12-18 (beta) based on pooler-cpuminer 2.3.2 (c) 2010 Jeff Garzik, 2012 pooler Cuda additions Copyright 2013 Christian Buchner My donation address: LKS1WDKGED647msBQfLBHV3Ls8sveGncnm

[2014-01-12 18:10:30] 1 miner threads started, using 'scrypt' algorithm. [2014-01-12 18:10:30] Starting Stratum on stratum+tcp://stratum.waltc.net:3333 Segmentation fault: 11 server:CudaMiner-master yzx$

ezmini commented 10 years ago

However, when the test can be run

server:CudaMiner-master yzx$ ./cudaminer --benchmark * CudaMiner for nVidia GPUs by Christian Buchner * This is version 2013-12-18 (beta) based on pooler-cpuminer 2.3.2 (c) 2010 Jeff Garzik, 2012 pooler Cuda additions Copyright 2013 Christian Buchner My donation address: LKS1WDKGED647msBQfLBHV3Ls8sveGncnm

[2014-01-12 18:56:35] 1 miner threads started, using 'scrypt' algorithm. [2014-01-12 18:56:43] GPU #0: GeForce GT 650M with compute capability 3.0 [2014-01-12 18:56:43] GPU #0: interactive: 1, tex-cache: 0 , single-alloc: 0 [2014-01-12 18:56:53] GPU #0: Performing auto-tuning (Patience...) [2014-01-12 18:56:54] GPU #0: maximum warps: 195 [2014-01-12 18:57:09] GPU #0: 65.76 khash/s with configuration K4x32 [2014-01-12 18:57:09] GPU #0: using launch configuration K4x32 [2014-01-12 18:57:09] GPU #0: GeForce GT 650M, 0.12 khash/s [2014-01-12 18:57:09] Total: 0.12 khash/s [2014-01-12 18:57:09] GPU #0: GeForce GT 650M, 30.60 khash/s [2014-01-12 18:57:09] Total: 30.60 khash/s [2014-01-12 18:57:12] GPU #0: GeForce GT 650M, 59.99 khash/s [2014-01-12 18:57:12] Total: 59.99 khash/s [2014-01-12 18:57:17] GPU #0: GeForce GT 650M, 60.79 khash/s [2014-01-12 18:57:17] Total: 60.79 khash/s