BitShares Forum

Other => Graveyard => Marketplace => Topic started by: bytemaster on February 04, 2014, 04:15:34 pm

Title: 10 PTS Bounty - New build of Keyhotee for OS X
Post by: bytemaster on February 04, 2014, 04:15:34 pm
Could someone with the ability to create a .dmg for Keyhotee compile the latest for Dan N. 

Thanks,
Dan
Title: Re: 10 PTS Bounty - New build of Keyhotee for OS X
Post by: cass on February 16, 2014, 11:07:36 pm
any news on this? jc
Title: Re: 10 PTS Bounty - New build of Keyhotee for OS X
Post by: wackou on February 18, 2014, 11:45:44 am
Hi, I will be travelling in the next few days but I can have a look at that this weekend if nobody has done it before. Cheers!
Title: Re: 10 PTS Bounty - New build of Keyhotee for OS X
Post by: kmtan on February 21, 2014, 03:15:01 pm
hope to see new version of keyhotee OS X available soon
Title: Re: 10 PTS Bounty - New build of Keyhotee for OS X
Post by: bytemaster on February 21, 2014, 06:34:12 pm
Some guys are working on the nightly build system to have this done.
Title: Re: 10 PTS Bounty - New build of Keyhotee for OS X
Post by: cass on February 22, 2014, 03:06:48 am
thx for update
Title: Re: 10 PTS Bounty - New build of Keyhotee for OS X
Post by: wackou on February 22, 2014, 09:39:58 pm
Here are two pull requests that fix compilation on mac os:

https://github.com/InvictusInnovations/fc/pull/13
https://github.com/InvictusInnovations/keyhotee/pull/299

after that, you can follow the instructions in this file to compile keyhotee

https://github.com/InvictusInnovations/keyhotee/blob/master/bootstrap_mac_dmg.sh

It is recommended to run in a new virtual machine, as it allows to have a clean environment, without any conflicts between system/macports/brew/... (which unfortunately happen often on mac)

Here's a compiled version of keyhotee (as of the version in the pull request): https://www.dropbox.com/s/ngq8c9hsbypxsvv/Keyhotee.dmg
Title: Re: 10 PTS Bounty - New build of Keyhotee for OS X
Post by: bytemaster on February 23, 2014, 12:33:58 am
Here are two pull requests that fix compilation on mac os:

https://github.com/InvictusInnovations/fc/pull/13
https://github.com/InvictusInnovations/keyhotee/pull/299

after that, you can follow the instructions in this file to compile keyhotee

https://github.com/InvictusInnovations/keyhotee/blob/master/bootstrap_mac_dmg.sh

It is recommended to run in a new virtual machine, as it allows to have a clean environment, without any conflicts between system/macports/brew/... (which unfortunately happen often on mac)

Here's a compiled version of keyhotee (as of the version in the pull request): https://www.dropbox.com/s/ngq8c9hsbypxsvv/Keyhotee.dmg

Wackou... if the version of Keyhotee.dmg is portable and I get positive reports then post a PTS address and I will send you 10 PTS :)
Title: Re: 10 PTS Bounty - New build of Keyhotee for OS X
Post by: wackou on February 23, 2014, 10:13:23 am
Thanks, here's my PTS address: Ps8KJ5mJEszeYAhuGhdMPH4EbSiVFqNTFQ

FYI, the things I had to fix since last time:

- some cmake build flags were not completely correct, seems like they were introduced when your guys did the work for the static linux build. No biggie, and I imagine once you're gonna have the Jenkins CI running, this won't happen again

- in fc, you should never forward-declare the std::hash for custom types (ie: fc::sha256 as in https://github.com/InvictusInnovations/fc/pull/13/files but also all the other types, fc::ip::endpoint, etc...). Forward-declaring it, even for only one type, will shadow the declaration from the std lib and all the std::hash template specializations in fc will fail to compile. Not sure if it's a bug in clang or whether clang is stricter than GCC, but that's how it is...

Hope this helps!
Title: Re: 10 PTS Bounty - New build of Keyhotee for OS X
Post by: wackou on February 27, 2014, 01:09:31 pm
@bytemaster: did you have the chance to test it? Any chance you could have a look at it before the bitshares snapshot? :-)

btw, it takes less than an hour to set up a VM to build keyhotee, maybe then you can reuse this VM as a jenkins agent...
Title: Re: 10 PTS Bounty - New build of Keyhotee for OS X
Post by: bitcoinba on February 27, 2014, 02:27:44 pm
I still only have version 1.0 Beta1 for Mac. Is it irrelevant at this point? Is there an update with a download link that is functioning?
Title: Re: 10 PTS Bounty - New build of Keyhotee for OS X
Post by: wackou on February 27, 2014, 02:50:24 pm
Even though the about menu says 1.0beta1, this is more like 0.5.5 (it's the version from 5 days ago). The .dmg I provided here: https://www.dropbox.com/s/ngq8c9hsbypxsvv/Keyhotee.dmg is precisely this version: https://github.com/InvictusInnovations/keyhotee/commit/eba1cfa3c3d0be0bd8190953d8d7086beb421f91
Title: Re: 10 PTS Bounty - New build of Keyhotee for OS X
Post by: kmtan on March 04, 2014, 12:43:56 pm
hi wackou,

do you plan to build keyhotee for version 0.5.6?
Title: Re: 10 PTS Bounty - New build of Keyhotee for OS X
Post by: drekrob on March 04, 2014, 03:47:49 pm
The jenkins server we are setting up already supplies nightly builds for mac and linux here:
ftp://178.63.85.22/
Would be nice to get some feedback if they run, cause i can only test them on the build server. If any dependencies are missing i would not notice as they are installed there.
Title: Re: 10 PTS Bounty - New build of Keyhotee for OS X
Post by: wackou on March 05, 2014, 03:38:42 pm
works on my machine (C)  ;D

it also looks properly built (I checked the dylibs deps), so I assume it would work at least on all macs 10.8 and 10.9.
Title: Re: 10 PTS Bounty - New build of Keyhotee for OS X
Post by: wackou on March 16, 2014, 11:13:16 am
@bytemaster: I think we should be able to close this bounty by now, right? Drekrob setup the jenkins build to have a working .dmg for os x (also helped him for that) and I checked the keyhotee builds and they look properly built, so this should be a solved issue. What do you think?

My pts address in case you agree: Ps8KJ5mJEszeYAhuGhdMPH4EbSiVFqNTFQ

Cheers!