Title: A quick guide to installing Bitmessage on OS X. Post by: Jaxkr on June 08, 2013, 07:37:56 PM Bitmessage (https://bitmessage.org/wiki/Main_Page) is awesome. However, the installation process isn't particularly intuitive.
I just got it working on OSX, and thought I'd share my findings. First, make sure you have git (http://git-scm.com/) and Homebrew (http://mxcl.github.io/homebrew/) installed. Then, you need to make sure homebrew is working. Open Terminal, and run Code: brew doctor Now, install the dependencies. You will need to update Python to 2.7.3. You probably have 2.7.2 at the moment. Run Code: brew install python Code: brew install pyqt openssl Now, you're ready to actually download the Bitmessage source code. First, cd (http://en.wikipedia.org/wiki/Cd_(command)) to your desktop or wherever you want to install it. Then, run Code: git clone git://github.com/Bitmessage/PyBitmessage.git Code: python bitmessagemain.py It works! However, it's inconvenient to run these two commands every time we want to run bitmessage. It's extremely easy to create a script to run it for us. To do this, open textedit and enter Code: python ~/Desktop/PyBitmessage/src/bitmessagemain.py Now, save it as Bitmessage.command. To make it executable enter Code: chmod +x You can easily open Bitmessage by double clicking this file. If you get it working, feel free to send me a message to my address! Hope this helped. Title: Re: A quick guide to installing Bitmessage on OS X. Post by: mprep on June 08, 2013, 09:16:16 PM Good guide even though I don't use OS X
Title: Re: A quick guide to installing Bitmessage on OS X. Post by: vokain on June 09, 2013, 06:20:42 PM wow straightforward as ever, thanks!
Title: Re: A quick guide to installing Bitmessage on OS X. Post by: jaminunit on June 20, 2013, 03:38:48 PM Dude this is so cool, thanks!
Title: Re: A quick guide to installing Bitmessage on OS X. Post by: legitnick on June 20, 2013, 03:55:51 PM Great guide, good job.
Title: Re: A quick guide to installing Bitmessage on OS X. Post by: jaminunit on June 20, 2013, 03:59:58 PM Ok small issue.
So everything went swimmingly but then when I get to The command python bitmessagemain.py I get this error. python bitmessagemain.py (On Linux) Couldn't find and load the OpenSSL library. You must install it. If you believe that you already have it installed, this exception information might be of use: Traceback (most recent call last): File "bitmessagemain.py", line 24, in <module> from addresses import * File "/Applications/bitmessage/PyBitmessage/src/addresses.py", line 3, in <module> from pyelliptic import arithmetic File "/Applications/bitmessage/PyBitmessage/src/pyelliptic/__init__.py", line 16, in <module> from .openssl import OpenSSL File "/Applications/bitmessage/PyBitmessage/src/pyelliptic/openssl.py", line 437, in <module> OpenSSL = _OpenSSL(find_library('ssl')) File "/Applications/bitmessage/PyBitmessage/src/pyelliptic/openssl.py", line 292, in __init__ self.PKCS5_PBKDF2_HMAC = self._lib.PKCS5_PBKDF2_HMAC File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 366, in __getattr__ File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 371, in __getitem__ AttributeError: dlsym(0x7f8b21c78f40, PKCS5_PBKDF2_HMAC): symbol not found I installed it on cd /Volumes/Macintosh\ HD/Applications/bitmessage/PyBitmessage/ Any help would be sweeeeet! Title: Re: A quick guide to installing Bitmessage on OS X. Post by: Jaxkr on June 20, 2013, 04:13:44 PM Ok small issue. Did you install openssl with "brew install openssl"?So everything went swimmingly but then when I get to The command python bitmessagemain.py I get this error. python bitmessagemain.py (On Linux) Couldn't find and load the OpenSSL library. You must install it. If you believe that you already have it installed, this exception information might be of use: Traceback (most recent call last): File "bitmessagemain.py", line 24, in <module> from addresses import * File "/Applications/bitmessage/PyBitmessage/src/addresses.py", line 3, in <module> from pyelliptic import arithmetic File "/Applications/bitmessage/PyBitmessage/src/pyelliptic/__init__.py", line 16, in <module> from .openssl import OpenSSL File "/Applications/bitmessage/PyBitmessage/src/pyelliptic/openssl.py", line 437, in <module> OpenSSL = _OpenSSL(find_library('ssl')) File "/Applications/bitmessage/PyBitmessage/src/pyelliptic/openssl.py", line 292, in __init__ self.PKCS5_PBKDF2_HMAC = self._lib.PKCS5_PBKDF2_HMAC File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 366, in __getattr__ File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 371, in __getitem__ AttributeError: dlsym(0x7f8b21c78f40, PKCS5_PBKDF2_HMAC): symbol not found I installed it on cd /Volumes/Macintosh\ HD/Applications/bitmessage/PyBitmessage/ Any help would be sweeeeet! Title: Re: A quick guide to installing Bitmessage on OS X. Post by: jaminunit on June 20, 2013, 04:44:25 PM I actually did
brew install pyqt openssl but just now tried brew install openssl but same problem :( I'm running os x 10.8.4 I tried to restart but nothing Title: Re: A quick guide to installing Bitmessage on OS X. Post by: jaminunit on June 20, 2013, 04:50:47 PM Hey by the way I'm a designer of 15 years in Film, television and web.
If you need interface design for frog let me know Title: Re: A quick guide to installing Bitmessage on OS X. Post by: Jaxkr on June 20, 2013, 04:58:22 PM I actually did What's your output of python -V?brew install pyqt openssl but just now tried brew install openssl but same problem :( I'm running os x 10.8.4 I tried to restart but nothing Also, I'd really appreciate some interface help. I'm using Bootstrap because it's nice and I'm comfortable with it. I'll take whatever help I can get. Title: Re: A quick guide to installing Bitmessage on OS X. Post by: legitnick on June 20, 2013, 07:37:33 PM Nice tutorial good worlk
Title: Re: A quick guide to installing Bitmessage on OS X. Post by: jaminunit on June 20, 2013, 08:17:55 PM Python 2.7.2
yeah bootstrap is really very good. The best way to go would be for you to get all the functionality working and I can come up with some colour pallets for you to go through. Then logo design. I have already seen that moltenmich created a logo for you. It looks great but feel it might be a bit to detailed which isn't good at small scales. Anyway PM me when you have finished functionality and we can go from there. J Title: Re: A quick guide to installing Bitmessage on OS X. Post by: Jaxkr on June 20, 2013, 08:44:50 PM Python 2.7.2 Your problem is that you aren't using Homebrew's python. That's why it can't see OpenSSL.yeah bootstrap is really very good. The best way to go would be for you to get all the functionality working and I can come up with some colour pallets for you to go through. Then logo design. I have already seen that moltenmich created a logo for you. It looks great but feel it might be a bit to detailed which isn't good at small scales. Anyway PM me when you have finished functionality and we can go from there. J Do "brew install python". You may need to reboot, or unlink with "brew unlink python" first. Also, once a get a fully functional app, I'd love an alternate color pallet. Thanks. Title: Re: A quick guide to installing Bitmessage on OS X. Post by: jaminunit on June 20, 2013, 08:54:35 PM Cool,
I think I need to install xcode? Title: Re: A quick guide to installing Bitmessage on OS X. Post by: Jaxkr on June 20, 2013, 09:06:17 PM Cool, Yeah. You only need the command line tools. Google "Xcode command line tools" and download from Apple.I think I need to install xcode? Title: Re: A quick guide to installing Bitmessage on OS X. Post by: jaminunit on June 20, 2013, 09:20:57 PM now I'm getting another problem I think I need Python 2.7.3
Can you download a specific version using "brew install python" command? Title: Re: A quick guide to installing Bitmessage on OS X. Post by: jaminunit on June 20, 2013, 09:54:54 PM Sorry to push it but just incase you have any idea here is the new error
python bitmessagemain.py Loading existing config files from /Users/jaminunit/Library/Application support/PyBitmessage/ Adding 66.108.210.240 to knownNodes based on DNS boostrap method Adding 66.108.210.240 to knownNodes based on DNS boostrap method Adding 70.36.177.246 to knownNodes based on DNS boostrap method Adding 70.36.177.246 to knownNodes based on DNS boostrap method Adding 82.72.109.211 to knownNodes based on DNS boostrap method Adding 82.72.109.211 to knownNodes based on DNS boostrap method Adding 162.13.42.201 to knownNodes based on DNS boostrap method Adding 162.13.42.201 to knownNodes based on DNS boostrap method reloading keys from keys.dat file reloading subscriptions... Database file already exists. Problem: The version of SQLite you have cannot store Null values. Please download and install the latest revision of your version of Python (for example, the latest Python 2.7 revision) and try again. PyBitmessage will now exit very abruptly. You may now see threading errors related to this abrupt exit but the problem you need to solve is related to SQLite. -- I'm fairly sure I have to run python 2.7.3 but I cant seem to get it to work. I installed it but when I type python -V I get 2.7.2 Hmmmmmm Title: Re: A quick guide to installing Bitmessage on OS X. Post by: Jaxkr on June 20, 2013, 11:36:37 PM Sorry to push it but just incase you have any idea here is the new error Yes. Python 2.7.3 is required for Bitmessage. I'd recommend restarting.python bitmessagemain.py Loading existing config files from /Users/jaminunit/Library/Application support/PyBitmessage/ Adding 66.108.210.240 to knownNodes based on DNS boostrap method Adding 66.108.210.240 to knownNodes based on DNS boostrap method Adding 70.36.177.246 to knownNodes based on DNS boostrap method Adding 70.36.177.246 to knownNodes based on DNS boostrap method Adding 82.72.109.211 to knownNodes based on DNS boostrap method Adding 82.72.109.211 to knownNodes based on DNS boostrap method Adding 162.13.42.201 to knownNodes based on DNS boostrap method Adding 162.13.42.201 to knownNodes based on DNS boostrap method reloading keys from keys.dat file reloading subscriptions... Database file already exists. Problem: The version of SQLite you have cannot store Null values. Please download and install the latest revision of your version of Python (for example, the latest Python 2.7 revision) and try again. PyBitmessage will now exit very abruptly. You may now see threading errors related to this abrupt exit but the problem you need to solve is related to SQLite. -- I'm fairly sure I have to run python 2.7.3 but I cant seem to get it to work. I installed it but when I type python -V I get 2.7.2 Hmmmmmm What's the output of brew install python? Title: Re: A quick guide to installing Bitmessage on OS X. Post by: saddambitcoin on June 21, 2013, 04:00:54 AM oh man i spent a good hour trying to figure this out the other day, i had a python problem about to try this now.
|