Bitcoin Forum
July 04, 2024, 05:27:12 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3] 4 5 6 7 8 »  All
  Print  
Author Topic: Mac OS X Resources & Howtos for Mining (Homebrew/DIY/Bin/Xcode Debugging)  (Read 64206 times)
Beastlymac
Hero Member
*****
Offline Offline

Activity: 630
Merit: 501


Miner Setup And Reviews. WASP Rep.


View Profile
November 08, 2013, 12:51:51 PM
 #41

Homebrew formulas, Shell scripts, and precompiled binaries have all been updated with bfgminer 3.5.1.

Additionally, cgminer is now compiled with BitFury support enabled.
I tested it yesterday and it works well with the usbs bitfury units. Thanks!

Message me if you have any problems
BorisAlt
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


View Profile
November 09, 2013, 04:05:05 AM
 #42

Trying to run pre-compiles bfgminer and getting this:

./bfgminer -n
dyld: Library not loaded: /usr/local/lib/libmicrohttpd.10.dylib
  Referenced from: /Users/me/Desktop/bfgminer-3.5.1-osx64/bin/./bfgminer
  Reason: image not found
Trace/BPT trap: 5

What should I do?

Thanks.

nwoolls (OP)
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1002


View Profile WWW
November 09, 2013, 04:10:12 AM
 #43

Trying to run pre-compiles bfgminer and getting this:

./bfgminer -n
dyld: Library not loaded: /usr/local/lib/libmicrohttpd.10.dylib
  Referenced from: /Users/me/Desktop/bfgminer-3.5.1-osx64/bin/./bfgminer
  Reason: image not found
Trace/BPT trap: 5

What should I do?

Thanks.

Try installing it with Homebrew:

Code:
brew install libmicrohttpd

MultiMiner: Any Miner, Any Where, on Any Device |  Xgminer: Mine with popular miners on Mac OS X
btc: 1BmXY4ZZQh1iHSVre658gM1gPAEtDnq8rv  |  ltc: LP1SsHZTDexndkvRKsqAkXNsienPHwaMb5  |  hardware: nwoolls at gmail dot com
BorisAlt
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


View Profile
November 09, 2013, 04:13:23 AM
 #44

brew install libmicrohttpd
Warning: libmicrohttpd-0.9.27 already installed

Any other ideas?

nwoolls (OP)
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1002


View Profile WWW
November 09, 2013, 04:15:21 AM
 #45

brew install libmicrohttpd
Warning: libmicrohttpd-0.9.27 already installed

Any other ideas?

I'll try to make some binaries that include libmicrohttpd.

In the meantime, if you'd like to try something else, download the shell scripts from source.xgminer.com and run RUN_create_all_packages.sh. Or try installing bfgminer using the Homebrew scripts at homebrew.xgminer.com.

MultiMiner: Any Miner, Any Where, on Any Device |  Xgminer: Mine with popular miners on Mac OS X
btc: 1BmXY4ZZQh1iHSVre658gM1gPAEtDnq8rv  |  ltc: LP1SsHZTDexndkvRKsqAkXNsienPHwaMb5  |  hardware: nwoolls at gmail dot com
nwoolls (OP)
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1002


View Profile WWW
November 09, 2013, 05:20:22 AM
 #46

Trying to run pre-compiles bfgminer and getting this:

./bfgminer -n
dyld: Library not loaded: /usr/local/lib/libmicrohttpd.10.dylib
  Referenced from: /Users/me/Desktop/bfgminer-3.5.1-osx64/bin/./bfgminer
  Reason: image not found
Trace/BPT trap: 5

Thanks for reporting this. Can you try the prerelease binaries I just released? I would appreciate knowing if these fix the problem for you.

https://github.com/nwoolls/xgminer-osx/releases/tag/v1.0.17

MultiMiner: Any Miner, Any Where, on Any Device |  Xgminer: Mine with popular miners on Mac OS X
btc: 1BmXY4ZZQh1iHSVre658gM1gPAEtDnq8rv  |  ltc: LP1SsHZTDexndkvRKsqAkXNsienPHwaMb5  |  hardware: nwoolls at gmail dot com
BorisAlt
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


View Profile
November 09, 2013, 02:32:01 PM
 #47

Trying to run pre-compiles bfgminer and getting this:

./bfgminer -n
dyld: Library not loaded: /usr/local/lib/libmicrohttpd.10.dylib
  Referenced from: /Users/me/Desktop/bfgminer-3.5.1-osx64/bin/./bfgminer
  Reason: image not found
Trace/BPT trap: 5

Thanks for reporting this. Can you try the prerelease binaries I just released? I would appreciate knowing if these fix the problem for you.

https://github.com/nwoolls/xgminer-osx/releases/tag/v1.0.17
WORKS!
Code:
bfgminer version 3.5.1 - Started: [2013-11-09 08:30:32] - [  0 days 00:01:02]
 [M]anage devices [P]ool management [S]ettings [D]isplay options  [H]elp [Q]uit
 Connected to stratum.bitcoin.cz diff 8 with stratum as user xxx
 Block: ...34be9902 #268682  Diff:511M ( 3.66Ph/s)  Started: [08:30:32]
 ST:3  F:0  NB:1  AS:0  BW:[134/108 B/s]  E:26.50  I:  554uBTC/hr  BS:1.28k
 5            | 11.47/11.24/11.18Gh/s | A:45 R:1+0(1.5%) HW:6/3.5%
--------------------------------------------------------------------------------
 BPM 0:       |  2.35/ 2.30/ 2.42Gh/s | A:13 R:0+0(none) HW:1/2.8%
 BPM 1:       |  2.26/ 2.25/ 2.15Gh/s | A: 9 R:0+0(none) HW:0/none
 BPM 2:       |  2.38/ 2.30/ 1.68Gh/s | A: 7 R:1+0( 10%) HW:1/3.6%
 BPM 3:       |  2.20/ 2.15/ 2.01Gh/s | A: 8 R:0+0(none) HW:2/6.5%
 BPM 4:       |  2.31/ 2.25/ 2.91Gh/s | A: 8 R:0+0(none) HW:2/4.5%
--------------------------------------------------------------------------------
 [2013-11-09 08:30:55] Accepted 264abb8d BPM 1  Diff 6/3
 [2013-11-09 08:30:58] Accepted 47c0433a BPM 1  Diff 3/3
 [2013-11-09 08:30:58] Accepted 01f2e1aa BPM 1  Diff 131/

nwoolls (OP)
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1002


View Profile WWW
November 09, 2013, 05:18:35 PM
 #48

WORKS!

Awesome - thanks for taking the time to confirm  Grin

MultiMiner: Any Miner, Any Where, on Any Device |  Xgminer: Mine with popular miners on Mac OS X
btc: 1BmXY4ZZQh1iHSVre658gM1gPAEtDnq8rv  |  ltc: LP1SsHZTDexndkvRKsqAkXNsienPHwaMb5  |  hardware: nwoolls at gmail dot com
nwoolls (OP)
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1002


View Profile WWW
November 10, 2013, 11:47:46 PM
 #49

Homebrew formulas, Shell scripts, and precompiled binaries have all been updated with cgminer 3.8.1.

MultiMiner: Any Miner, Any Where, on Any Device |  Xgminer: Mine with popular miners on Mac OS X
btc: 1BmXY4ZZQh1iHSVre658gM1gPAEtDnq8rv  |  ltc: LP1SsHZTDexndkvRKsqAkXNsienPHwaMb5  |  hardware: nwoolls at gmail dot com
CarneMuerta
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
November 16, 2013, 02:25:05 AM
 #50

Just as a heads up, the only way I was able to get cgminer to see my BlueFury under Mac OS 10.7, 10.8 and 10.9 was to 'unload' the new USB modem

sudo kextunload -b com.apple.driver.AppleUSBCDC
sudo kextunload -b com.apple.driver.AppleUSBCDCACMData

Hopefully this will save someone else a LOT of hair pulling
nwoolls (OP)
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1002


View Profile WWW
November 16, 2013, 02:50:18 AM
 #51

Just as a heads up, the only way I was able to get cgminer to see my BlueFury under Mac OS 10.7, 10.8 and 10.9 was to 'unload' the new USB modem

sudo kextunload -b com.apple.driver.AppleUSBCDC
sudo kextunload -b com.apple.driver.AppleUSBCDCACMData

Hopefully this will save someone else a LOT of hair pulling

Awesome - thanks so much for sharing. I'm hoping to have some Fury in my hands soon so I can make sure it is properly supported. In the meantime any info is good info!  Grin

MultiMiner: Any Miner, Any Where, on Any Device |  Xgminer: Mine with popular miners on Mac OS X
btc: 1BmXY4ZZQh1iHSVre658gM1gPAEtDnq8rv  |  ltc: LP1SsHZTDexndkvRKsqAkXNsienPHwaMb5  |  hardware: nwoolls at gmail dot com
FreakNet
Newbie
*
Offline Offline

Activity: 46
Merit: 0


View Profile
November 16, 2013, 03:23:47 AM
 #52

Thanks man, I have a mac and it was very hard to find this.
-ck
Legendary
*
Offline Offline

Activity: 4158
Merit: 1639


Ruu \o/


View Profile WWW
November 16, 2013, 03:42:53 AM
 #53

Just as a heads up, the only way I was able to get cgminer to see my BlueFury under Mac OS 10.7, 10.8 and 10.9 was to 'unload' the new USB modem

sudo kextunload -b com.apple.driver.AppleUSBCDC
sudo kextunload -b com.apple.driver.AppleUSBCDCACMData

Hopefully this will save someone else a LOT of hair pulling
Great find. Will add this to the cgminer documentation.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
nwoolls (OP)
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1002


View Profile WWW
November 18, 2013, 03:57:50 PM
 #54

Homebrew formulas, Shell scripts, and precompiled binaries have all been updated with bfgminer 3.6.0 and cgminer 3.8.2.

MultiMiner: Any Miner, Any Where, on Any Device |  Xgminer: Mine with popular miners on Mac OS X
btc: 1BmXY4ZZQh1iHSVre658gM1gPAEtDnq8rv  |  ltc: LP1SsHZTDexndkvRKsqAkXNsienPHwaMb5  |  hardware: nwoolls at gmail dot com
jedimstr
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000



View Profile
November 18, 2013, 04:18:05 PM
 #55

Homebrew formulas, Shell scripts, and precompiled binaries have all been updated with bfgminer 3.6.0 and cgminer 3.8.2.

Getting some make errors when trying to brew upgrade bfgminer...

Code:
bash-3.2$ brew upgrade bfgminer
==> Upgrading 1 outdated package, with result:
bfgminer 3.6.0
==> Upgrading bfgminer
==> Installing bfgminer dependency: libmicrohttpd
==> Downloading http://ftpmirror.gnu.org/libmicrohttpd/libmicrohttpd-0.9.31.tar.gz
Already downloaded: /Library/Caches/Homebrew/libmicrohttpd-0.9.31.tar.gz
==> ./configure --prefix=/usr/local/Cellar/libmicrohttpd/0.9.31
==> make install
2 errors generated.
make[3]: *** [proxy.o] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1

READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting

nwoolls (OP)
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1002


View Profile WWW
November 18, 2013, 04:23:32 PM
 #56

Getting some make errors when trying to brew upgrade bfgminer...

Code:
bash-3.2$ brew upgrade bfgminer
==> Upgrading 1 outdated package, with result:
bfgminer 3.6.0
==> Upgrading bfgminer
==> Installing bfgminer dependency: libmicrohttpd
==> Downloading http://ftpmirror.gnu.org/libmicrohttpd/libmicrohttpd-0.9.31.tar.gz
Already downloaded: /Library/Caches/Homebrew/libmicrohttpd-0.9.31.tar.gz
==> ./configure --prefix=/usr/local/Cellar/libmicrohttpd/0.9.31
==> make install
2 errors generated.
make[3]: *** [proxy.o] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1

READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting

Try running brew with the --debug --verbose arguments.

MultiMiner: Any Miner, Any Where, on Any Device |  Xgminer: Mine with popular miners on Mac OS X
btc: 1BmXY4ZZQh1iHSVre658gM1gPAEtDnq8rv  |  ltc: LP1SsHZTDexndkvRKsqAkXNsienPHwaMb5  |  hardware: nwoolls at gmail dot com
jedimstr
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000



View Profile
November 18, 2013, 04:53:49 PM
 #57

Getting some make errors when trying to brew upgrade bfgminer...

Code:
bash-3.2$ brew upgrade bfgminer
==> Upgrading 1 outdated package, with result:
bfgminer 3.6.0
==> Upgrading bfgminer
==> Installing bfgminer dependency: libmicrohttpd
==> Downloading http://ftpmirror.gnu.org/libmicrohttpd/libmicrohttpd-0.9.31.tar.gz
Already downloaded: /Library/Caches/Homebrew/libmicrohttpd-0.9.31.tar.gz
==> ./configure --prefix=/usr/local/Cellar/libmicrohttpd/0.9.31
==> make install
2 errors generated.
make[3]: *** [proxy.o] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1

READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting

Try running brew with the --debug --verbose arguments.

Main error looks like libmicrohttpd did not build

Here are two output files:
stderr: https://dl.dropboxusercontent.com/u/11139673/debug/brewDebugError.txt
stdout: https://dl.dropboxusercontent.com/u/11139673/debug/brewDebugFile.txt

Hope that helps

nwoolls (OP)
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1002


View Profile WWW
November 18, 2013, 05:04:24 PM
 #58

Main error looks like libmicrohttpd did not build

Here are two output files:
stderr: https://dl.dropboxusercontent.com/u/11139673/debug/brewDebugError.txt
stdout: https://dl.dropboxusercontent.com/u/11139673/debug/brewDebugFile.txt

Hope that helps

Didn't see much in the way of what caused the failure. Maybe try installing just libmicrohttpd with brew first?

Code:
brew install libmicrohttpd --debug --verbose

MultiMiner: Any Miner, Any Where, on Any Device |  Xgminer: Mine with popular miners on Mac OS X
btc: 1BmXY4ZZQh1iHSVre658gM1gPAEtDnq8rv  |  ltc: LP1SsHZTDexndkvRKsqAkXNsienPHwaMb5  |  hardware: nwoolls at gmail dot com
jedimstr
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000



View Profile
November 18, 2013, 05:19:04 PM
 #59

Main error looks like libmicrohttpd did not build

Here are two output files:
stderr: https://dl.dropboxusercontent.com/u/11139673/debug/brewDebugError.txt
stdout: https://dl.dropboxusercontent.com/u/11139673/debug/brewDebugFile.txt

Hope that helps

Didn't see much in the way of what caused the failure. Maybe try installing just libmicrohttpd with brew first?

Code:
brew install libmicrohttpd --debug --verbose

I had to brew unlink libmicrohttpd first, re-install it, traceback/ignore an error during make of libmicrohttpd, and then was able to brew upgrade bfgminer successfully. 

Of course my remote connection to my Mac at home (I'm at work) decided to keel over, so... I'll let you know if bfgminer is able to startup successfully a little later.

jedimstr
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000



View Profile
November 18, 2013, 05:42:39 PM
 #60

Ok, that last build didn't work out so well.

Uninstalled both bfgminer and libmicrohttpd and tried to brew install libmicrohttpd again.

Got this: https://dl.dropboxusercontent.com/u/11139673/debug/libInstallOut.txt

Previous brew installs from your formulae for BFGMiner went off without a hitch, so I wonder if the latest update to libmicrohttpd kills this one.  Cleared the download homebrew cache just to be sure it wasnt a corrupt download.  Same issue with failing to make libmicrohttpd.

Pages: « 1 2 [3] 4 5 6 7 8 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!