Bitcoin Forum
November 07, 2024, 11:40:52 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2] 3 4 5 6 »  All
  Print  
Author Topic: Compiling Mac Clients for ANY Alt Coin, Your Choice!  (Read 14359 times)
diatonic
Sr. Member
****
Offline Offline

Activity: 271
Merit: 250


View Profile
May 17, 2013, 03:57:21 PM
 #21

Thar be a big reward if ye can build a doubloons-qt client fer mac.

https://bitcointalk.org/index.php?topic=206361.0

#bitcoin-otc ratings: http://bitcoin-otc.com/viewratingdetail.php?nick=diatonic | Tips: 1DiATonicgGnUcsH6NpSuCEDwRRW3wecgs
maxpower
Sr. Member
****
Offline Offline

Activity: 456
Merit: 250


View Profile
May 18, 2013, 09:28:15 PM
 #22

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.

Mac Altcoin Wallets: https://bitcointalk.org/index.php?topic=216672 | Rep Thread: https://bitcointalk.org/index.php?topic=205035.0
BTC: 13wuRW8v1PtZrbKKrBfT5JcuiCwpMqpCmY
ryanb
Legendary
*
Offline Offline

Activity: 1148
Merit: 1000



View Profile
May 25, 2013, 02:01:11 PM
 #23

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

https://bitcoinfundingteam.com/ref/SatoshiTeam
turn 0.1 BTC to 80BTC week after week!!!
ryanb
Legendary
*
Offline Offline

Activity: 1148
Merit: 1000



View Profile
May 25, 2013, 02:50:35 PM
 #24

can someone post a link where to download qt and other dependencies?

Thanks

https://bitcoinfundingteam.com/ref/SatoshiTeam
turn 0.1 BTC to 80BTC week after week!!!
shakezula
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250



View Profile
May 25, 2013, 02:53:20 PM
 #25

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.
BChydro
Hero Member
*****
Offline Offline

Activity: 1426
Merit: 506


View Profile
May 25, 2013, 02:53:57 PM
 #26

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
maxpower
Sr. Member
****
Offline Offline

Activity: 456
Merit: 250


View Profile
May 25, 2013, 04:59:47 PM
Last edit: May 26, 2013, 04:49:44 AM by maxpower
 #27

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.

Mac Altcoin Wallets: https://bitcointalk.org/index.php?topic=216672 | Rep Thread: https://bitcointalk.org/index.php?topic=205035.0
BTC: 13wuRW8v1PtZrbKKrBfT5JcuiCwpMqpCmY
BitcoinBoard
Full Member
***
Offline Offline

Activity: 168
Merit: 100



View Profile WWW
May 25, 2013, 05:22:18 PM
 #28

Could you Please make a Qt client on mac for GLD (Goldcoin)?

There is a bounty of 1000GLD for that

Bitcoin (BTC) Adress: 1EJMCFdJMsNmp9jtSztnwu9yErRj1KAATc
Litecoin (LTC) Adress: LiTakTnY9Qv71GqQbpGpEbN39e5aQyqLGX
Simran
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500



View Profile WWW
May 25, 2013, 08:49:35 PM
 #29

1000 USC to compile a USC client for Mac OSX Smiley

*Image Removed*
Donate LTC: LRgbgTa3XNQSEUhnwC6Ye2vjiCV2CNRpib
Donate BTC: 1AGP6xPTRvsAVhsRsBX13NUH6p6LJjyeiA
maxpower
Sr. Member
****
Offline Offline

Activity: 456
Merit: 250


View Profile
May 26, 2013, 12:01:08 AM
 #30

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.

Mac Altcoin Wallets: https://bitcointalk.org/index.php?topic=216672 | Rep Thread: https://bitcointalk.org/index.php?topic=205035.0
BTC: 13wuRW8v1PtZrbKKrBfT5JcuiCwpMqpCmY
maxpower
Sr. Member
****
Offline Offline

Activity: 456
Merit: 250


View Profile
May 26, 2013, 12:46:57 AM
 #31

1000 USC to compile a USC client for Mac OSX Smiley

Okay, here's a Mac compile of the USCoin wallet: https://www.dropbox.com/s/vjwhgy99mlfp61k/USCoin-Qt-0.6.3.0-Mac.zip

If this works well and you think it deserves the bounty, my USCoin address is: URhgVofm2QDYp5qC9qRYchzXKz4xGYiwQR

Enjoy!

Mac Altcoin Wallets: https://bitcointalk.org/index.php?topic=216672 | Rep Thread: https://bitcointalk.org/index.php?topic=205035.0
BTC: 13wuRW8v1PtZrbKKrBfT5JcuiCwpMqpCmY
zeeshanblc
Sr. Member
****
Offline Offline

Activity: 390
Merit: 250



View Profile
May 26, 2013, 03:15:44 AM
 #32

Can you compile powercoin for us?
maxpower
Sr. Member
****
Offline Offline

Activity: 456
Merit: 250


View Profile
May 26, 2013, 05:26:43 AM
 #33

UPDATE: I found and fixed a startup crash bug that was affecting all the wallets I posted above, on some systems. I also fixed a blockchain bug in the Luckycoin wallet. If you downloaded any of those wallets before the time of this post, please re-download them.

Mac Altcoin Wallets: https://bitcointalk.org/index.php?topic=216672 | Rep Thread: https://bitcointalk.org/index.php?topic=205035.0
BTC: 13wuRW8v1PtZrbKKrBfT5JcuiCwpMqpCmY
ryanb
Legendary
*
Offline Offline

Activity: 1148
Merit: 1000



View Profile
May 26, 2013, 05:33:12 AM
 #34

Thank you it is working awesome

can you post the one for WDC i cannot seem to find it to redownload it

Thanks

https://bitcoinfundingteam.com/ref/SatoshiTeam
turn 0.1 BTC to 80BTC week after week!!!
maxpower
Sr. Member
****
Offline Offline

Activity: 456
Merit: 250


View Profile
May 26, 2013, 05:35:12 AM
 #35

Can you compile powercoin for us?

Here you go: https://www.dropbox.com/s/4jl5xi543vrzf90/Powercoin-Qt-0.6.3.0-Mac.zip

Mac Altcoin Wallets: https://bitcointalk.org/index.php?topic=216672 | Rep Thread: https://bitcointalk.org/index.php?topic=205035.0
BTC: 13wuRW8v1PtZrbKKrBfT5JcuiCwpMqpCmY
ryanb
Legendary
*
Offline Offline

Activity: 1148
Merit: 1000



View Profile
May 26, 2013, 05:37:30 AM
 #36

maxpower is a pro at it now

go max Smiley give it the maxpower


https://bitcoinfundingteam.com/ref/SatoshiTeam
turn 0.1 BTC to 80BTC week after week!!!
jasonslow
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500


View Profile
May 26, 2013, 06:18:27 AM
 #37


Thanks
maxpower
Sr. Member
****
Offline Offline

Activity: 456
Merit: 250


View Profile
May 26, 2013, 01:28:34 PM
 #38

Thank you it is working awesome

can you post the one for WDC i cannot seem to find it to redownload it

Thanks

It's here: https://www.dropbox.com/s/958azh5o2lab3rg/Worldcoin-Qt-0.6.3.0-Mac.zip

I'm going to start a new thread to consolidate all the known Mac altcoin wallets.

Mac Altcoin Wallets: https://bitcointalk.org/index.php?topic=216672 | Rep Thread: https://bitcointalk.org/index.php?topic=205035.0
BTC: 13wuRW8v1PtZrbKKrBfT5JcuiCwpMqpCmY
crendore
Sr. Member
****
Offline Offline

Activity: 363
Merit: 250


View Profile
May 26, 2013, 10:56:06 PM
 #39

Hey guys,

I've been trying to get YACoin compiled for OSX but i'm stuck.  maxpower do you know ASM at all?

Check this out:
https://bitcointalk.org/index.php?topic=206577.msg2279287#msg2279287

ryanb
Legendary
*
Offline Offline

Activity: 1148
Merit: 1000



View Profile
May 26, 2013, 11:34:29 PM
 #40

any chance making a DGC mac wallet?



https://bitcoinfundingteam.com/ref/SatoshiTeam
turn 0.1 BTC to 80BTC week after week!!!
Pages: « 1 [2] 3 4 5 6 »  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!