ccminer-cryptonight icon indicating copy to clipboard operation
ccminer-cryptonight copied to clipboard

Configure error

Open JPaulMora opened this issue 9 years ago • 6 comments

./configure: line 6211: syntax error near unexpected token ,' ./configure: line 6211:LIBCURL_CHECK_CONFIG(, 7.15.2, ,'

Fedora fc20.x86_64

JPaulMora avatar Sep 11 '15 14:09 JPaulMora

Similar error on OS X: ./configure: line 6187: syntax error near unexpected token ,' ./configure: line 6187:LIBCURL_CHECK_CONFIG(, 7.15.2, ,'

songproducer avatar Nov 26 '15 17:11 songproducer

This is how I solved it:

Make sure have latest drivers: https://developer.nvidia.com/cuda-downloads

download the ‘raw’ version of this file https://github.com/Max-Coin/cpuminer/blob/4d15fcc72cd10afe6c904af814002f86a0bb1a4b/acinclude.m4 drop it in the ccminer directory you're compiling in and make sure the autogen.sh file ends in this on the first line:

&& autoreconf -i

then run: ./configure.sh should be no errors

run: make

you may see this error:

/bin/sh: nvcc: command not found make[2]: *** [cryptonight/cryptonight.o] Error 127 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2

nano configure search (ctrl w) for SUFFIX=”64” delete the number 64 so it reads: SUFFIX=“”

also search for nvcc=
    change $with_cuda/bin/nvcc

to: /usr/local/cuda/bin/nvcc

Configure again: ./configure --with-cuda=/usr/local/cuda

make again: make clean

make install

songproducer avatar Dec 16 '15 18:12 songproducer

@songproducer thank you for these directions it has helped me get further than I was before. When I'm doing the make install I get the following error:

mv -f .deps/ccminer-sha2.Tpo .deps/ccminer-sha2.Po
make[1]: ./install-sh: No such file or directory
make[1]: *** [cryptonight/.dirstamp] Error 1
make: *** [install-recursive] Error 1

I looked and there isn't that file but I'm not familiar enough with compiling this way to know what might be going on. Any hints/suggestions would be greatly appreciated.

tomjnsn avatar Dec 30 '15 05:12 tomjnsn

@tomjnsj: did you ever find a solution to this problem? Same issue!

milezzz avatar Jul 30 '17 18:07 milezzz

@milezzz No I never did.

tomjnsn avatar Aug 01 '17 01:08 tomjnsn

./configure: line 6177: syntax error near unexpected token ,' ./configure: line 6177: LIBCURL_CHECK_CONFIG(, 7.15.2, ,'

Same issue!

pinetreeps avatar Jan 02 '20 09:01 pinetreeps