1

I am trying to install Cgminer on my RaspBerry (it use RaspBian that is a Debian minimalistic version) as explained here: https://bitcointalk.org/index.php?topic=494625.0

In particular the installation steps are these:

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:

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

AndreaNobili
  • 6,981
  • 14
  • 37
  • 46

1 Answers1

1

The repo was created/cloned by a different user than the one doing the compile. So the user doing the compile does not have write permission in the folders where compilation wants to write autom4te.cache

sudo chown -R pi:pi /home/pi/download/usb-miner/software/cgminer

Will fix the problem - by user pi taking ownership of the repo directory, thus allowing compilation by user pi to write in those folders.

Giacomo1968
  • 53,069
  • 19
  • 162
  • 212
dbkeys
  • 126
  • 3