I am going crazy trying to install CGminer on my RaspberryPi (I use Raspbian) to mine Scrypt currency

I downloaded it and when I perform:

sudo ./configure

finally I get the following error message:

cgminer 3.7.2

Configuration Options Summary:

  libcurl(GBT+getwork).: Enabled: -lcurl  
  curses.TUI...........: FOUND: -lncurses
  scrypt...............: Disabled
  OpenCL...............: Detection overrided. GPU mining support DISABLED
configure: error: No mining configured in

Why? And why it say to me that scrypt is disabled?

What is the problem? How can I fix it?

  • 1
    What should the configure do? Can you start cgminer directly with configurations as parameters? Jun 15, 2014 at 16:49
  • I'm seeing that too but just got my ASIC today (Gridseed G-Blade), still testing. My old setup with cpuminer on a Raspberry Pi 3B is running 5 kH/sec on 3 cores with no overclocking.
    – Alan Corey
    Apr 26, 2017 at 3:42

2 Answers 2


Might as well give this old question an answer.

cgminer 3.7.2 (which was obsolete even when this question was asked) required scrypt to be enabled as a compile-time option with ./configure --enable-scrypt. The asker evidently did not enable it, which is why it does not work.

It appears that current versions of cgminer have removed scrypt support altogether.

As Hồ Tuấn Kiệt points out, a Raspberry Pi would be hopelessly underpowered for CPU mining of any kind, so this would be a really ineffective idea even if it worked.

The asker probably got this idea because there is lots of discussion on the Internet about using the Raspberry Pi for mining. However, most people use it in a very different way: not to do the mining itself, but as a controller for ASIC mining devices (typically for Bitcoin and other SHA256 coins, not scrypt). It is well suited to the latter task, since controlling ASIC miners requires very little in the way of CPU performance; just the ability to run a minimal operating system with network access, and some simple software to fetch work from the network and feed it to the ASICs. The Raspberry Pi is certainly capable of that task, and it is cheap and uses little electricity of its own. But it isn't suitable for actually mining with its own CPU or GPU.


I think that you should use pooler's cpuminer instead. cpuminer is optimized for CPU mining and cgminer 3.7.2 can only mine scrypt coin using GPU (and you can't use RasPi GPU for mining coin)

But even if you use cpuminer you can squeeze out only 0.4-0.5khash/s with overclocking

Tutorial if you want: http://www.tekassassin.com/2013/06/litecoin-mining-on-raspberry-pi.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.