Pages:
Author

Topic: Compiling Mac Clients for ANY Alt Coin, Your Choice! - page 5. (Read 14367 times)

sr. member
Activity: 456
Merit: 250
Could you Please make a Qt client on mac for GLD (Goldcoin)?

There is a bounty of 1000GLD for that

Try this one:

https://www.dropbox.com/s/bqrdat2bct7p135/GLDCoin-Qt-0.6.3.1-Mac.zip

If it works and you like it, my GLD address is Dyn4ZvvQdRrjMgDzSMsj3sPs5CVuoTQpsN -- but I saw that shakezula has been working on this, so he should really get most of the credit and the bounty.
hero member
Activity: 714
Merit: 500
1000 USC to compile a USC client for Mac OSX Smiley
full member
Activity: 168
Merit: 100
Could you Please make a Qt client on mac for GLD (Goldcoin)?

There is a bounty of 1000GLD for that
sr. member
Activity: 456
Merit: 250
Okay, I compiled a Mac version of the LKY wallet. It works on my machine, but if others could try it, that would be helpful. You can download it here: https://www.dropbox.com/s/846aeh8ys488u86/Luckycoin-Qt-0.6.3.0-Mac.zip

If you try it out and feel that it fulfills the bounty, my LKY address is LFbZvfyMFypVuraKULD54SLd4S3wmmfHaW Smiley

Enjoy!

EDIT: Fixed a bug that prevented the wallet from synching. Please re-download if you downloaded earlier and are getting "Displayed transactions may not be correct" errors.
hero member
Activity: 1426
Merit: 506
LKY is an up and coming coin and would benefit hugely from a mac client. I'd gladly put up 250 LKY if you were to compile that
sr. member
Activity: 308
Merit: 250
This should about do it:

http://download.qt-project.org/official_releases/qt/4.8/4.8.4/qt-mac-opensource-4.8.4.dmg

If you want to build your own coin wallets, try MacPorts, install boost, db48, openssl, and miniupnpc.
legendary
Activity: 1148
Merit: 1000
can someone post a link where to download qt and other dependencies?

Thanks
legendary
Activity: 1148
Merit: 1000
can someone make GLD wallet for Mac please?

i will reward the person with 1000 GLD

Send me a pm once you do it with your wallet address


Thanks
sr. member
Activity: 456
Merit: 250
Just a quick update: Ran into some issues with the latest Devcoin client. Got it compiled and deployed okay, and it starts up fine, but crashes after a few seconds - appears to be a memory leak. Troubleshooting and will update later.

The one problem with writing an all-inclusive guide is that some of these alt coins' source code seem to be more Mac friendly or less Mac friendly depending on their author. Mincoin appears to have been very Mac friendly at the source level - the QT project file already had all kinds of flags set for Macs... Anyway, I'll keep trucking along and update this soon.

P.S. The mini-guide above is still valid,... I just need to elaborate on some things like how to install HomeBrew and dependencies, etc.

P.P.S. I'd appreciate anyone who uses the Mincoin-qt client I compiled for a few days posting back here to vouch that there was no Trojan inserted by me stealing your coin or anything.

Thanks! Smiley

Thanks to your instructions, and with a bit of fiddling, I was able to compile my own Mac version of the MinCoin app. I had to adjust a few things for compiling on Mountain Lion, using homebrew. Here's a quick list of what I had to do, in case anyone else wants to try:

  • After installing the Qt SDK, I had to find the file g++-macx.conf (it was in /usr/local/Qt4.8/mkspecs/common for me) and change the two instances of -mmacosx-version-min=10.5 to -mmacosx-version-min=10.7. This is apparently a known bug. See https://qt-project.org/forums/viewreply/93191/. The downside is that the compiled client won't work on OS X versions older than Lion. Sad
  • sudo ln -s /usr/local /opt/local (because the MinCoin Mac code assumes you have MacPorts, not homebrew.)
  • Use the GCC (x86 64bit) toolchain, not the clang toolchain.
  • Since homebrew installs openssl and berkeley-db4 as keg-only, I had to force-link them (brew link --force openssl, etc.)

Once I'd done that, I didn't have to change the MinCoin code at all to build the Qt app, which was great. That got me to a dynamically linked version of MinCoin-Qt.app that only worked on the computer I compiled it on. Then I looked at bushstar's script and modified it for homebrew, like this:

Code:
#!/bin/bash
mkdir MinCoin-Qt.app/Contents/Frameworks
cp -RL /Library/Frameworks/QtCore.framework MinCoin-Qt.app/Contents/Frameworks
cp -RL /Library/Frameworks/QtGui.framework MinCoin-Qt.app/Contents/Frameworks
cp -RL /usr/local/lib/libminiupnpc.9.dylib MinCoin-Qt.app/Contents/Frameworks
cp -RL /usr/local/opt/openssl/lib/libssl.1.0.0.dylib MinCoin-Qt.app/Contents/Frameworks
cp -RL /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib MinCoin-Qt.app/Contents/Frameworks
cp -RL /usr/local/opt/berkeley-db4/lib/libdb_cxx-4.8.dylib MinCoin-Qt.app/Contents/Frameworks
cp -RL /usr/local/lib/libboost_system-mt.dylib MinCoin-Qt.app/Contents/Frameworks
cp -RL /usr/local/lib/libboost_filesystem-mt.dylib MinCoin-Qt.app/Contents/Frameworks
cp -RL /usr/local/lib/libboost_program_options-mt.dylib MinCoin-Qt.app/Contents/Frameworks
cp -RL /usr/local/lib/libboost_thread-mt.dylib MinCoin-Qt.app/Contents/Frameworks
chmod -R +w MinCoin-Qt.app/Contents/Frameworks
install_name_tool -id @executable_path/../Frameworks/QtCore.framework/Versions/4/QtCore MinCoin-Qt.app/Contents/Frameworks/QtCore.framework/Versions/4/QtCore
install_name_tool -id @executable_path/../Frameworks/QtGui.framework/Versions/4/QtGui MinCoin-Qt.app/Contents/Frameworks/QtGui.framework/Versions/4/QtGui
install_name_tool -id @executable_path/../Frameworks/libminiupnpc.9.dylib MinCoin-Qt.app/Contents/Frameworks/libminiupnpc.9.dylib
install_name_tool -id @executable_path/../Frameworks/libssl.1.0.0.dylib MinCoin-Qt.app/Contents/Frameworks/libssl.1.0.0.dylib
install_name_tool -id @executable_path/../Frameworks/libcrypto.1.0.0.dylib MinCoin-Qt.app/Contents/Frameworks/libcrypto.1.0.0.dylib
install_name_tool -id @executable_path/../Frameworks/libdb_cxx-4.8.dylib MinCoin-Qt.app/Contents/Frameworks/libdb_cxx-4.8.dylib
install_name_tool -id @executable_path/../Frameworks/libboost_system-mt.dylib MinCoin-Qt.app/Contents/Frameworks/libboost_system-mt.dylib
install_name_tool -id @executable_path/../Frameworks/libboost_filesystem-mt.dylib MinCoin-Qt.app/Contents/Frameworks/libboost_filesystem-mt.dylib
install_name_tool -id @executable_path/../Frameworks/libboost_program_options-mt.dylib MinCoin-Qt.app/Contents/Frameworks/libboost_program_options-mt.dylib
install_name_tool -id @executable_path/../Frameworks/libboost_thread-mt.dylib MinCoin-Qt.app/Contents/Frameworks/libboost_thread-mt.dylib
install_name_tool -change QtCore.framework/Versions/4/QtCore @executable_path/../Frameworks/QtCore.framework/Versions/4/QtCore MinCoin-Qt.app/Contents/MacOs/MinCoin-Qt
install_name_tool -change QtGui.framework/Versions/4/QtGui @executable_path/../Frameworks/QtGui.framework/Versions/4/QtGui MinCoin-Qt.app/Contents/MacOs/MinCoin-Qt
install_name_tool -change QtCore.framework/Versions/4/QtCore @executable_path/../Frameworks/QtCore.framework/Versions/4/QtCore MinCoin-Qt.app/Contents/Frameworks/QtGui.framework/Versions/4/QtGui
install_name_tool -change /usr/local/lib/libminiupnpc.9.dylib @executable_path/../Frameworks/libminiupnpc.9.dylib MinCoin-Qt.app/Contents/MacOs/MinCoin-Qt
install_name_tool -change /usr/local/opt/openssl/lib/libssl.1.0.0.dylib @executable_path/../Frameworks/libssl.1.0.0.dylib MinCoin-Qt.app/Contents/MacOs/MinCoin-Qt
install_name_tool -change /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib @executable_path/../Frameworks/libcrypto.1.0.0.dylib MinCoin-Qt.app/Contents/MacOs/MinCoin-Qt
install_name_tool -change /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib @executable_path/../Frameworks/libcrypto.1.0.0.dylib MinCoin-Qt.app/Contents/Frameworks/libssl.1.0.0.dylib
install_name_tool -change /usr/local/opt/berkeley-db4/lib/libdb_cxx-4.8.dylib @executable_path/../Frameworks/libdb_cxx-4.8.dylib MinCoin-Qt.app/Contents/MacOs/MinCoin-Qt
install_name_tool -change /usr/local/lib/libboost_system-mt.dylib @executable_path/../Frameworks/libboost_system-mt.dylib MinCoin-Qt.app/Contents/MacOs/MinCoin-Qt
install_name_tool -change /usr/local/lib/libboost_system-mt.dylib @executable_path/../Frameworks/libboost_system-mt.dylib MinCoin-Qt.app/Contents/Frameworks/libboost_filesystem-mt.dylib
install_name_tool -change /usr/local/lib/libboost_system-mt.dylib @executable_path/../Frameworks/libboost_system-mt.dylib MinCoin-Qt.app/Contents/Frameworks/libboost_thread-mt.dylib
install_name_tool -change /usr/local/lib/libboost_filesystem-mt.dylib @executable_path/../Frameworks/libboost_filesystem-mt.dylib MinCoin-Qt.app/Contents/MacOs/MinCoin-Qt
install_name_tool -change /usr/local/lib/libboost_program_options-mt.dylib @executable_path/../Frameworks/libboost_program_options-mt.dylib MinCoin-Qt.app/Contents/MacOs/MinCoin-Qt
install_name_tool -change /usr/local/lib/libboost_thread-mt.dylib @executable_path/../Frameworks/libboost_thread-mt.dylib MinCoin-Qt.app/Contents/MacOs/MinCoin-Qt

After running that, I had a statically linked app that worked great on another Mac! Now to try some of the other clients...

jrlepage, I don't have very many mincoins, but I'm sending a couple your way.
bushstar, I didn't see a donation address for you, but I'd like to send you a tip as well.
sr. member
Activity: 271
Merit: 250
Thar be a big reward if ye can build a doubloons-qt client fer mac.

https://bitcointalksearch.org/topic/dbl-doubloons-pirate-currency-206361
legendary
Activity: 2632
Merit: 1023
On the list for MAC would be

TRC client
IXC client
BCQ client
GLD client
FTC Client
CNC client

but the how to is even better than this!!!




member
Activity: 66
Merit: 10
Just a quick update: Ran into some issues with the latest Devcoin client. Got it compiled and deployed okay, and it starts up fine, but crashes after a few seconds - appears to be a memory leak. Troubleshooting and will update later.

The one problem with writing an all-inclusive guide is that some of these alt coins' source code seem to be more Mac friendly or less Mac friendly depending on their author. Mincoin appears to have been very Mac friendly at the source level - the QT project file already had all kinds of flags set for Macs... Anyway, I'll keep trucking along and update this soon.

P.S. The mini-guide above is still valid,... I just need to elaborate on some things like how to install HomeBrew and dependencies, etc.

P.P.S. I'd appreciate anyone who uses the Mincoin-qt client I compiled for a few days posting back here to vouch that there was no Trojan inserted by me stealing your coin or anything.

Thanks! Smiley
sr. member
Activity: 308
Merit: 250
Another tip: the locate command can be very helpful when your client doesn't find all the dependencies.

Oh PLEASE! I would LOVE an iXCoin and Devcoin QT for Mac!! Even better, tell me your secrets so I can make my own? The only other one I care about would be MinCoin, can you make one for MinCoin too?

OH PLEASE PLEASE PLEASE Cheesy Cheesy

Have you tried this Devcoin client?

I haven't, looked for ever for it too, will give it a go!
sr. member
Activity: 308
Merit: 250
Thanks bushtar and jrlepage; I'm happy to know more about this too! Can't wait to have a couple more wallets I don't need to run crossover for!
member
Activity: 66
Merit: 10
If it help at all below is the script I use with Feathercoin to copy all the library files into the .app and update the locations. Just change the client name and update your library paths.


Very nice bushstar, thank you for this. I probably wasted a good 30 min typing all of that out for the mincoin client.

Some people are suggesting that instead of offering compiled versions for Mac for tips, I just publish a complete guide for those interested in compiling themselves, and accept tips. I've pretty much already done that above, but I will try to elaborate on the guide and fill in any missing steps. If you are unable to follow it or would rather not spend the time, and you are willing to trust that I haven't inserted any malicious code, I'm still willing to do the compiling for you.

Should have the devcoin and ixCoin clients done later today...

If any of this is useful to you, I appreciate tips, but they're obviously not required. This information is out there for those who are willing to spend the time looking, I just hoped I could save people some time and make a little coin in tips.

P.S. Some people may have to change some of the information in that script beyond the name of the client. For example, I used QT v. 4.8.3 rather than 4.8.1, and some of the paths in your script refer to /Users/User which would be different for other people depending on their OS X username. Nonetheless, very handy! I'd suggest people check the paths for themselves using otool -L to verify prior to using the script.
hero member
Activity: 617
Merit: 531
If it helps at all, below is the script I wrote for Feathercoin to copy all the library files into the .app and update the locations. Just change the client name and update the library paths.

Quote
mkdir Feathercoin-Qt.app/Contents/Frameworks
cp -R /Users/User/QtSDK/Desktop/Qt/4.8.1/gcc/lib/QtCore.framework Feathercoin-Qt.app/Contents/Frameworks
cp -R /Users/User/QtSDK/Desktop/Qt/4.8.1/gcc/lib/QtGui.framework Feathercoin-Qt.app/Contents/Frameworks
cp -R /opt/local/lib/libminiupnpc.8.dylib Feathercoin-Qt.app/Contents/Frameworks
cp -R /opt/local/lib/libssl.1.0.0.dylib Feathercoin-Qt.app/Contents/Frameworks
cp -R /opt/local/lib/libz.1.dylib Feathercoin-Qt.app/Contents/Frameworks
cp -R /opt/local/lib/libz.1.2.7.dylib Feathercoin-Qt.app/Contents/Frameworks
cp -R /opt/local/lib/libcrypto.1.0.0.dylib Feathercoin-Qt.app/Contents/Frameworks
cp -R /opt/local/lib/db48/libdb_cxx-4.8.dylib Feathercoin-Qt.app/Contents/Frameworks
cp -R /opt/local/lib/libboost_system-mt.dylib Feathercoin-Qt.app/Contents/Frameworks
cp -R /opt/local/lib/libboost_filesystem-mt.dylib Feathercoin-Qt.app/Contents/Frameworks
cp -R /opt/local/lib/libboost_program_options-mt.dylib Feathercoin-Qt.app/Contents/Frameworks
cp -R /opt/local/lib/libboost_thread-mt.dylib Feathercoin-Qt.app/Contents/Frameworks
install_name_tool -id @executable_path/../Frameworks/QtCore.framework/Versions/4/QtCore Feathercoin-Qt.app/Contents/Frameworks/QtCore.framework/Versions/4/QtCore
install_name_tool -id @executable_path/../Frameworks/QtGui.framework/Versions/4/QtGui Feathercoin-Qt.app/Contents/Frameworks/QtGui.framework/Versions/4/QtGui
install_name_tool -id @executable_path/../Frameworks/libminiupnpc.8.dylib Feathercoin-Qt.app/Contents/Frameworks/libminiupnpc.8.dylib
install_name_tool -id @executable_path/../Frameworks/libssl.1.0.0.dylib Feathercoin-Qt.app/Contents/Frameworks/libssl.1.0.0.dylib
install_name_tool -id @executable_path/../Frameworks/libz.1.dylib Feathercoin-Qt.app/Contents/Frameworks/libz.1.dylib
install_name_tool -id @executable_path/../Frameworks/libcrypto.1.0.0.dylib Feathercoin-Qt.app/Contents/Frameworks/libcrypto.1.0.0.dylib
install_name_tool -id @executable_path/../Frameworks/libdb_cxx-4.8.dylib Feathercoin-Qt.app/Contents/Frameworks/libdb_cxx-4.8.dylib
install_name_tool -id @executable_path/../Frameworks/libboost_system-mt.dylib Feathercoin-Qt.app/Contents/Frameworks/libboost_system-mt.dylib
install_name_tool -id @executable_path/../Frameworks/libboost_filesystem-mt.dylib Feathercoin-Qt.app/Contents/Frameworks/libboost_filesystem-mt.dylib
install_name_tool -id @executable_path/../Frameworks/libboost_program_options-mt.dylib Feathercoin-Qt.app/Contents/Frameworks/libboost_program_options-mt.dylib
install_name_tool -id @executable_path/../Frameworks/libboost_thread-mt.dylib Feathercoin-Qt.app/Contents/Frameworks/libboost_thread-mt.dylib
install_name_tool -change /Users/User/QtSDK/Desktop/Qt/4.8.1/gcc/lib/QtCore.framework/Versions/4/QtCore @executable_path/../Frameworks/QtCore.framework/Versions/4/QtCore Feathercoin-Qt.app/Contents/MacOs/Feathercoin-Qt
install_name_tool -change /Users/User/QtSDK/Desktop/Qt/4.8.1/gcc/lib/QtGui.framework/Versions/4/QtGui @executable_path/../Frameworks/QtGui.framework/Versions/4/QtGui Feathercoin-Qt.app/Contents/MacOs/Feathercoin-Qt
install_name_tool -change /Users/User/QtSDK/Desktop/Qt/4.8.1/gcc/lib/QtCore.framework/Versions/4/QtCore @executable_path/../Frameworks/QtCore.framework/Versions/4/QtCore Feathercoin-Qt.app/Contents/Frameworks/QtGui.framework/Versions/4/QtGui
install_name_tool -change /opt/local/lib/libminiupnpc.8.dylib @executable_path/../Frameworks/libminiupnpc.8.dylib Feathercoin-Qt.app/Contents/MacOs/Feathercoin-Qt
install_name_tool -change /opt/local/lib/libssl.1.0.0.dylib @executable_path/../Frameworks/libssl.1.0.0.dylib Feathercoin-Qt.app/Contents/MacOs/Feathercoin-Qt
install_name_tool -change /opt/local/lib/libz.1.dylib @executable_path/../Frameworks/libz.1.dylib Feathercoin-Qt.app/Contents/Frameworks/libcrypto.1.0.0.dylib
install_name_tool -change /opt/local/lib/libz.1.dylib @executable_path/../Frameworks/libz.1.dylib Feathercoin-Qt.app/Contents/Frameworks/libssl.1.0.0.dylib
install_name_tool -change /opt/local/lib/libcrypto.1.0.0.dylib @executable_path/../Frameworks/libcrypto.1.0.0.dylib Feathercoin-Qt.app/Contents/MacOs/Feathercoin-Qt
install_name_tool -change /opt/local/lib/libcrypto.1.0.0.dylib @executable_path/../Frameworks/libcrypto.1.0.0.dylib Feathercoin-Qt.app/Contents/Frameworks/libssl.1.0.0.dylib
install_name_tool -change /opt/local/lib/db48/libdb_cxx-4.8.dylib @executable_path/../Frameworks/libdb_cxx-4.8.dylib Feathercoin-Qt.app/Contents/MacOs/Feathercoin-Qt
install_name_tool -change /opt/local/lib/libboost_system-mt.dylib @executable_path/../Frameworks/libboost_system-mt.dylib Feathercoin-Qt.app/Contents/MacOs/Feathercoin-Qt
install_name_tool -change /opt/local/lib/libboost_system-mt.dylib @executable_path/../Frameworks/libboost_system-mt.dylib Feathercoin-Qt.app/Contents/Frameworks/libboost_filesystem-mt.dylib
install_name_tool -change /opt/local/lib/libboost_system-mt.dylib @executable_path/../Frameworks/libboost_system-mt.dylib Feathercoin-Qt.app/Contents/Frameworks/libboost_thread-mt.dylib
install_name_tool -change /opt/local/lib/libboost_filesystem-mt.dylib @executable_path/../Frameworks/libboost_filesystem-mt.dylib Feathercoin-Qt.app/Contents/MacOs/Feathercoin-Qt
install_name_tool -change /opt/local/lib/libboost_program_options-mt.dylib @executable_path/../Frameworks/libboost_program_options-mt.dylib Feathercoin-Qt.app/Contents/MacOs/Feathercoin-Qt
install_name_tool -change /opt/local/lib/libboost_thread-mt.dylib @executable_path/../Frameworks/libboost_thread-mt.dylib Feathercoin-Qt.app/Contents/MacOs/Feathercoin-Qt
member
Activity: 66
Merit: 10
doesnt sound like a scam at all
let me give u this program here

I appreciate your skepticism; if you can suggest a better way for me to provide the Mac client to users without everyone assuming I'm a hacker, I'd appreciate the input. Just curious, do you compile all of your software from source or do you trust anyone to compile software for you?
sr. member
Activity: 456
Merit: 250
Please do share the details of the process! I've tried to get several of the Qt wallets working on the Mac, and been fairly close with a few of them, but never quite succeeded. I promise I won't find it boring. Smiley

I will post the entire process here soon but here's a quick rundown... and Coinbuck you're right, I realize that if I were able I could insert whatever I want into the code prior to compiling. As I said, you'll just have to trust me to some extent - if you can suggest a way that I can prove that there's nothing malicious in the Mac binaries please let me know and I'll be more than happy to comply. All I can do for now is give you my word that I'm not interested in doing something like that.

Ok, so brief rundown of how to do this:
 
[...]

That's all! Smiley I'm sure I left out some stuff, but that's the gist of it.

That's fantastic, thank you! I'll give this a try with some of the other wallets as soon as I can. I would love to stop running these in Parallels. Smiley
grc
newbie
Activity: 40
Merit: 0
Another tip: the locate command can be very helpful when your client doesn't find all the dependencies.

Oh PLEASE! I would LOVE an iXCoin and Devcoin QT for Mac!! Even better, tell me your secrets so I can make my own? The only other one I care about would be MinCoin, can you make one for MinCoin too?

OH PLEASE PLEASE PLEASE Cheesy Cheesy

Have you tried this Devcoin client?
sr. member
Activity: 322
Merit: 250
I AM A DRAGON
doesnt sound like a scam at all
let me give u this program here
Pages:
Jump to: