Giter VIP home page Giter VIP logo

homebrew-cryptocoin's Introduction

homebrew-xgminer

This repository contains Homebrew formulas for two popular crypto-coin miners: cgminer and bfgminer.

bfgminer

Installation

  1. Launch Terminal.app from Spotlight or your Applications folder

  2. Install Homebrew by entering the following command:

     ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)"
    
  3. Run the following command and fix any reported issues:

     brew doctor
    
  4. Tap this Homebrew repostory so that you can install packages from it:

     brew tap nwoolls/xgminer
    
  5. Finally, install either cgminer or bfgminer:

     brew install bfgminer
    

If you'd like to install the miner using the latest source from Github rather than the latest official package, use the --HEAD parameter:

    brew install bfgminer --HEAD

Usage

For more details on installing and using these crypto-coin miners under OS X, see this article.

homebrew-cryptocoin's People

Contributors

lpetre avatar nwoolls avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

homebrew-cryptocoin's Issues

brew install bfgminer --HEAD fails with: Failure while executing

$ brew update
Already up-to-date.
$ brew doctor
Your system is ready to brew.

Tap:

$ brew tap nwoolls/xgminer
Already tapped!

Install fails:

$ brew install bfgminer --HEAD
==> Cloning https://github.com/luke-jr/bfgminer.git
Error: Failure while executing: git clone --depth 1 --branch bfgminer \
https://github.com/luke-jr/bfgminer.git /Library/Caches/Homebrew/bfgminer--git

Running the offending git checkout command manually works fine:

$ git clone --depth 1 --branch bfgminer https://github.com/luke-jr/bfgminer.git \
/Library/Caches/Homebrew/bfgminer--git
Cloning into '/Library/Caches/Homebrew/bfgminer--git'...
remote: Counting objects: 267, done.
remote: Compressing objects: 100% (250/250), done.
remote: Total 267 (delta 8), reused 143 (delta 5)
Receiving objects: 100% (267/267), 844.79 KiB | 151.00 KiB/s, done.
Resolving deltas: 100% (8/8), done.
Checking connectivity... done.
$ cd bfg*
$ ./autogen.sh
$ ./configure --enable-scrypt 'PKG_CONFIG_PATH=/usr/local/opt/curl/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/mountain_lion'
$ make
$ sudo make install

(got the configure line from luke-jr/bfgminer#195, a year-old issue)

full debug output:

$ brew install --debug --verbose bfgminer --HEAD
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/bfgminer.rb
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/autoconf.rb
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/automake.rb
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/libtool.rb
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/pkg-config.rb
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/uthash.rb
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/curl.rb
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/jansson.rb
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/libmicrohttpd.rb
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/libevent.rb
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/libusb.rb
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/hidapi.rb
/usr/local/Library/Formula/bfgminer.rb: loading /usr/local/Library/Formula/curl.rb
/usr/local/Library/Formula/bfgminer.rb: loading /usr/local/Library/Formula/jansson.rb
/usr/local/Library/Formula/bfgminer.rb: loading /usr/local/Library/Formula/libmicrohttpd.rb
/usr/local/Library/Formula/bfgminer.rb: loading /usr/local/Library/Formula/libevent.rb
/usr/local/Library/Formula/bfgminer.rb: loading /usr/local/Library/Formula/libusb.rb
/usr/local/Library/Formula/bfgminer.rb: loading /usr/local/Library/Formula/hidapi.rb
/usr/local/Library/Formula/bfgminer.rb: loading /usr/local/Library/Formula/autoconf.rb
/usr/local/Library/Formula/bfgminer.rb: loading /usr/local/Library/Formula/automake.rb
/usr/local/Library/Formula/bfgminer.rb: loading /usr/local/Library/Formula/libtool.rb
/usr/local/Library/Formula/bfgminer.rb: loading /usr/local/Library/Formula/pkg-config.rb
/usr/local/Library/Formula/bfgminer.rb: loading /usr/local/Library/Formula/uthash.rb
/usr/local/Library/Formula/bfgminer.rb: loading /usr/local/Library/Formula/git.rb
==> Cloning https://github.com/luke-jr/bfgminer.git
git clone --depth 1 --branch bfgminer https://github.com/luke-jr/bfgminer.git \
/Library/Caches/Homebrew/bfgminer--git
Error: Failure while executing: git clone --depth 1 --branch \
bfgminer https://github.com/luke-jr/bfgminer.git /Library/Caches/Homebrew/bfgminer--git

/usr/local/Library/Homebrew/utils.rb:121:in `safe_system'
/usr/local/Library/Homebrew/download_strategy.rb:568:in `clone_repo'
/usr/local/Library/Homebrew/download_strategy.rb:486:in `fetch'
/usr/local/Library/Homebrew/resource.rb:81:in `fetch'
/usr/local/Library/Homebrew/resource.rb:52:in `stage'
/usr/local/Library/Homebrew/formula.rb:615:in `stage'
/usr/local/Library/Homebrew/formula.rb:267:in `brew'
/usr/local/Library/Homebrew/build.rb:144:in `install'
/usr/local/Library/Homebrew/build.rb:45:in `main'
/usr/local/Library/Homebrew/build.rb:12
/usr/local/Library/Formula/bfgminer.rb:31

homebrew: Calling Formula.sha1 is disabled

Error: Calling Formula.sha1 is disabled! Use Formula.sha256 instead.

/usr/local/Homebrew/Library/Taps/nwoolls/homebrew-cryptocoin/bfgminer.rb:7:in "<class:Bfgminer>"
Please report this to the nwoolls/cryptocoin tap!

iMac 10.10.5
Homebrew 1.2.1

Go this issue when running brew update

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.