Bitcoin Forum
November 14, 2024, 04:39:51 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Electrum / Compiling Windows Version of Electrum 2.0 Beta [Not 100%] on: January 07, 2015, 05:48:50 AM
I tried this because I wanted the Trezor to work on a friends machine. He can't use his yet :-) (Yep I'm a Mac Wink

Here's a bunch of steps I tried in Windows 7 64-bit. I got somewhere but not close enough sadly.
Keep up the good work Thomas! We all look forward to 2.0 when you are ready :-)

================================================================
Installing Electrum 2.0 Beta on Windows (64-bit)

Install Python
python-2.7.9.amd64.msi

Install GitHub
GitHubSetup.exe

Install PyQt
Install PyQt4-4.11.3-gpl-Py2.7-Qt4.8.6-x64.exe by Riverbank

Copy latest version of Electrum from GitHub (copies into home folder)
git clone git://github.com/spesmilo/electrum.git

Install required things for compiling
pip install ecdsa slowaes==0.1a1 pbkdf2 requests pyasn1 pyasn1-modules tlslite qrcode SocksiPy-branch

Generate Icons (May need to restart terminal window)
pyrcc4 icons.qrc -o gui/qt/icons_rc.py


At this point you can run Electrum, but there's no Trezor support so I was a bit bummed.
Also I noticed that the generate new bitcoin address is non-functional, just like on the Mac :-)



Include Translations - Failed
python mki18n.py
May not be required as translations are broken due to any one of these - urllib2, os, zipfile, pycurl
Workaround - Install pycurl‑7.19.5.win‑amd64‑py2.7.exe
Not sure why this doesn’t work at all, I’m not a programmer :-)


Making it a single functioning app using Python 2 - Failed
Install py2exe-0.6.9.win64-py2.7.amd64.exe
I didn’t bother too much with this part either.
================================================================
Anyway, just thought I'd put this up in case anyone else (or me in the future) does a Google!
And of course it's not 100%, it's a beta :-)
2  Bitcoin / Electrum / Electrum 2.0 Beta for Mac on: October 22, 2014, 05:09:43 AM
Firstly, thanks to Thomas (and all others involved) for maintaining such a great Bitcoin client!

Just thought I'd put this down here since I'm not a coder and have no knowledge (or very little) of any scripting.
Currently I'm running 10.10 Yosemite and it worked well under 10.9 Mavericks as well.
I needed to do this to get my Trezor up and running (which it is and it is well!)
I figured other Mac users with Trezors who aren't coding wizards could use the help.
I used Homebrew or "Brew" as the cool kids call it because I just couldn't get MacPorts to work.
It might have been a 10.10 dependency thing though. We'll never know!

Install Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Install Software Prerequesites (Xcode, CLI tools, etc)
https://github.com/Homebrew/homebrew/wiki/installation

Agree to Xcode Agreement
sudo xcodebuild -license

Install Brew Add-on things for compiling
brew install gettext
brew link gettext --force
brew install pyqt

Copy latest version of Electrum from GitHub (copies into folder in home folder)
git clone git://github.com/spesmilo/electrum.git

Now in terminal run through these one by one, you shouldn't hit any snags, you'll know at the end if you do!
python mki18n.py
pyrcc4 icons.qrc -o gui/qt/icons_rc.py
python setup.py sdist --format=zip,gztar
ARCHFLAGS="-arch i386 -arch x86_64" sudo python setup-release.py py2app --includes sip
sudo hdiutil create -fs HFS+ -volname "Electrum" -srcfolder dist/Electrum.app dist/electrum-2.0B-macosx.dmg

Final product pops into your home folder under ~/electrum/dist and has a nice dmg and the app itself ready to be dragged over to the applications folder.

Looking forward to the 2.0 final, take your time though, make it shine you are doing a great job! Smiley

Edit: Funnily enough Electrum doesn't seem to care about the Trezor and doesn't mention it if it is not connected. Previously it would say something along the lines of watching mode only if it wasn't attached, but now... nothing. Oh well, I'll just keep using my older version with Trezor support! Smiley
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!