Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a Windows Installer #1

Open
ripper234 opened this issue Nov 6, 2013 · 9 comments
Open

Create a Windows Installer #1

ripper234 opened this issue Nov 6, 2013 · 9 comments

Comments

@ripper234
Copy link

We'd like to make the software as accessible as possible. I see there are instructions for other OSes, but none for Windows.

I think it's a top priority to create a point-and-click installer, specifically for Windows, that doesn't assume any dependencies.

For starters, before there really is a nice packaged installer, I'd start with adding Windows installation instructions ... but we should follow that up with creating the actual installer.

@maran
Copy link
Owner

maran commented Nov 6, 2013

I'm already working on this. The problem is that windows and ruby don't go that well together. A lot of the requirements need to build compiled from source. I am happy to report I got a initial build working on windows though. Next up I will try to package this build in a setup-able installation.

Please check out Zathras's client though, it's build on windows tools and should be exactly what you are looking for.

@PBendall
Copy link

Just tried following the instructions for Windows and I'm getting an error on the install of mastercoin-wallet:

C:/Ruby200-x64/bin/ruby.exe extconf.rb
ERROR! QT SDK doesn't exist at C:\Qt\4.8.3

Can I assume this means the QT framework is missing and this is also a pre-req?

@maran
Copy link
Owner

maran commented Nov 18, 2013

Hmm that's weird. I didn't have QT installed on my VM as far as I know. I was under the impression the gem would install a native qtbinding version. However I also use this VM for Electrum building and perhaps I already installed it before hand.

@XBase-xOR
Copy link

I got a similar error for "gem install mastercoin-wallet", just with 32 bit Ruby and a different Qt version:

C:/Ruby200/bin/ruby.exe extconf.rb
 ERROR! QT SDK doesn't exist at C:\Qt\4.8.5

I installed Qt 4.8.5 Windows binaries from http://qt-project.org/downloads at the location shown and tried again. It failed again, this time it ended up with:

/bin/sh: line 0: cd: extbuild: No such file or directory
make: [build] Error 1 (ignored)
cd ext\build && mingw32-make
/bin/sh: line 0: cd: extbuild: No such file or directory
make: *** [build] Error 1

I tried to install qtbindings with "gem install qtbindings" but that failed with exactly the same error, so I assume that's where it originally comes from. Therefore I opened ryanmelt/qtbindings#70.
Also I noticed from the console that it wants to execute "cmake" but there is no cmake included in the Ruby DevKit. I checked the README included in the qtbindings package and it says that cmake 2.8.x is needed so I installed that too. Unfortunately the error message stays the same so I am stuck at this point.

On some chinese website I found that an older version can be installed by using:

gem install qtbindings -v4.6.3.4

This worked and finally I could run "gem install mastercoin-wallet" without error. Installing bitcoin-ruby-0.0.2.gem worked too. But now when I try to run "mastercoin-wallet" it says it can't find qtruby4.so (LoadError). Searching for this error I found http://stackoverflow.com/questions/7577248/how-can-i-get-qt4-running-with-ruby-1-9-2-on-windows-7 where the OP concludes that qtruby shouldn't be used. Oh well...
I think I give up for now. Maybe I will try to install it in some virtual Linux environment, that should be easier. From what I have read while investigating on these issues there are often many problems with making Ruby run correctly on Windows which makes me wonder whether it was a good choice for a cross-platform application :(

@XBase-xOR
Copy link

On kubuntu it's not working either, see my comment for #9
I start to doubt that this was built for normal users, it seems to be only for ruby professionals.

@PBendall
Copy link

I think I have installed this now on Windows 7 32-bit. I have documented the whole process but it is pretty verbose and some steps maybe unnecessary, something to work on as I'm a noobie to Ruby. I'd like to sign-off but I'm not sure how to get a Mastercoin address??

So this is what I did:

That's it; when I typed "mastercoin-wallet" the application started and I was prompted for a pass-phrase and Mastercoin-Wallet address

HTH

Paul

@maran
Copy link
Owner

maran commented Dec 30, 2013

Wow Paul you really went the extra mile on this! 👍

I hope you realise that there already is a Windows wallet out there, it's called the My Mastercoin Wallet. It's being maintained by Bitoy and you can find it here.

As to your questions on how to get a Mastercoin address. It's really simple! You probably already have one. Every Bitcoin address can function as Mastercoin address. You just export a private key for a address you want to use as Mastercoin address and that's it :)

@XBase-xOR
Copy link

Now that sounds like a comprehensive guide on how to get it working, will try that. Thanks @OldCole

@maran: The MyMastercoinWallet you linked is only a binary download and while I can find source code for another similar wallet (the non "thin" wallet) I can't find it for this one that was updated just a day ago.
If anything I'd start looking into zathras implementation, as I have been programming C# .NET a lot myself. But it seems nothing happened with it since the initial commit 3 months ago :-(
Right now I'd rather stick with the guy that was just announced as full time mastercoin dev, congrats :-)
Also I don't care so much about whether it's Windows or Linux, I will try to get this working on ubuntu too (with the script you have linked there).

@maran
Copy link
Owner

maran commented Dec 31, 2013

Zathras is always a bit behind with pushing, I'm sure he will push once
it's stable enough for the public. You are welcome to try my wallet it's
just such a PITA to get working on Windows. Good luck!

On Tue, Dec 31, 2013 at 9:52 PM, xOR notifications@github.com wrote:

Now that sounds like a comprehensive guide on how to get it working, will
try that. Thanks @OldCole https://github.com/OldCole

@maran https://github.com/maran: The MyMastercoinWallet you linked is
only a binary download and while I can find source code for another similar
wallet (the non "thin" wallet) I can't find it for this one that was
updated just a day ago.
If anything I'd start looking into zathras implementation, as I have been
programming C# .NET a lot myself. But it seems nothing happened with it
since the initial commit 3 months ago :-(
Right now I'd rather stick with the guy that was just announced as full
time mastercoin dev, congrats :-)


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-31410891
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants