Pages:
Author

Topic: Mac OS X Resources & Howtos for Mining (Homebrew/DIY/Bin/Xcode Debugging) - page 6. (Read 64256 times)

hero member
Activity: 840
Merit: 1002
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
hero member
Activity: 798
Merit: 1000
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
hero member
Activity: 840
Merit: 1002
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.
hero member
Activity: 798
Merit: 1000
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
hero member
Activity: 840
Merit: 1002
Homebrew formulas, Shell scripts, and precompiled binaries have all been updated with bfgminer 3.6.0 and cgminer 3.8.2.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
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.
newbie
Activity: 46
Merit: 0
Thanks man, I have a mac and it was very hard to find this.
hero member
Activity: 840
Merit: 1002
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
newbie
Activity: 17
Merit: 0
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
hero member
Activity: 840
Merit: 1002
hero member
Activity: 840
Merit: 1002
WORKS!

Awesome - thanks for taking the time to confirm  Grin
sr. member
Activity: 280
Merit: 250
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/
hero member
Activity: 840
Merit: 1002
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
hero member
Activity: 840
Merit: 1002
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.
sr. member
Activity: 280
Merit: 250
brew install libmicrohttpd
Warning: libmicrohttpd-0.9.27 already installed

Any other ideas?
hero member
Activity: 840
Merit: 1002
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
sr. member
Activity: 280
Merit: 250
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.
hero member
Activity: 630
Merit: 501
Miner Setup And Reviews. WASP Rep.
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!
hero member
Activity: 840
Merit: 1002
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.
hero member
Activity: 840
Merit: 1002
I don't remember getting a message from you but I am happy to test for you.

I sent a PM September 30th asking if it would be possible to get test hardware for my different projects. No biggy - I am sure you are busy and Maidak was kind enough to offer to send me a stick once his next batch comes in.

I'll have updates for these formulas and scripts up once bfgminer 3.5.1 is ready. After that I'd appreciate any testing with the builds as they should both include BitFury support.
Pages:
Jump to: