Bitcoin Forum
June 26, 2024, 05:15:28 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Bytecoin-Qt for Mac OS X  (Read 6393 times)
saigo (OP)
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
April 06, 2013, 02:51:31 PM
 #1


After a mountain of hurdles, and learning curves today, ( its been fun ! ), I've built Bytecoin-Qt for Mac OS X

You can grab it here for now http://ge.tt/43pGKId/v/0?c

It was built on Mac OS Lion, x86_64. I wouldn't be surprised if it has problems on other versions, let me know if so, and apologies in advance if that is the case.

btw - I used the source code from https://github.com/bryan-mills/bytecoin


@BryanMills - please feel free to move to the location where you have the others for Win and Linux.

If you make use of this, and happen to feel like giving me a tip :

BTE -  8GTULpyxpPTpChEjQKWbHrdwGnMFwyLdzK
BTC -  1gPbDBgpWskvnGNjQ3aTmdd7WDxw7Fk18
LTC -  LMxyAq6Pisv9irKtrJ9hMVMpTv4qXWCFVc

Saigō Takamori : ( 1828 – 1877) was one of the most influential samurai in Japanese history. He has been dubbed the last true samurai.
BitHits
Full Member
***
Offline Offline

Activity: 196
Merit: 100



View Profile WWW
April 06, 2013, 08:14:16 PM
 #2

Added to https://bitcointalk.org/index.php?topic=168538 Smiley

Free BTC http://beta.BitHits.info BTC 1DNNERMT5MMusfYnCBfcKCBjBKZWBC5Lg2 DGC DH2Pm4VXxsTeqUYZkEySU1c8p5TLvuLe8u LTC LP2QiL1pnsaKVX5Qa811pFJuFL8FxkxWRz
saigo (OP)
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
April 07, 2013, 12:10:03 AM
 #3


Great, thanks! ( 7 downloads so far  Grin )

Saigō Takamori : ( 1828 – 1877) was one of the most influential samurai in Japanese history. He has been dubbed the last true samurai.
c1010010
Sr. Member
****
Offline Offline

Activity: 275
Merit: 250



View Profile
April 07, 2013, 12:28:11 AM
 #4


Sounds good. I'll give it a go.

         YOU TOO CAN BE A MILLIONAIRE – INFINITECOIN Infinite possibilities – http://infinitecointalk.org          
saigo (OP)
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
April 07, 2013, 12:43:36 AM
 #5

Doesn't work on mountain lion, 10.8.3, doesn't even load crash right on start.

hmm, Well I only have Lion, which is what was used to do the build, and it is the first time for me doing something like this, ( a rather steep learning curve Wink )

If you can find any useful logs, will be interested in taking a look. If you'd like to try building on ML, happy to point you in right direction if you need it.


Saigō Takamori : ( 1828 – 1877) was one of the most influential samurai in Japanese history. He has been dubbed the last true samurai.
romerun
Legendary
*
Offline Offline

Activity: 1078
Merit: 1001


Bitcoin is new, makes sense to hodl.


View Profile
April 07, 2013, 04:40:33 AM
 #6

can you post some building instructions ?

and would be nice if it works with homebrew, coz who uses macports these days, and they are stepping one another toes
saigo (OP)
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
April 07, 2013, 04:45:14 AM
 #7

can you post some building instructions ?

and would be nice if it works with homebrew, coz who uses macports these days, and they are stepping one another toes

https://github.com/bitcoin/bitcoin/blob/master/doc/build-osx.md

For qt - https://github.com/bitcoin/bitcoin/blob/master/doc/readme-qt.rst ( this quite a bit more difficult than the doc suggests if like me, you havent used qt creator before, took a while to figure out, and, I couldn't get it to work with version 5 qt, seems you do have to use 4 )

Saigō Takamori : ( 1828 – 1877) was one of the most influential samurai in Japanese history. He has been dubbed the last true samurai.
maxmint
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500



View Profile
April 07, 2013, 04:20:49 PM
 #8

Thanks for uploading, but unfortunately it does not work for me, I'm on 10.8.3 (crashes immediately after openeing).

My PGP-Key: 462D02D8
Verify my messages using keybase: https://keybase.io/maxmint
saigo (OP)
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
April 07, 2013, 09:53:34 PM
 #9

Thanks for uploading, but unfortunately it does not work for me, I'm on 10.8.3 (crashes immediately after openeing).

It was compiled on Lion, 10.7. Probably something it's linked against is different in 10.8. Could be 10.8 uses a different 'db' version, seems the bitcoin/bytecoin code requires db48. Try running something like 'locate lib | grep db48', see if its there ?


Saigō Takamori : ( 1828 – 1877) was one of the most influential samurai in Japanese history. He has been dubbed the last true samurai.
maxmint
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500



View Profile
April 07, 2013, 09:55:51 PM
 #10

Thanks for uploading, but unfortunately it does not work for me, I'm on 10.8.3 (crashes immediately after openeing).

It was compiled on Lion, 10.7. Probably something it's linked against is different in 10.8. Could be 10.8 uses a different 'db' version, seems the bitcoin/bytecoin code requires db48. Try running something like 'locate lib | grep db48', see if its there ?


Running "locate lib | grep db48" gives no output all at, so it might be missing. Is there a debug log somewhere where I can look up the errors?

My PGP-Key: 462D02D8
Verify my messages using keybase: https://keybase.io/maxmint
saigo (OP)
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
April 07, 2013, 10:01:18 PM
 #11

I'll upload the binary later, ( can't do it right now ), and will paste link here, if you run that on command line it may output a meaningful error to give a clue

Other than that, in the meantime /var/log/system.log may show something useful

Saigō Takamori : ( 1828 – 1877) was one of the most influential samurai in Japanese history. He has been dubbed the last true samurai.
saigo (OP)
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
April 08, 2013, 10:22:27 AM
 #12

I'll upload the binary later, ( can't do it right now ), and will paste link here, if you run that on command line it may output a meaningful error to give a clue

Other than that, in the meantime /var/log/system.log may show something useful

This should show what bytecoin linked against when I compiled it, note db48 is mentioned, if you dont have this, maybe a later version only, like db53, this could be the problem, just a hunch.

Code:
$ otool -L bytecoind
bytecoind:
/opt/local/lib/db48/libdb_cxx-4.8.dylib (compatibility version 0.0.0, current version 0.0.0)
/opt/local/lib/libboost_system-mt.dylib (compatibility version 0.0.0, current version 0.0.0)
/opt/local/lib/libboost_filesystem-mt.dylib (compatibility version 0.0.0, current version 0.0.0)
/opt/local/lib/libboost_program_options-mt.dylib (compatibility version 0.0.0, current version 0.0.0)
/opt/local/lib/libboost_thread-mt.dylib (compatibility version 0.0.0, current version 0.0.0)
/opt/local/lib/libssl.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/opt/local/lib/libcrypto.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.7)
/opt/local/lib/libminiupnpc.8.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 52.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)
$

I've uploaded bytecoind here :

http://ge.tt/28qBETd/v/0?c

Try running this on command line, maybe start with ./bytecoind -?  to see the options etc.. e.g, -debug

Hope that helps!, let me know what you find..


Saigō Takamori : ( 1828 – 1877) was one of the most influential samurai in Japanese history. He has been dubbed the last true samurai.
shiv
Newbie
*
Offline Offline

Activity: 54
Merit: 0


View Profile
April 08, 2013, 12:06:14 PM
 #13

Code:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: /opt/local/lib/libminiupnpc.8.dylib
  Referenced from: /Volumes/VOLUME/Bytecoin-Qt.app/Contents/MacOS/Bitcoin-Qt
  Reason: image not found
saigo (OP)
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
April 08, 2013, 12:12:16 PM
 #14

Code:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: /opt/local/lib/libminiupnpc.8.dylib
  Referenced from: /Volumes/VOLUME/Bytecoin-Qt.app/Contents/MacOS/Bitcoin-Qt
  Reason: image not found


run
Code:
ls -la /opt/local/lib/libminiupnpc.8.dylib
  is it there ?

Saigō Takamori : ( 1828 – 1877) was one of the most influential samurai in Japanese history. He has been dubbed the last true samurai.
lbr
Sr. Member
****
Offline Offline

Activity: 423
Merit: 254


View Profile
April 09, 2013, 10:03:51 PM
Last edit: April 09, 2013, 10:17:50 PM by lbr
 #15

btw,
you can change dylib paths after compilations, f.e.-

install_name_tool -change  /usr/local/Cellar/gcc48/4.8.0/gcc/lib/libgcc_s.1.dylib ./libgcc_s.1.dylib  cgminer

makes cgminer too look for libgcc_s.1dylib in current folder ./

I've created portable cgminer that way.

There is only one issue, though.
If you then run your executable from finder, it will use system installed libraries if they are available.
And some libraries provided with Mac OS X are old.

So, in order to use libraries in your 'portable package'( at "./"path) you need to create .sh which first cd's to current executable folder and then launches it.

BTC: 18ozhbkfHneX8tnPgHJuTizyBmspM5Vgpa  LTC: LgVc7KdedPGZyDXHXEH9G7z6AoTmTvDdWb
cgminer 2.11.13 x64 portable for Mac OS X 10.6.8
6+ GPUs driver mod for Windows
c1010010
Sr. Member
****
Offline Offline

Activity: 275
Merit: 250



View Profile
April 10, 2013, 05:42:10 PM
 #16

Any chance for pre-compiled binaries?

I'm having a hell of a time.

         YOU TOO CAN BE A MILLIONAIRE – INFINITECOIN Infinite possibilities – http://infinitecointalk.org          
saigo (OP)
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
April 10, 2013, 09:32:14 PM
 #17

Any chance for pre-compiled binaries?

I'm having a hell of a time.

Everything I have is in the links above, links to the source code, link to the -qt I created on my Mac running Lion, and the bytecoind binary that I compiled from the source. Not sure there is anything else, if someone wants to give me the cost of Mountain Lion ( is it mountain Lion you having the trouble on ? ) in bitcoins, I'll go buy it, install it and try and compile one that works on that version ( no guarantees I can get it working though ) Smiley

Other than that, what problems are you having, share the info, might be able to help...

Saigō Takamori : ( 1828 – 1877) was one of the most influential samurai in Japanese history. He has been dubbed the last true samurai.
c1010010
Sr. Member
****
Offline Offline

Activity: 275
Merit: 250



View Profile
April 10, 2013, 10:28:24 PM
 #18

Any chance for pre-compiled binaries?

I'm having a hell of a time.

Everything I have is in the links above, links to the source code, link to the -qt I created on my Mac running Lion, and the bytecoind binary that I compiled from the source. Not sure there is anything else, if someone wants to give me the cost of Mountain Lion ( is it mountain Lion you having the trouble on ? ) in bitcoins, I'll go buy it, install it and try and compile one that works on that version ( no guarantees I can get it working though ) Smiley

Other than that, what problems are you having, share the info, might be able to help...

Quite a few errors. 
Any ideas:  http://pastebin.com/Cj50BVbb

         YOU TOO CAN BE A MILLIONAIRE – INFINITECOIN Infinite possibilities – http://infinitecointalk.org          
saigo (OP)
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
April 11, 2013, 09:20:29 AM
 #19

Any chance for pre-compiled binaries?

I'm having a hell of a time.

Everything I have is in the links above, links to the source code, link to the -qt I created on my Mac running Lion, and the bytecoind binary that I compiled from the source. Not sure there is anything else, if someone wants to give me the cost of Mountain Lion ( is it mountain Lion you having the trouble on ? ) in bitcoins, I'll go buy it, install it and try and compile one that works on that version ( no guarantees I can get it working though ) Smiley

Other than that, what problems are you having, share the info, might be able to help...

Quite a few errors. 
Any ideas:  http://pastebin.com/Cj50BVbb

Just from all those references to 'boost' I'd say perhaps you're missing that, or have a different version than required, probably the former, or if boost is all present and correct the code isn't seeing it, not sure why that would be though.

Have you tried following the instructions here ?

https://github.com/bitcoin/bitcoin/blob/master/doc/build-osx.md

Note, in the macports or homebrew sections it mentions installing these,

boost
db48@+no_java
openssl
miniupnpc

Saigō Takamori : ( 1828 – 1877) was one of the most influential samurai in Japanese history. He has been dubbed the last true samurai.
shakezula
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250



View Profile
April 21, 2013, 04:16:25 AM
 #20

Thanks!!
Pages: [1] 2 »  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!