Posts: 5
Joined: Mon May 26, 2014 7:03 pm

Why I can't compile and install Cgminer? error on autoreconf

Mon Jun 02, 2014 4:46 pm

Hello to everybody,

I have the following problem. I am trying to install Cgminer on my RaspBian as explained in this tutorial:

In particular the installation steps are these:

Code: Select all

git clone
cd usb-miner/software/cgminer
autoreconf -i
./configure --enable-gridseed
I have some problem when I try to execute the third step infact when I try to execute the autoreconf command I obtain the following error message:

Code: Select all

[email protected] ~/download/usb-miner/software/cgminer $ autoreconf -i
autom4te: cannot create autom4te.cache: No such file or directory
aclocal: /usr/bin/autom4te failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
Why? What can I do to solve this issue?

What exactly do the autoreconf command? and what is the autom4te.cache?


User avatar
Posts: 2027
Joined: Tue Jan 01, 2013 9:33 pm
Location: East Midlands, UK

Re: Why I can't compile and install Cgminer? error on autore

Mon Jun 02, 2014 5:00 pm

From man autoreconf

Code: Select all

       autoreconf - Update generated configuration files

       autoreconf [OPTION] ... [CONFIGURE-AC or DIRECTORY] ...

       Run  `autoconf'  (and  `autoheader', `aclocal', `automake', `autopoint'
       (formerly `gettextize'), and `libtoolize' where appropriate) repeatedly
       to  remake  the GNU Build System files in the DIRECTORIES or the direc‐
       tory trees driven by CONFIGURE-AC (defaulting to `.').

       By default, it only remakes those files that are older than their  pre‐
       decessors.   If  you install new versions of the GNU Build System, run‐
       ning `autoreconf' remakes all of the files by giving it  the  `--force'
You appear to be running this command as user pi

If I understand the instructions (in which I have no interest whatever) you are supposed to be user miner to do this operation.

(If I'm right, do I get a share of the currency you generate... ?)
How To Ask Questions The Smart Way:
How to Report Bugs Effectively:

Return to “Troubleshooting”