Page 1 of 1

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

Posted: Mon Jun 02, 2014 4:46 pm
by AndreaNobili
Hello to everybody,

I have the following problem. I am trying to install Cgminer on my RaspBian as explained in this tutorial: https://bitcointalk.org/index.php?topic=494625.0

In particular the installation steps are these:

Code: Select all

git clone https://github.com/gridseed/usb-miner/
cd usb-miner/software/cgminer
autoreconf -i
./configure --enable-gridseed
make
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

pi@raspberrypi ~/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?

Tnx

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

Posted: Mon Jun 02, 2014 5:00 pm
by DeeJay
From man autoreconf

Code: Select all

NAME
       autoreconf - Update generated configuration files

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

DESCRIPTION
       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'
       option.
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... ?)