Pages:
Author

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

hero member
Activity: 630
Merit: 501
Miner Setup And Reviews. WASP Rep.
Thanks so much for your help.
I browsed to the hidden directory and removed the files that were causing the conflict and now it's all good.

Unfortunately my Blue Fury devices still are not recognised but at least I'm set with Cgminer.

I should hopefully have a Blue Fury device coming soon thanks to a super nice Group Buy runner, Maidak. Unfortunately I cannot test them right now as I have none to test (I tried, no response from any of the guys making the BitFury devices  Sad).
I don't remember getting a message from you but I am happy to test for you.
hero member
Activity: 840
Merit: 1002
You have no bitfury support in that.

Thanks - I'll get that addressed in the update I have planned for later tonight.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
What devices are enabled?

You can find the arguments used with ./configure to enable devices here:

https://github.com/nwoolls/homebrew-xgminer/blob/master/cgminer.rb

Code:
                          "--enable-scrypt",
                          "--enable-bflsc",
                          "--enable-bitforce",
                          "--enable-icarus",
                          "--enable-modminer",
                          "--enable-ztex",
                          "--enable-avalon",
                          "--disable-adl",
                          "--enable-opencl"
You have no bitfury support in that.
hero member
Activity: 840
Merit: 1002
Thanks so much for your help.
I browsed to the hidden directory and removed the files that were causing the conflict and now it's all good.

Unfortunately my Blue Fury devices still are not recognised but at least I'm set with Cgminer.

I should hopefully have a Blue Fury device coming soon thanks to a super nice Group Buy runner, Maidak. Unfortunately I cannot test them right now as I have none to test (I tried, no response from any of the guys making the BitFury devices  Sad).
newbie
Activity: 45
Merit: 0
Thanks so much for your help.
I browsed to the hidden directory and removed the files that were causing the conflict and now it's all good.

Unfortunately my Blue Fury devices still are not recognised but at least I'm set with Cgminer.

hero member
Activity: 840
Merit: 1002
Thanks for the help. This is the error :

==> make install
Warning: Could not link cgminer. Unlinking...
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link cgminer'

Possible conflicting files are:
/usr/local/include/libusb-1.0/libusb.h -> /usr/local/Cellar/libusb/1.0.9/include/libusb-1.0/libusb.h
/usr/local/include/jansson_config.h -> /usr/local/Cellar/jansson/2.4/include/jansson_config.h
/usr/local/include/jansson.h -> /usr/local/Cellar/jansson/2.4/include/jansson.h
/usr/local/lib/pkgconfig/libusb-1.0.pc -> /usr/local/Cellar/libusb/1.0.9/lib/pkgconfig/libusb-1.0.pc
/usr/local/lib/pkgconfig/jansson.pc -> /usr/local/Cellar/jansson/2.4/lib/pkgconfig/jansson.pc
/usr/local/lib/libusb-1.0.dylib -> /usr/local/Cellar/libusb/1.0.9/lib/libusb-1.0.dylib
/usr/local/lib/libusb-1.0.a -> /usr/local/Cellar/libusb/1.0.9/lib/libusb-1.0.a
/usr/local/lib/libjansson.dylib -> /usr/local/Cellar/jansson/2.4/lib/libjansson.dylib
/usr/local/lib/libjansson.a -> /usr/local/Cellar/jansson/2.4/lib/libjansson.a
/usr/local/lib/libjansson.4.dylib -> /usr/local/Cellar/jansson/2.4/lib/libjansson.4.dylib
==> Summary
/usr/local/Cellar/cgminer/3.7.2: 24 files, 5.0M, built in 83 seconds

And you typed the command to uninstall jansson first? That should have resolved that issue. Was Homebrew able to uninstall jansson successfully?

Basically it seems like you have conflicting jansson and libusb packages installed. You should technically remove those using "brew uninstall" and then install cgminer. Or you can type "brew link cgminer" to try linking it. If that fails it should give further steps to force the linking.

You could also skip Homebrew and compile cgminer yourself using my shell scripts. It's still just a single command from Terminal.app. Either clone the repo or download the zip here:

https://github.com/nwoolls/xgminer-osx

And then run package_cgminer.sh from Terminal.app. Or you can try the precompiled binaries here:

http://releases.xgminer.com
newbie
Activity: 45
Merit: 0
Thanks for the help. This is the error :

==> make install
Warning: Could not link cgminer. Unlinking...
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link cgminer'

Possible conflicting files are:
/usr/local/include/libusb-1.0/libusb.h -> /usr/local/Cellar/libusb/1.0.9/include/libusb-1.0/libusb.h
/usr/local/include/jansson_config.h -> /usr/local/Cellar/jansson/2.4/include/jansson_config.h
/usr/local/include/jansson.h -> /usr/local/Cellar/jansson/2.4/include/jansson.h
/usr/local/lib/pkgconfig/libusb-1.0.pc -> /usr/local/Cellar/libusb/1.0.9/lib/pkgconfig/libusb-1.0.pc
/usr/local/lib/pkgconfig/jansson.pc -> /usr/local/Cellar/jansson/2.4/lib/pkgconfig/jansson.pc
/usr/local/lib/libusb-1.0.dylib -> /usr/local/Cellar/libusb/1.0.9/lib/libusb-1.0.dylib
/usr/local/lib/libusb-1.0.a -> /usr/local/Cellar/libusb/1.0.9/lib/libusb-1.0.a
/usr/local/lib/libjansson.dylib -> /usr/local/Cellar/jansson/2.4/lib/libjansson.dylib
/usr/local/lib/libjansson.a -> /usr/local/Cellar/jansson/2.4/lib/libjansson.a
/usr/local/lib/libjansson.4.dylib -> /usr/local/Cellar/jansson/2.4/lib/libjansson.4.dylib
==> Summary
/usr/local/Cellar/cgminer/3.7.2: 24 files, 5.0M, built in 83 seconds
hero member
Activity: 840
Merit: 1002
I've tried on 4 different Mac's now and all do exactly the same. Despite having installed 3.7.2, terminal shows me : cgminer-3.6.1 already installed, it's just not linked.

It sounds like you have conflicting Homebrew packages installed. Do:

Code:
brew uninstall cgminer
brew uninstall bfgminer
brew uninstall jansson
brew update
brew install cgminer

If you still get an error about not being linked, paste the entire output. The text should also give instructions for linking the unlinked app.
newbie
Activity: 45
Merit: 0
I've tried on 4 different Mac's now and all do exactly the same. Despite having installed 3.7.2, terminal shows me : cgminer-3.6.1 already installed, it's just not linked.

If I try and run cgminer my terminal window just flashes and gives me a new line waiting for me to input some text, cgminer does not run.

What exactly am I doing wrong here?
hero member
Activity: 840
Merit: 1002
What devices are enabled?

You can find the arguments used with ./configure to enable devices here:

https://github.com/nwoolls/homebrew-xgminer/blob/master/cgminer.rb

Code:
                          "--enable-scrypt",
                          "--enable-bflsc",
                          "--enable-bitforce",
                          "--enable-icarus",
                          "--enable-modminer",
                          "--enable-ztex",
                          "--enable-avalon",
                          "--disable-adl",
                          "--enable-opencl"
hero member
Activity: 630
Merit: 501
Miner Setup And Reviews. WASP Rep.
What devices are enabled?
hero member
Activity: 840
Merit: 1002
hero member
Activity: 840
Merit: 1002
hero member
Activity: 840
Merit: 1002
Homebrew formulas, Shell scripts, and precompiled binaries have all been updated with bfgminer 3.4.0 and cgminer 3.6.6.
hero member
Activity: 840
Merit: 1002
hero member
Activity: 840
Merit: 1002
hero member
Activity: 840
Merit: 1002
hero member
Activity: 840
Merit: 1002
I've updated the OP with a link to my new article on backing up all of your cryptocoin wallets on Mac OS X:

http://backups.xgminer.com
hero member
Activity: 840
Merit: 1002
Homebrew formulas, Shell scripts, and precompiled binaries have all been updated with bfgminer 3.2.1.
hero member
Activity: 840
Merit: 1002
Pages:
Jump to: