Post
Topic
Board Mining software (miners)
Re: BFGMiner 3.1.4: modular ASIC/FPGA, GBT, Strtm, RPC, Lnx/OpnWrt/PPA/W64, BFLSC
by
Taugeran
on 27/08/2013, 17:07:01 UTC
BFGminer for Debian from source:

Code:
apt-get update && apt-get install make screen mc autoconf libtool libncurses-dev yasm curl libcurl4-openssl-dev libjansson-dev pkg-config libudev-dev uthash-dev libusb-dev htop php5 apache2

cd bfgminer && ./configure
make

Cheers
r50zyry5

Thank you very much, but it says failed to open OpenCL drivers. I need it to work with ONLY BlockErupters. How to compile it with ICARUS only? I don´t use GPU. Thanks !

The README says:

Quote
BFGMiner specific configuration options:
--disable-avalon Compile support for Avalon (default enabled)
--enable-cpumining Build with cpu mining support(default disabled)
--disable-opencl Build without support for OpenCL (default enabled)
--disable-adl Build without ADL monitoring (default enabled)
--disable-bitforce Compile support for BitForce (default enabled)
--disable-icarus Compile support for Icarus (default enabled)
--disable-modminer Compile support for ModMiner (default enabled)
--disable-x6500 Compile support for X6500 (default enabled)
--disable-ztex Compile support for ZTEX (default if libusb)
--enable-scrypt Compile support for scrypt mining (default disabled)
--with-system-libblkmaker Use system libblkmaker rather than bundled one
(default disabled)
--without-sensors Build with libsensors monitoring (default enabled)
--without-curses Compile support for curses TUI (default enabled)
--without-libmicrohttpd Compile support for libmicrohttpd getwork server
(default enabled)
--without-libudev Autodetect FPGAs using libudev (default enabled)

I'm sure the answer is in there somewhere.

For block erupters:

apt-get update && apt-get install make screen mc autoconf libtool libncurses-dev yasm curl libcurl4-openssl-dev libjansson-dev pkg-config libudev-dev uthash-dev libusb-dev htop php5 apache2
Apt-get install git
Git clone https://github.com/luke-jr/bfgminer.git
cd bfgminer && ./autogen.sh
./configure --disable-opencl
make

Edit: fixed malformed uri

Use sudo as needed while installing dependencies