Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - wackou

Pages: 1 ... 26 27 28 29 30 31 32 [33]
481
Marketplace / Re: 200 PTS - Mac OS X Keyhotee Packaging Script [ACTIVE]
« on: January 19, 2014, 10:00:35 pm »
@bitcoinba: please redownload, you are still using an old version that links against libstdc++ (ie: was partly compiled with gcc)

482
Marketplace / Re: 200 PTS - Mac OS X Keyhotee Packaging Script [ACTIVE]
« on: January 19, 2014, 09:58:55 pm »
Thanks! you can use this PTS address: PjUhcttzZMu1WNdCxKYvZVQPsohQQkFRVp

@bitcoinba: yes please send your crash reports, I'd like to have a quick look at them to see whether it's related to packaging or something else. Do make sure you use the latest version of the .dmg, though, if you downloaded it before a couple of hours ago, you will still have a buggy version.

@bytemaster, stan: should I send a pull request to remove the previous packaging script, it should be useless by now.

btw, I can compile keyhotee with the following instructions on a fresh Mavericks install:

Code: [Select]
# prerequisite: a fresh mavericks install (in a vm, most likely)
#
# note: this script cannot be run as is, sometimes it will require manual
#       intervention. You should follow the instructions in the lines
#       starting with "#!!! ".

## install xcode and command line tools

#!!! download xcode from the mac app store

xcode-select --install
#!!! install command line tools

sudo xcodebuild -license
#!!! agree to the license terms


## install brew and keyhotee dependencies

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

brew install cmake boost qt5
export QTDIR=/usr/local/Cellar/qt5/5.2.0


## git clone kehotee and compile it
git clone https://github.com/InvictusInnovations/keyhotee
cd keyhotee
git clone https://github.com/InvictusInnovations/BitShares
cd BitShares
git clone https://github.com/InvictusInnovations/fc
cd ..

cmake . && make

cd bin
$QTDIR/bin/macdeployqt Keyhotee.app -dmg

483
Keyhotee / Re: New way to be sure your Founder ID and Key are Registered
« on: January 19, 2014, 08:40:03 pm »
+1
I would also like to verify that I submitted the information properly.

484
Marketplace / Re: 200 PTS - Mac OS X Keyhotee Packaging Script [ACTIVE]
« on: January 19, 2014, 07:02:43 pm »
Got it!

so the crashes were most certainly due to mixing libc++ and libstdc++ in the same binary (which was only possible in the first place because libc++ uses an inline namespace on std), especially when passing std::string as arg to functions as std::strings are not binary compatible between both c++ libs, one uses refcounting and the other uses the small string optimization (see http://stackoverflow.com/questions/8454329/why-cant-clang-with-libc-in-c0x-mode-link-this-boostprogram-options-examp)

From here, there were only 2 solutions possible:
 - compile everything with clang
 - compile everything with gcc (Qt5 included, which is not in macports...)

So I went with the first solution (which is also the cleanest solution in the long term, as we use the platform's native compiler) and decided to fix compilation with clang. The resulting pull requests are here:

https://github.com/InvictusInnovations/fc/pull/3
https://github.com/InvictusInnovations/BitShares/pull/16


with this done, it is now possible to build a portable .dmg using the same instructions as in linux, ie:

git clone https://github.com/InvictusInnovations/keyhotee
cd keyhotee
git clone https://github.com/InvictusInnovations/BitShares
cd BitShares
git clone https://github.com/InvictusInnovations/fc
cd ..

export QTDIR=/usr/local/Cellar/qt5/5.2.0
cmake . && make
cd bin && $QTDIR/bin/macdeployqt Keyhotee.app -dmg


no need to fiddle anymore with compiler flags, etc. (note: this still assumes you have brew installed and installed the deps with it, ie: qt5, boost, icu)

I think this one should work everywhere now,

Updated .dmg: https://www.dropbox.com/s/ngq8c9hsbypxsvv/Keyhotee.dmg

485
Marketplace / Re: 200 PTS - Mac OS X Keyhotee Packaging Script [ACTIVE]
« on: January 18, 2014, 02:53:28 pm »
still crashes a lot (although less than before), will investigate a bit more and report my findings...

487
Marketplace / Re: 200 PTS - Mac OS X Keyhotee Packaging Script [ACTIVE]
« on: January 17, 2014, 05:06:41 pm »
apparently it does crash a lot when linking libstdc++ and libgcc_s statically (not too sure why...) so I updated the script to link dynamically and resolve the links properly.

Here's an updated .dmg: https://www.dropbox.com/s/ngq8c9hsbypxsvv/Keyhotee.dmg

488
Marketplace / Re: 200 PTS - Mac OS X Keyhotee Packaging Script [ACTIVE]
« on: January 17, 2014, 12:09:47 pm »
just tried on a pristine install of mavericks (osx 10.9.1) in a virtual machine, and it seems to work just fine (without installing brew, xcode or anything else).

489
Marketplace / Re: 200 PTS - Mac OS X Keyhotee Packaging Script [ACTIVE]
« on: January 17, 2014, 10:35:27 am »
Actually, people on macports should be able to compile it also using the script by just changing some (or all) instances of /usr/local to /opt/local, where needed

490
Marketplace / Re: 200 PTS - Mac OS X Keyhotee Packaging Script [ACTIVE]
« on: January 17, 2014, 10:25:32 am »
Hopefully this should work everywhere as the libs compiled with gcc are linked statically so there's no dependency on libstdc++ as a dyn lib, and as far as I can see Qt only needs system frameworks, which should be available on all systems, even without homebrew installed... I will try installing a pristine version of macos and test it there see if there's any missing lib (which should then be compiled statically, also)

btw, just to be 100% clear: you do need brew installed to compile the .app and .dmg, but it should run on any machine, even without brew. If not, please report which libs are missing for you (should appear in the crash report)

491
Marketplace / Re: 200 PTS - Mac OS X Keyhotee Packaging Script [ACTIVE]
« on: January 16, 2014, 11:27:37 pm »
and here's the script I used to build the .dmg:

https://github.com/InvictusInnovations/keyhotee/pull/242

You need to have brew installed, I am not sure it will work with macports or fink. It should be easily adapted, though. Let me know how it works for you.

492
Marketplace / Re: 200 PTS - Mac OS X Keyhotee Packaging Script [ACTIVE]
« on: January 16, 2014, 04:53:20 pm »
hi guys,

as a Keyhotee founder on Mac, I couldn't wait any longer and went ahead and built a version of Keyhotee for Mac, hopefully this one works everywhere... Could people test it and report any bugs you find?

I am currently cleaning the script/instructions I have and will publish them once it's done.

Here's the link to the .dmg: https://www.dropbox.com/s/ngq8c9hsbypxsvv/Keyhotee.dmg

Cheers

Pages: 1 ... 26 27 28 29 30 31 32 [33]