OK 1 more error
any thoughts??
on Step 3-3:
./configure –enable-dualminer –enable-scrypt –disable-opencl –prefix=$DIR_PATH/
make && make install
--------
make[3]: Entering directory `/home/pi/cgminer/compat/jansson'
make[3]: Nothing to be done for `install-exec-am'.
test -z "//include" || /bin/mkdir -p "//include"
/bin/mkdir: cannot create directory `//include': Permission denied
make[3]: *** [install-includeHEADERS] Error 1
make[3]: Leaving directory `/home/pi/cgminer/compat/jansson'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/pi/cgminer/compat/jansson'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/pi/cgminer/compat'
make: *** [install-recursive] Error 1-------------------------
pi@raspberrypi ~/cgminer $ make && make install make all-recursive
make[1]: Entering directory `/home/pi/cgminer'
Making all in lib
make[2]: Entering directory `/home/pi/cgminer/lib'
GEN signal.h
GEN string.h
make all-recursive
make[3]: Entering directory `/home/pi/cgminer/lib'
make[4]: Entering directory `/home/pi/cgminer/lib'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/pi/cgminer/lib'
make[3]: Leaving directory `/home/pi/cgminer/lib'
make[2]: Leaving directory `/home/pi/cgminer/lib'
Making all in compat
make[2]: Entering directory `/home/pi/cgminer/compat'
Making all in jansson
make[3]: Entering directory `/home/pi/cgminer/compat/jansson'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/pi/cgminer/compat/jansson'
Making all in libusb-1.0
make[3]: Entering directory `/home/pi/cgminer/compat/libusb-1.0'
make all-recursive
make[4]: Entering directory `/home/pi/cgminer/compat/libusb-1.0'
Making all in libusb
make[5]: Entering directory `/home/pi/cgminer/compat/libusb-1.0/libusb'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/pi/cgminer/compat/libusb-1.0/libusb'
make[5]: Entering directory `/home/pi/cgminer/compat/libusb-1.0'
make[5]: Leaving directory `/home/pi/cgminer/compat/libusb-1.0'
make[4]: Leaving directory `/home/pi/cgminer/compat/libusb-1.0'
make[3]: Leaving directory `/home/pi/cgminer/compat/libusb-1.0'
make[3]: Entering directory `/home/pi/cgminer/compat'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/pi/cgminer/compat'
make[2]: Leaving directory `/home/pi/cgminer/compat'
Making all in ccan
make[2]: Entering directory `/home/pi/cgminer/ccan'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/pi/cgminer/ccan'
make[2]: Entering directory `/home/pi/cgminer'
CC cgminer-cgminer.o
CC cgminer-util.o
CC cgminer-sha2.o
CC cgminer-api.o
CC cgminer-logging.o
CC cgminer-driver-opencl.o
CC cgminer-scrypt.o
CC cgminer-usbutils.o
CC cgminer-driver-dualminer.o
driver-dualminer.c: In function ‘dualminer_send_cmds’:
driver-dualminer.c:326:18: warning: comparison between pointer and integer [enabled by default]
CCLD cgminer
make[2]: Leaving directory `/home/pi/cgminer'
make[1]: Leaving directory `/home/pi/cgminer'
Making install in lib
make[1]: Entering directory `/home/pi/cgminer/lib'
make install-recursive
make[2]: Entering directory `/home/pi/cgminer/lib'
make[3]: Entering directory `/home/pi/cgminer/lib'
make[4]: Entering directory `/home/pi/cgminer/lib'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/pi/cgminer/lib'
make[3]: Leaving directory `/home/pi/cgminer/lib'
make[2]: Leaving directory `/home/pi/cgminer/lib'
make[1]: Leaving directory `/home/pi/cgminer/lib'
Making install in compat
make[1]: Entering directory `/home/pi/cgminer/compat'
Making install in jansson
make[2]: Entering directory `/home/pi/cgminer/compat/jansson'
make[3]: Entering directory `/home/pi/cgminer/compat/jansson'
make[3]: Nothing to be done for `install-exec-am'.
test -z "//include" || /bin/mkdir -p "//include"
/bin/mkdir: cannot create directory `//include': Permission denied
make[3]: *** [install-includeHEADERS] Error 1
make[3]: Leaving directory `/home/pi/cgminer/compat/jansson'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/pi/cgminer/compat/jansson'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/pi/cgminer/compat'
make: *** [install-recursive] Error 1
------------------------------------------
Step 3-3:
Install some packages needed by dualminer source code
sudo apt-get update
sudo apt-get install libudev-dev libcurl4-openssl-dev
sudo apt-get install vim(Optinal : edit file tool )
Then you can get dualminer
https://github.com/dualminergit clone git://github.com/dualminer/dualminer-cgminer.git cgminer
cd cgminer
sudo chmod +x autogen.sh
./autogen.sh
./configure –enable-dualminer –enable-scrypt –disable-opencl –prefix=$DIR_PATH/
make && make install
actually after doing the 1 2 3 you can mine using USB DualMiner
if you have one USB DualMiner ,insert it to your Pi directly is ok
but if you have two or more you should use a hub as the picture shows