<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.bitmessage.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mtkfm</id>
	<title>Bitmessage Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.bitmessage.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mtkfm"/>
	<link rel="alternate" type="text/html" href="https://wiki.bitmessage.org/index.php/Special:Contributions/Mtkfm"/>
	<updated>2026-05-14T06:10:02Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>https://wiki.bitmessage.org/index.php?title=Compiling_instructions&amp;diff=22818</id>
		<title>Compiling instructions</title>
		<link rel="alternate" type="text/html" href="https://wiki.bitmessage.org/index.php?title=Compiling_instructions&amp;diff=22818"/>
		<updated>2014-02-01T20:52:30Z</updated>

		<summary type="html">&lt;p&gt;Mtkfm: Formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page should help novice users run Bitmessage from the source code files.&lt;br /&gt;
&lt;br /&gt;
= Linux =&lt;br /&gt;
&lt;br /&gt;
== Resolve dependencies ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;80%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Distribuion&lt;br /&gt;
! Instructions&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Debian-based&lt;br /&gt;
(Ubuntu, Raspbian, PiBang, others)&lt;br /&gt;
| &amp;lt;small&amp;gt;''Note for Debian Squeeze (6.0) users: Debian Squeeze does not offer packages (like Python, OpenSSL) in versions that are needed for Bitmessage. You can still try to [https://github.com/Bitmessage/PyBitmessage/issues/47#issuecomment-17774377 work around these problems]. Debian 7 &amp;quot;wheezy&amp;quot; works without problems.''&amp;lt;/small&amp;gt;&lt;br /&gt;
  sudo apt-get install python openssl git python-qt4&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Arch Linux&lt;br /&gt;
| &lt;br /&gt;
  sudo pacman -S python2 openssl git python2-pyqt4&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Fedora&lt;br /&gt;
| &amp;lt;small&amp;gt;''Fedora and RHEL6 do not support EC in OpenSSL. Therefore we need [http://linux.ringingliberty.com/bitcoin/ Ringing Liberty's bitcoin repository] to get a compatible library.''&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
  su -c 'yum install -y http://linux.ringingliberty.com/bitcoin/f18/x86_64/bitcoin-release-1-4.noarch.rpm'&lt;br /&gt;
  su -c 'yum install -y python python-qt4 git openssl-compat-bitcoin-libs'&lt;br /&gt;
&lt;br /&gt;
Tell your system where to look for the library:&lt;br /&gt;
  echo 'LD_LIBRARY_PATH=&amp;quot;/opt/openssl-compat-bitcoin/lib/&amp;quot;' &amp;gt;&amp;gt; ~/.bashrc &amp;amp;&amp;amp; source ~/.bashrc&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Red Hat Enterprise Linux (RHEL)&lt;br /&gt;
| &amp;lt;small&amp;gt;''Fedora and RHEL6 do not support EC in OpenSSL. Therefore we need [http://linux.ringingliberty.com/bitcoin/ Ringing Liberty's bitcoin repository] to get a compatible library.''&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
  su -c 'yum install -y http://linux.ringingliberty.com/bitcoin/el6/x86_64/bitcoin-release-1-4.noarch.rpm'&lt;br /&gt;
  su -c 'yum install -y python python-qt4 git openssl-compat-bitcoin-libs'&lt;br /&gt;
Tell your system where to look for the library:&lt;br /&gt;
  echo 'LD_LIBRARY_PATH=&amp;quot;/opt/openssl-compat-bitcoin/lib/&amp;quot;' &amp;gt;&amp;gt; ~/.bashrc &amp;amp;&amp;amp; source ~/.bashrc&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Download and run PyBitmessage ==&lt;br /&gt;
# Download the source code from github:&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;git clone &amp;lt;nowiki&amp;gt;https://github.com/Bitmessage/PyBitmessage $HOME/PyBitmessage&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
# Run PyBitmessage:&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;~/PyBitmessage/src/bitmessagemain.py&amp;lt;/code&amp;gt;&lt;br /&gt;
Check the wiki for more information on how to run Bitmessage [https://bitmessage.org/wiki/Daemon as a daemon].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;If you receive a warning that you need to use python 2.7.5 or greater, and have followed the above instructions to upgrade it, your system may be attemping to run PyBitmessage with python 3. In this case, run &amp;lt;code&amp;gt;python2 ~/PyBitmessage/src/bitmessagemain.py&amp;lt;/code&amp;gt;&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Upgrading ==&lt;br /&gt;
To upgrade Bitmessage run the following commands:&lt;br /&gt;
:&amp;lt;code&amp;gt;cd $HOME/PyBitmessage&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;code&amp;gt;git pull&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= OS X =&lt;br /&gt;
== With Homebrew package manager ==&lt;br /&gt;
; Setup&lt;br /&gt;
First, make sure you have not already installed Macports. Having both macports and homebrew on the same system is a recipe for disaster. &lt;br /&gt;
Install Homebrew: &lt;br /&gt;
 ruby -e &amp;quot;$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
; Update Python:&lt;br /&gt;
 brew install python&lt;br /&gt;
&lt;br /&gt;
; Install dependencies:&lt;br /&gt;
 brew install pyqt openssl&lt;br /&gt;
&lt;br /&gt;
; Download and run&lt;br /&gt;
 cd ~/Desktop&lt;br /&gt;
 git clone git://github.com/Bitmessage/PyBitmessage.git&lt;br /&gt;
 cd PyBitmessage&lt;br /&gt;
 python src/bitmessagemain.py&lt;br /&gt;
&lt;br /&gt;
== With macports package manager ==&lt;br /&gt;
First, make sure you have not already installed Homebrew. Having both macports and homebrew on the same system is a recipe for disaster. &lt;br /&gt;
Installing with macports or homebrew essentially has the same effect. Homebrew does some things better than ports, and ports does some things better than brew. If old-school floats your boat, these instructions are for you. &lt;br /&gt;
&lt;br /&gt;
; Select the macports installation that is right for your version of osx&lt;br /&gt;
Read the instructions or take this as a reminder: Apple's XCode and their Command Line Tools are a prerequiste for Macports, go: https://www.macports.org/install.php&lt;br /&gt;
&lt;br /&gt;
; Install dependencies and needed tools&lt;br /&gt;
 sudo port install python27 py27-pyqt4 openssl&lt;br /&gt;
 sudo port install git-core +svn +doc +bash_completion +gitweb&lt;br /&gt;
&lt;br /&gt;
; Download and run&lt;br /&gt;
 cd ~/Desktop&lt;br /&gt;
 git clone git://github.com/Bitmessage/PyBitmessage.git&lt;br /&gt;
 cd PyBitmessage&lt;br /&gt;
 python2.7 src/bitmessagemain.py&lt;br /&gt;
&lt;br /&gt;
= Windows =&lt;br /&gt;
# Download and install the latest revision of Python 2.7 (currently Python 2.7.5 from [http://www.python.org/download/releases/2.7.5/ here]). The ''Windows x86 MSI Installer'' is the right choice for most people. (64-bit users may want the 64-bit version).&lt;br /&gt;
## Test that it installed:&lt;br /&gt;
### Open a command prompt by going to Start &amp;gt; Run. Type 'cmd' then press enter.&lt;br /&gt;
### type 'python'. If python is installed, you should see the python version and the prompt: '&amp;gt;&amp;gt;&amp;gt;'&lt;br /&gt;
### If you see a message such as: &amp;quot;'Python is not recognized as an internal or external command...&amp;quot; then you must add the python path to your path environmental variable:&lt;br /&gt;
#### Find the location where Python was installed (in particular, the location where python.exe exists). It might simply be in c:\Python2.7 &lt;br /&gt;
#### Follow [http://www.computerhope.com/issues/ch000549.htm these directions] to add the Python path to your path variable.&lt;br /&gt;
#### Close the command prompt window and reopen it. &lt;br /&gt;
### Try running 'python' again.&lt;br /&gt;
###Press Ctrl-Z to exit Python.&lt;br /&gt;
# Download PyQt from [http://www.riverbankcomputing.com/software/pyqt/download here].   ''PyQt is one of Bitmessage's two dependencies.'' Look for the links to downloads under the heading labeled &amp;quot;Binary Package;&amp;quot; the binary package versions are already compiled for you. Select the version for Python 2.7 (look for &amp;quot;Py2.7&amp;quot; in the file name). Install PyQt.&lt;br /&gt;
# Download OpenSSL from [http://slproweb.com/products/Win32OpenSSL.html here]. ''OpenSSL is the second of Bitmessage's two dependencies.''  Install OpenSSL.  If an error message appears during installation of OpenSSL, download and install Visual C++ 2008.  A link is provided on the OpenSSL download page.&lt;br /&gt;
# Download the source code for PyBitmessage from GitHub. If it is in a zip file, you will need to extract it. There should be a few files and a few folders where one of the folders is 'src'.&lt;br /&gt;
# To run Bitmessage, navigate into the 'src' folder and then double click on the bitmessagemain.py file, or in a command prompt, change directories to the 'src' directory which holds bitmessagemain.py and type 'python bitmessagemain.py'. &lt;br /&gt;
&lt;br /&gt;
== If you change user interface files ==&lt;br /&gt;
You can use Qt's Designer application to modify the user interface. After you do this, you will need to 'compile' .ui files into .py files. &lt;br /&gt;
# In a command prompt, change directories to the directory of your .ui file.&lt;br /&gt;
# Run 'pyuic4 example.ui &amp;gt; example.py'  If you get a message similar to 'pyuic4 is not recognized as an internal or external command' then you must add the PyQt directory to your system's path variable. This directory should hold pyuic4.bat. It might be in C:\Python27\Lib\site-packages\PyQt4. Remember to close the command window and reopen it after you change your path variable.&lt;br /&gt;
&lt;br /&gt;
If you add icons to bitmessage_icons.qrc, then you must run this command:&lt;br /&gt;
pyrcc4 bitmessage_icons.qrc -o bitmessage_icons_rc.py&lt;br /&gt;
&lt;br /&gt;
== Optional: Compile into a stand-alone EXE ==&lt;br /&gt;
# Download [http://www.pyinstaller.org/ PyInstaller].&lt;br /&gt;
# Copy Bitmessage's 'src' directory to the PyInstaller directory (which contains pyinstaller.py). &lt;br /&gt;
# Run 'pyinstaller.py --onefile --noconsole --icon=&amp;quot;src\images\can-icon.ico&amp;quot; src\bitmessagemain.py'&lt;br /&gt;
This won't include the OpenSSL DLL file in the EXE; if you send it to someone who doesn't have OpenSSL installed, it will not run. To include the DLL file in the EXE, you must follow these steps:&lt;br /&gt;
# After following the steps above, you will see that pyinstaller created a folder called bitmessagemain. In that folder is a file: bitmessagemain.spec. Open it with a text editor.&lt;br /&gt;
# Below the line &amp;quot;a.datas,&amp;quot; add this line: &amp;lt;code&amp;gt;a.binaries + [('libeay32.dll', 'c:\\windows\\system32\\libeay32.dll', 'BINARY')],&amp;lt;/code&amp;gt;&lt;br /&gt;
# Optionally also include the translations by modifying this file further by adding the lines shown in [[Example_pyinstaller_spec_file|this]] example file. &lt;br /&gt;
# Save and close&lt;br /&gt;
# Run this command: pyinstaller.py bitmessagemain/bitmessagemain.spec&lt;br /&gt;
&lt;br /&gt;
If you do not have the libeay32.dll you can download it here. http://www.dll-files.com/dllindex/dll-files.shtml?libeay32&lt;/div&gt;</summary>
		<author><name>Mtkfm</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.bitmessage.org/index.php?title=FAQ&amp;diff=20711</id>
		<title>FAQ</title>
		<link rel="alternate" type="text/html" href="https://wiki.bitmessage.org/index.php?title=FAQ&amp;diff=20711"/>
		<updated>2013-10-12T02:48:12Z</updated>

		<summary type="html">&lt;p&gt;Mtkfm: /* How does Bitmessage compare to other messaging methods */ XMPP + OTR&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Installation and configuration==&lt;br /&gt;
===How do I install Bitmessage===&lt;br /&gt;
Bitmessage does not needs to be &amp;quot;installed&amp;quot;. it is simply downloaded and executed. You can find instructions to download and run bitmessage from the [[Main Page]].&lt;br /&gt;
A great write up for setting up and using Bitmessage on Windows can be found [http://cryptojunky.com/blog/2013/03/09/setting-up-and-using-bitmessage-an-encrypted-communications-platform-based-on-bitcoin/ Here.]&lt;br /&gt;
&lt;br /&gt;
Bitmessage should run on any OS though it is only lightly tested on OSX. The start-on-boot and minimize-to-tray features are only implemented for Windows thus far. Several examples of how to install Bitmessage on *nix and OSX platforms can be found [https://bitmessage.org/forum/index.php in the forums.]&lt;br /&gt;
&lt;br /&gt;
===How do I become a node to help the network===&lt;br /&gt;
If your connection indicator is green then you are already accepting incoming connections and helping the Bitmessage network.&lt;br /&gt;
&lt;br /&gt;
If your connection indicator is yellow, check your firewall settings and port forwarding to make sure incoming connections are allowed to your machine on the correct TCP port (Default: 8444), the port can be found in the Bitmessage settings.&lt;br /&gt;
&lt;br /&gt;
You can click on the indicator for more information about each color.&lt;br /&gt;
&lt;br /&gt;
===Why is my Connection Indicator Yellow===&lt;br /&gt;
Bitmessage will work normally with a yellow indicator. If your indicator is yellow, you can have up to 8 connections. To make your indicator green, please forward the required TCP port (usually 8444). You can find the Port in the Bitmessage settings.&lt;br /&gt;
&lt;br /&gt;
===How do I setup Bitmessage to work with Tor===&lt;br /&gt;
&lt;br /&gt;
'''Tor'''&lt;br /&gt;
&lt;br /&gt;
If you are using the Tor Browser Bundle skip to the next section. In order for Bitmessage to use Tor as a proxy follow these steps.&lt;br /&gt;
*Navigate to Settings &amp;gt; Network Settings and select SOCKS5 from the Type: drop down under the Proxy server / Tor section.&lt;br /&gt;
*Next to 'Server hostname:' enter 'localhost' and next to 'Port:' enter '9050'.&lt;br /&gt;
*Select ok.&lt;br /&gt;
*Restart Bitmessage.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Tor Browser Bundle'''&lt;br /&gt;
*Navigate to Settings &amp;gt; Network Settings and select SOCKS5 from the Type: drop down under the Proxy server / Tor section.&lt;br /&gt;
*Next to 'Server hostname:' enter 'localhost' and next to 'Port:' enter '9150'.&lt;br /&gt;
*Select ok.&lt;br /&gt;
*Restart Bitmessage.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
===How can I run Bitmessage in daemon mode===&lt;br /&gt;
Refer to the [[Daemon|Daemon Mode Page]].&lt;br /&gt;
&lt;br /&gt;
===How many connections should I have===&lt;br /&gt;
As long as you have at least one connection, you can communicate with the network. If your connection indicator is yellow, you can have a maximum of 8 connections.&lt;br /&gt;
&lt;br /&gt;
===Can I send a message to someone that is offline===&lt;br /&gt;
Yes. However, if you go offline then they must come back online within 2 days of the message being sent. Nodes delete data, and do not accept data, older than 2 days. &lt;br /&gt;
&lt;br /&gt;
===How do I format my messages===&lt;br /&gt;
Here is [https://qt-project.org/doc/qt-4.8/richtext-html-subset.html the list of supported HTML tags].&lt;br /&gt;
&lt;br /&gt;
===What are subscriptions?===&lt;br /&gt;
&lt;br /&gt;
A [[Subscriptions|subscription]] allows you to receive messages, that were broadcasted by the address you subscribe too.&lt;br /&gt;
Since [[broadcast]] messages are encrypted with a key, that can be created by everyone who knows the address, you must be subscribed to an address to actually read the messages.&lt;br /&gt;
&lt;br /&gt;
Subscriptions are also required to use a [[Mailing List]].&lt;br /&gt;
&lt;br /&gt;
===What are &amp;quot;chans&amp;quot;?===&lt;br /&gt;
Chan is another word for DML. Please refer to [[DML|this article]] for a complete documentation of this rather complex feature.&lt;br /&gt;
&lt;br /&gt;
==How does Bitmessage work==&lt;br /&gt;
'''Startup'''&lt;br /&gt;
&lt;br /&gt;
When you first start Bitmessage, your client connects itself to the network and starts downloading a list of known nodes. Each new node that you connect to shares its list of known nodes. In addition to the known nodes, you will also start receiving person-to-person messages, broadcasts, and public keys. If any of these messages are bound for you, they will be shown in your inbox. All of this data is exchanged between all of your connections to make sure that everyone has a copy. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Sending a Message'''&lt;br /&gt;
&lt;br /&gt;
When you send a message, your client must first compute a Proof of Work (POW). This POW helps mitigate spam on the network. Nodes and other clients will not process your message if it does not show sufficient POW. After the POW is complete, your message is shared to all of your connections which in turn share it with all of their connections. &lt;br /&gt;
&lt;br /&gt;
===Where can I find more documentation about Bitmessage===&lt;br /&gt;
* [https://bitmessage.org/bitmessage.pdf Overview White Paper (PDF)]&lt;br /&gt;
* [[Protocol specification]]&lt;br /&gt;
* Detail about the [[Proof of work]]&lt;br /&gt;
&lt;br /&gt;
==How does Bitmessage compare to other messaging methods==&lt;br /&gt;
Here is a table comparing Bitmessage to other common messaging services.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Comparison of Messaging Services&lt;br /&gt;
! &amp;amp;nbsp;&lt;br /&gt;
! Trustless&lt;br /&gt;
! P2P&lt;br /&gt;
! Open Source&lt;br /&gt;
! Requires Proof of Work&lt;br /&gt;
! Hide Sender?&lt;br /&gt;
! Hide Receiver?&lt;br /&gt;
! Mobile Version&lt;br /&gt;
! Application or Web Based&lt;br /&gt;
! Text Only Messages&lt;br /&gt;
! Attachments&lt;br /&gt;
! Acknowledge delivery&lt;br /&gt;
|-&lt;br /&gt;
! Bitmessage&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| [http://opensource.org/licenses/mit-license.php MIT]&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| Application&lt;br /&gt;
| No&lt;br /&gt;
| Small only&lt;br /&gt;
| Yes&lt;br /&gt;
|-&lt;br /&gt;
! Standard Email&lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| Depends&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| Both&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
|-&lt;br /&gt;
! Email + GPG&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| Depends&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| Application&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
|-&lt;br /&gt;
! [http://xmpp.org/ XMPP] + [https://en.wikipedia.org/wiki/Off-the-Record_Messaging OTR]&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| GPL V2.1&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| Application&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! [https://en.wikipedia.org/wiki/TorChat TorChat]&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| GPL&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| Application&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! [http://www.skype.com/en/ Skype]&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| Application&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! [http://www.scayl.com/ Scayl]&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Alpha&lt;br /&gt;
| Application&lt;br /&gt;
| No&lt;br /&gt;
| Very Large&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! [https://en.wikipedia.org/wiki/I2P#E-mail I2P Bote]&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| GPL V3&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Application&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
|-&lt;br /&gt;
! [https://crypto.cat/ CryptoCat]&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| GPL&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| Both&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! [https://en.wikipedia.org/wiki/Internet_Relay_Chat IRC]&lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| Both&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! SMS&lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| Application&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
|-&lt;br /&gt;
! [http://retroshare.sourceforge.net/ RetroShare]&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! [https://en.wikipedia.org/wiki/Freenet#Tools_and_applications Freenet + Frost]&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| GPL&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| Application&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! [https://mirror4.freenetproject.org/tools.html Freenet + FMS]&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| Application&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! [https://mirror4.freenetproject.org/tools.html Freenet + Freemail] 0.2&lt;br /&gt;
| No&lt;br /&gt;
| Yes&lt;br /&gt;
| GPL&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Application&lt;br /&gt;
| No&lt;br /&gt;
| Yes &lt;br /&gt;
| No&lt;br /&gt;
|-&lt;br /&gt;
! [https://wiki.freenetproject.org/FLIP Freenet + FLIP]&lt;br /&gt;
| Yes&lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| No&lt;br /&gt;
| Application&lt;br /&gt;
| Yes&lt;br /&gt;
| No&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
! [https://en.wikipedia.org/wiki/TorChat TorChat]&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| Via Tor&lt;br /&gt;
| Via Tor&lt;br /&gt;
| &lt;br /&gt;
| Application&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
===My Connection Indicator is Red===&lt;br /&gt;
Check your connection settings.&lt;br /&gt;
Check if you can access the internet. In case you have a firewall with outgoing restrictions (not Windoes firewall) allow unrestricted access for Bitmessage through your firewall.&lt;br /&gt;
Sometimes Bitmessage takes time to connect to the network, especially if [[knownnodes.dat]] is large. Please allow at least 30 minutes for it to connect before posting to the forum.&lt;br /&gt;
You can also try deleting [[knownnodes.dat]].&lt;br /&gt;
&lt;br /&gt;
If none of that works, [https://bitmessage.org/forum/index.php please visit the forum here.]&lt;br /&gt;
&lt;br /&gt;
===I have not received a reply from the Echo Server===&lt;br /&gt;
*Your connection indicator should be yellow or green.&lt;br /&gt;
*Make sure that your POW is complete and the message has been sent. You should see an acknowledgement under &amp;quot;Status&amp;quot; on the &amp;quot;Sent&amp;quot; tab. &lt;br /&gt;
*On average it should take 8 minutes from the time you click the send button to the time you receive a response. &lt;br /&gt;
*Be sure to allow extra time in the event that the server is under heavy traffic (Example: An article about Bitmessage was posted on a popular website).&lt;br /&gt;
*You can always send a message to another echo server. Here are two echo addresses:&lt;br /&gt;
** BM-orkCbppXWSqPpAxnz6jnfTZ2djb5pJKDb&lt;br /&gt;
** BM-omXeTjutKWmYgQJjmoZjAG3u3NmaLEdZK&lt;br /&gt;
*You may subscribe to the [[Timeservice Broadcast]] to receive network heartbeats.&lt;br /&gt;
*You can send messages to a [[Mailing List]] in case it still does not works&lt;br /&gt;
If you still do not receive a response, [https://bitmessage.org/forum/index.php visit the forum] to see if there is a current technical issue or to submit a new request for assistance.&lt;br /&gt;
&lt;br /&gt;
===Other===&lt;br /&gt;
Here is a list of average times for different parts of Bitmessage. [[PyBitmessage Help]]&lt;br /&gt;
&lt;br /&gt;
Please [https://bitmessage.org/forum/index.php visit the forum] for all other issues.&lt;/div&gt;</summary>
		<author><name>Mtkfm</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.bitmessage.org/index.php?title=Compiling_instructions&amp;diff=19813</id>
		<title>Compiling instructions</title>
		<link rel="alternate" type="text/html" href="https://wiki.bitmessage.org/index.php?title=Compiling_instructions&amp;diff=19813"/>
		<updated>2013-08-27T13:54:55Z</updated>

		<summary type="html">&lt;p&gt;Mtkfm: /* Resolve dependencies */ Corrections: .bashrc instead of .bash_profile&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page should help novice users run Bitmessage from the source code files.&lt;br /&gt;
&lt;br /&gt;
= Linux =&lt;br /&gt;
&lt;br /&gt;
== Resolve dependencies ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;80%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Distribuion&lt;br /&gt;
! Instructions&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Debian-based (Debian, Ubuntu, Whonix, Raspbian, PiBang, others)&lt;br /&gt;
| &amp;lt;small&amp;gt;''Note for Debian Squeeze (6.0) users: Debian Squeeze does not offer packages (like Python, OpenSSL) in versions that are needed for Bitmessage. You can still try to [https://github.com/Bitmessage/PyBitmessage/issues/47#issuecomment-17774377 work around these problems]. Debian 7 &amp;quot;wheezy&amp;quot; works without problems.''&amp;lt;/small&amp;gt;&lt;br /&gt;
  sudo apt-get install python openssl git python-qt4&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Arch Linux&lt;br /&gt;
| &lt;br /&gt;
  sudo pacman -S python2 openssl git python2-pyqt4&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Fedora&lt;br /&gt;
| &amp;lt;small&amp;gt;''Fedora and RHEL6 do not support EC in OpenSSL. Therefore we need [http://linux.ringingliberty.com/bitcoin/ Ringing Liberty's bitcoin repository] to get a compatible library.''&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
  su -c 'yum install -y http://linux.ringingliberty.com/bitcoin/f18/x86_64/bitcoin-release-1-4.noarch.rpm'&lt;br /&gt;
  su -c 'yum install -y python python-qt4 git openssl-compat-bitcoin-libs'&lt;br /&gt;
&lt;br /&gt;
Tell your system where to look for the library:&lt;br /&gt;
  echo 'LD_LIBRARY_PATH=&amp;quot;/opt/openssl-compat-bitcoin/lib/&amp;quot;' &amp;gt;&amp;gt; ~/.bashrc &amp;amp;&amp;amp; source ~/.bashrc&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Red Hat Enterprise Linux (RHEL)&lt;br /&gt;
| &amp;lt;small&amp;gt;''Fedora and RHEL6 do not support EC in OpenSSL. Therefore we need [http://linux.ringingliberty.com/bitcoin/ Ringing Liberty's bitcoin repository] to get a compatible library.''&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
  su -c 'yum install -y http://linux.ringingliberty.com/bitcoin/el6/x86_64/bitcoin-release-1-4.noarch.rpm'&lt;br /&gt;
  su -c 'yum install -y python python-qt4 git openssl-compat-bitcoin-libs'&lt;br /&gt;
Tell your system where to look for the library:&lt;br /&gt;
  echo 'LD_LIBRARY_PATH=&amp;quot;/opt/openssl-compat-bitcoin/lib/&amp;quot;' &amp;gt;&amp;gt; ~/.bashrc &amp;amp;&amp;amp; source ~/.bashrc&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Download and run PyBitmessage ==&lt;br /&gt;
Download the source code from github:&lt;br /&gt;
&amp;lt;code&amp;gt;git clone &amp;lt;nowiki&amp;gt;https://github.com/Bitmessage/PyBitmessage $HOME/PyBitmessage&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Run PyBitmessage:&lt;br /&gt;
&amp;lt;code&amp;gt;~/PyBitmessage/src/bitmessagemain.py&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Check the wiki for [https://bitmessage.org/wiki/Daemon more information] on how to run Bitmessage as a daemon.&lt;br /&gt;
&lt;br /&gt;
== Upgrading ==&lt;br /&gt;
To upgrade Bitmessage run the following commands:&lt;br /&gt;
:&amp;lt;code&amp;gt;cd $HOME/PyBitmessage&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;code&amp;gt;git pull&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= OS X =&lt;br /&gt;
== With Homebrew package manager ==&lt;br /&gt;
; Setup&lt;br /&gt;
First, make sure you have not already installed Macports. Having both macports and homebrew on the same system is a recipe for disaster. &lt;br /&gt;
Install Homebrew: &lt;br /&gt;
 ruby -e &amp;quot;$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Update Python:&lt;br /&gt;
 brew install python&lt;br /&gt;
&lt;br /&gt;
; Install dependencies:&lt;br /&gt;
 brew install pyqt openssl&lt;br /&gt;
&lt;br /&gt;
; Download and run&lt;br /&gt;
 cd ~/Desktop&lt;br /&gt;
 git clone git://github.com/Bitmessage/PyBitmessage.git&lt;br /&gt;
 cd PyBitmessage&lt;br /&gt;
 python src/bitmessagemain.py&lt;br /&gt;
&lt;br /&gt;
== With macports package manager ==&lt;br /&gt;
First, make sure you have not already installed Homebrew. Having both macports and homebrew on the same system is a recipe for disaster. &lt;br /&gt;
Installing with macports or homebrew essentially has the same effect. Homebrew does some things better than ports, and ports does some things better than brew. If old-school floats your boat, these instructions are for you. &lt;br /&gt;
&lt;br /&gt;
; Select the macports installation that is right for your version of osx&lt;br /&gt;
https://www.macports.org/install.php&lt;br /&gt;
&lt;br /&gt;
; Install dependencies and needed tools&lt;br /&gt;
 sudo port install python27 py27-pyqt4 openssl&lt;br /&gt;
 sudo port install git-core +svn +doc +bash_completion +gitweb&lt;br /&gt;
&lt;br /&gt;
; Download and run&lt;br /&gt;
 cd ~/Desktop&lt;br /&gt;
 git clone git://github.com/Bitmessage/PyBitmessage.git&lt;br /&gt;
 cd PyBitmessage&lt;br /&gt;
 python2.7 src/bitmessagemain.py&lt;br /&gt;
&lt;br /&gt;
= Windows =&lt;br /&gt;
# Download and install the latest revision of Python 2.7 (currently Python 2.7.3 from [http://www.python.org/download/releases/2.7.3/ here]). The ''Windows x86 MSI Installer'' is the right choice for most people. (64-bit users may want the 64-bit version).&lt;br /&gt;
# Test that it installed:&lt;br /&gt;
## Open a command prompt by going to Start &amp;gt; Run. Type 'cmd' then press enter.&lt;br /&gt;
## type 'python'. If python is installed, you should see the python version and the prompt: '&amp;gt;&amp;gt;&amp;gt;'&lt;br /&gt;
## If you see a message such as: &amp;quot;'Python is not recognized as an internal or external command...&amp;quot; then you must add the python path to your path environmental variable:&lt;br /&gt;
### Find the location where Python was installed (in particular, the location where python.exe exists). It might simply be in c:\Python2.7 &lt;br /&gt;
### Follow [http://www.computerhope.com/issues/ch000549.htm these directions] to add the Python path to your path variable.&lt;br /&gt;
### Close the command prompt window and reopen it. &lt;br /&gt;
### Try running 'python' again.&lt;br /&gt;
##Press Ctrl-Z to exit Python.&lt;br /&gt;
# Bitmessage has two dependencies. The first is PyQt. Download and install PyQt from [http://www.riverbankcomputing.com/software/pyqt/download here]. You will want the Binary Package since it is already compiled for you. Be sure to select the version for Python 2.7. It is labeled as Py2.7. &lt;br /&gt;
# The second dependency is OpenSSL which you can download from [http://slproweb.com/products/Win32OpenSSL.html here]. There you will also notice the link to download the Visual C++ 2008 program in case you also find that you need that as well. (The OpenSSL installer will complain if you need to install the Visual C++ Redistributable.)&lt;br /&gt;
# Download the source code for PyBitmessage from GitHub. If it is in a zip file, you will need to extract it. There should be a few files and a few folders where one of the folders is 'src'. &lt;br /&gt;
# To run Bitmessage, navigate into the 'src' folder and then double click on the bitmessagemain.py file, or in a command prompt, change directories to the 'src' directory which holds bitmessagemain.py and type 'python bitmessagemain.py'. &lt;br /&gt;
&lt;br /&gt;
== If you change user interface files ==&lt;br /&gt;
You can use Qt's Designer application to modify the user interface. After you do this, you will need to 'compile' .ui files into .py files. &lt;br /&gt;
# In a command prompt, change directories to the directory of your .ui file.&lt;br /&gt;
# Run 'pyuic4 example.ui &amp;gt; example.py'  If you get a message similar to 'pyuic4 is not recognized as an internal or external command' then you must add the PyQt directory to your system's path variable. This directory should hold pyuic4.bat. It might be in C:\Python27\Lib\site-packages\PyQt4. Remember to close the command window and reopen it after you change your path variable.&lt;br /&gt;
&lt;br /&gt;
If you add icons to bitmessage_icons.qrc, then you must run this command:&lt;br /&gt;
pyrcc4 bitmessage_icons.qrc -o bitmessage_icons_rc.py&lt;br /&gt;
&lt;br /&gt;
== Optional: Compile into a stand-alone EXE ==&lt;br /&gt;
# Download [http://www.pyinstaller.org/ PyInstaller].&lt;br /&gt;
# Copy Bitmessage's 'src' directory to the PyInstaller directory (which contains pyinstaller.py). &lt;br /&gt;
# Run 'pyinstaller.py --onefile --noconsole --icon=&amp;quot;src\images\can-icon.ico&amp;quot; src\bitmessagemain.py'&lt;br /&gt;
This won't include the OpenSSL DLL file in the EXE; if you send it to someone who doesn't have OpenSSL installed, it will not run. To include the DLL file in the EXE, you must follow these steps:&lt;br /&gt;
# After following the steps above, you will see that pyinstaller created a folder called bitmessagemain. In that folder is a file: bitmessagemain.spec. Open it with a text editor.&lt;br /&gt;
# Below the line &amp;quot;a.datas,&amp;quot; add this line: &amp;lt;code&amp;gt;a.binaries + [('libeay32.dll', 'c:\\windows\\system32\\libeay32.dll', 'BINARY')],&amp;lt;/code&amp;gt;&lt;br /&gt;
# Save and close&lt;br /&gt;
# Run this command: pyinstaller.py bitmessagemain/bitmessagemain.spec&lt;br /&gt;
&lt;br /&gt;
If you do not have the libeay32.dll you can download it here. http://www.dll-files.com/dllindex/dll-files.shtml?libeay32&lt;/div&gt;</summary>
		<author><name>Mtkfm</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.bitmessage.org/index.php?title=Compiling_instructions&amp;diff=19812</id>
		<title>Compiling instructions</title>
		<link rel="alternate" type="text/html" href="https://wiki.bitmessage.org/index.php?title=Compiling_instructions&amp;diff=19812"/>
		<updated>2013-08-27T13:30:40Z</updated>

		<summary type="html">&lt;p&gt;Mtkfm: /* Resolve dependencies */ Missing backslash&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page should help novice users run Bitmessage from the source code files.&lt;br /&gt;
&lt;br /&gt;
= Linux =&lt;br /&gt;
&lt;br /&gt;
== Resolve dependencies ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;80%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Distribuion&lt;br /&gt;
! Instructions&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Debian-based (Debian, Ubuntu, Whonix, Raspbian, PiBang, others)&lt;br /&gt;
| &amp;lt;small&amp;gt;''Note for Debian Squeeze (6.0) users: Debian Squeeze does not offer packages (like Python, OpenSSL) in versions that are needed for Bitmessage. You can still try to [https://github.com/Bitmessage/PyBitmessage/issues/47#issuecomment-17774377 work around these problems]. Debian 7 &amp;quot;wheezy&amp;quot; works without problems.''&amp;lt;/small&amp;gt;&lt;br /&gt;
  sudo apt-get install python openssl git python-qt4&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Arch Linux&lt;br /&gt;
| &lt;br /&gt;
  sudo pacman -S python2 openssl git python2-pyqt4&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Fedora&lt;br /&gt;
| &amp;lt;small&amp;gt;''Fedora and RHEL6 do not support EC in OpenSSL. Therefore we need [http://linux.ringingliberty.com/bitcoin/ Ringing Liberty's bitcoin repository] to get a compatible library.''&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
  su -c 'yum install python git openssl-compat-bitcoin-libs \ &amp;lt;br /&amp;gt; http://linux.ringingliberty.com/bitcoin/f18/x86_64/bitcoin-release-1-4.noarch.rpm'&lt;br /&gt;
Tell your system where to look for the library:&lt;br /&gt;
  echo 'LD_LIBRARY_PATH=&amp;quot;/opt/openssl-compat-bitcoin/lib/&amp;quot;' &amp;gt;&amp;gt; ~/.bash_profile &amp;amp;&amp;amp; source ~/.bash_profile&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Red Hat Enterprise Linux (RHEL)&lt;br /&gt;
| &amp;lt;small&amp;gt;''Fedora and RHEL6 do not support EC in OpenSSL. Therefore we need [http://linux.ringingliberty.com/bitcoin/ Ringing Liberty's bitcoin repository] to get a compatible library.''&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
  su -c 'yum install python git openssl-compat-bitcoin-libs \ &amp;lt;br /&amp;gt; http://linux.ringingliberty.com/bitcoin/el6/x86_64/bitcoin-release-1-4.noarch.rpm'&lt;br /&gt;
Tell your system where to look for the library:&lt;br /&gt;
  echo 'LD_LIBRARY_PATH=&amp;quot;/opt/openssl-compat-bitcoin/lib/&amp;quot;' &amp;gt;&amp;gt; ~/.bash_profile &amp;amp;&amp;amp; source ~/.bash_profile&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Download and run PyBitmessage ==&lt;br /&gt;
Download the source code from github:&lt;br /&gt;
&amp;lt;code&amp;gt;git clone &amp;lt;nowiki&amp;gt;https://github.com/Bitmessage/PyBitmessage $HOME/PyBitmessage&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Run PyBitmessage:&lt;br /&gt;
&amp;lt;code&amp;gt;~/PyBitmessage/src/bitmessagemain.py&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Check the wiki for [https://bitmessage.org/wiki/Daemon more information] on how to run Bitmessage as a daemon.&lt;br /&gt;
&lt;br /&gt;
== Upgrading ==&lt;br /&gt;
To upgrade Bitmessage run the following commands:&lt;br /&gt;
:&amp;lt;code&amp;gt;cd $HOME/PyBitmessage&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;code&amp;gt;git pull&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= OS X =&lt;br /&gt;
== With Homebrew package manager ==&lt;br /&gt;
; Setup&lt;br /&gt;
First, make sure you have not already installed Macports. Having both macports and homebrew on the same system is a recipe for disaster. &lt;br /&gt;
Install Homebrew: &lt;br /&gt;
 ruby -e &amp;quot;$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Update Python:&lt;br /&gt;
 brew install python&lt;br /&gt;
&lt;br /&gt;
; Install dependencies:&lt;br /&gt;
 brew install pyqt openssl&lt;br /&gt;
&lt;br /&gt;
; Download and run&lt;br /&gt;
 cd ~/Desktop&lt;br /&gt;
 git clone git://github.com/Bitmessage/PyBitmessage.git&lt;br /&gt;
 cd PyBitmessage&lt;br /&gt;
 python src/bitmessagemain.py&lt;br /&gt;
&lt;br /&gt;
== With macports package manager ==&lt;br /&gt;
First, make sure you have not already installed Homebrew. Having both macports and homebrew on the same system is a recipe for disaster. &lt;br /&gt;
Installing with macports or homebrew essentially has the same effect. Homebrew does some things better than ports, and ports does some things better than brew. If old-school floats your boat, these instructions are for you. &lt;br /&gt;
&lt;br /&gt;
; Select the macports installation that is right for your version of osx&lt;br /&gt;
https://www.macports.org/install.php&lt;br /&gt;
&lt;br /&gt;
; Install dependencies and needed tools&lt;br /&gt;
 sudo port install python27 py27-pyqt4 openssl&lt;br /&gt;
 sudo port install git-core +svn +doc +bash_completion +gitweb&lt;br /&gt;
&lt;br /&gt;
; Download and run&lt;br /&gt;
 cd ~/Desktop&lt;br /&gt;
 git clone git://github.com/Bitmessage/PyBitmessage.git&lt;br /&gt;
 cd PyBitmessage&lt;br /&gt;
 python2.7 src/bitmessagemain.py&lt;br /&gt;
&lt;br /&gt;
= Windows =&lt;br /&gt;
# Download and install the latest revision of Python 2.7 (currently Python 2.7.3 from [http://www.python.org/download/releases/2.7.3/ here]). The ''Windows x86 MSI Installer'' is the right choice for most people. (64-bit users may want the 64-bit version).&lt;br /&gt;
# Test that it installed:&lt;br /&gt;
## Open a command prompt by going to Start &amp;gt; Run. Type 'cmd' then press enter.&lt;br /&gt;
## type 'python'. If python is installed, you should see the python version and the prompt: '&amp;gt;&amp;gt;&amp;gt;'&lt;br /&gt;
## If you see a message such as: &amp;quot;'Python is not recognized as an internal or external command...&amp;quot; then you must add the python path to your path environmental variable:&lt;br /&gt;
### Find the location where Python was installed (in particular, the location where python.exe exists). It might simply be in c:\Python2.7 &lt;br /&gt;
### Follow [http://www.computerhope.com/issues/ch000549.htm these directions] to add the Python path to your path variable.&lt;br /&gt;
### Close the command prompt window and reopen it. &lt;br /&gt;
### Try running 'python' again.&lt;br /&gt;
##Press Ctrl-Z to exit Python.&lt;br /&gt;
# Bitmessage has two dependencies. The first is PyQt. Download and install PyQt from [http://www.riverbankcomputing.com/software/pyqt/download here]. You will want the Binary Package since it is already compiled for you. Be sure to select the version for Python 2.7. It is labeled as Py2.7. &lt;br /&gt;
# The second dependency is OpenSSL which you can download from [http://slproweb.com/products/Win32OpenSSL.html here]. There you will also notice the link to download the Visual C++ 2008 program in case you also find that you need that as well. (The OpenSSL installer will complain if you need to install the Visual C++ Redistributable.)&lt;br /&gt;
# Download the source code for PyBitmessage from GitHub. If it is in a zip file, you will need to extract it. There should be a few files and a few folders where one of the folders is 'src'. &lt;br /&gt;
# To run Bitmessage, navigate into the 'src' folder and then double click on the bitmessagemain.py file, or in a command prompt, change directories to the 'src' directory which holds bitmessagemain.py and type 'python bitmessagemain.py'. &lt;br /&gt;
&lt;br /&gt;
== If you change user interface files ==&lt;br /&gt;
You can use Qt's Designer application to modify the user interface. After you do this, you will need to 'compile' .ui files into .py files. &lt;br /&gt;
# In a command prompt, change directories to the directory of your .ui file.&lt;br /&gt;
# Run 'pyuic4 example.ui &amp;gt; example.py'  If you get a message similar to 'pyuic4 is not recognized as an internal or external command' then you must add the PyQt directory to your system's path variable. This directory should hold pyuic4.bat. It might be in C:\Python27\Lib\site-packages\PyQt4. Remember to close the command window and reopen it after you change your path variable.&lt;br /&gt;
&lt;br /&gt;
If you add icons to bitmessage_icons.qrc, then you must run this command:&lt;br /&gt;
pyrcc4 bitmessage_icons.qrc -o bitmessage_icons_rc.py&lt;br /&gt;
&lt;br /&gt;
== Optional: Compile into a stand-alone EXE ==&lt;br /&gt;
# Download [http://www.pyinstaller.org/ PyInstaller].&lt;br /&gt;
# Copy Bitmessage's 'src' directory to the PyInstaller directory (which contains pyinstaller.py). &lt;br /&gt;
# Run 'pyinstaller.py --onefile --noconsole --icon=&amp;quot;src\images\can-icon.ico&amp;quot; src\bitmessagemain.py'&lt;br /&gt;
This won't include the OpenSSL DLL file in the EXE; if you send it to someone who doesn't have OpenSSL installed, it will not run. To include the DLL file in the EXE, you must follow these steps:&lt;br /&gt;
# After following the steps above, you will see that pyinstaller created a folder called bitmessagemain. In that folder is a file: bitmessagemain.spec. Open it with a text editor.&lt;br /&gt;
# Below the line &amp;quot;a.datas,&amp;quot; add this line: &amp;lt;code&amp;gt;a.binaries + [('libeay32.dll', 'c:\\windows\\system32\\libeay32.dll', 'BINARY')],&amp;lt;/code&amp;gt;&lt;br /&gt;
# Save and close&lt;br /&gt;
# Run this command: pyinstaller.py bitmessagemain/bitmessagemain.spec&lt;br /&gt;
&lt;br /&gt;
If you do not have the libeay32.dll you can download it here. http://www.dll-files.com/dllindex/dll-files.shtml?libeay32&lt;/div&gt;</summary>
		<author><name>Mtkfm</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.bitmessage.org/index.php?title=Compiling_instructions&amp;diff=19766</id>
		<title>Compiling instructions</title>
		<link rel="alternate" type="text/html" href="https://wiki.bitmessage.org/index.php?title=Compiling_instructions&amp;diff=19766"/>
		<updated>2013-08-23T16:00:43Z</updated>

		<summary type="html">&lt;p&gt;Mtkfm: distributions bold&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page should help novice users run Bitmessage from the source code files.&lt;br /&gt;
&lt;br /&gt;
= Linux =&lt;br /&gt;
&lt;br /&gt;
== Resolve dependencies ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;80%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Distribuion&lt;br /&gt;
! Instructions&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Debian-based (Debian, Ubuntu, Whonix, Raspbian, PiBang, others)&lt;br /&gt;
| &amp;lt;small&amp;gt;''Note for Debian Squeeze (6.0) users: Debian Squeeze does not offer packages (like Python, OpenSSL) in versions that are needed for Bitmessage. You can still try to [https://github.com/Bitmessage/PyBitmessage/issues/47#issuecomment-17774377 work around these problems]. Debian 7 &amp;quot;wheezy&amp;quot; works without problems.''&amp;lt;/small&amp;gt;&lt;br /&gt;
  sudo apt-get install python openssl git python-qt4&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Arch Linux&lt;br /&gt;
| &lt;br /&gt;
  sudo pacman -S python2 openssl git python2-pyqt4&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Fedora&lt;br /&gt;
| &amp;lt;small&amp;gt;''Fedora and RHEL6 do not support EC in OpenSSL. Therefore we need [http://linux.ringingliberty.com/bitcoin/ Ringing Liberty's bitcoin repository] to get a compatible library.''&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
  su -c 'yum install python git openssl-compat-bitcoin-libs &amp;lt;br /&amp;gt; http://linux.ringingliberty.com/bitcoin/f18/x86_64/bitcoin-release-1-4.noarch.rpm'&lt;br /&gt;
Tell your system where to look for the library:&lt;br /&gt;
  echo 'LD_LIBRARY_PATH=&amp;quot;/opt/openssl-compat-bitcoin/lib/&amp;quot;' &amp;gt;&amp;gt; ~/.bash_profile &amp;amp;&amp;amp; source ~/.bash_profile&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Red Hat Enterprise Linux (RHEL)&lt;br /&gt;
| &amp;lt;small&amp;gt;''Fedora and RHEL6 do not support EC in OpenSSL. Therefore we need [http://linux.ringingliberty.com/bitcoin/ Ringing Liberty's bitcoin repository] to get a compatible library.''&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
  su -c 'yum install python git openssl-compat-bitcoin-libs &amp;lt;br /&amp;gt; http://linux.ringingliberty.com/bitcoin/el6/x86_64/bitcoin-release-1-4.noarch.rpm'&lt;br /&gt;
Tell your system where to look for the library:&lt;br /&gt;
  echo 'LD_LIBRARY_PATH=&amp;quot;/opt/openssl-compat-bitcoin/lib/&amp;quot;' &amp;gt;&amp;gt; ~/.bash_profile &amp;amp;&amp;amp; source ~/.bash_profile&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Download and run PyBitmessage ==&lt;br /&gt;
Download the source code from github:&lt;br /&gt;
&amp;lt;code&amp;gt;git clone &amp;lt;nowiki&amp;gt;https://github.com/Bitmessage/PyBitmessage $HOME/PyBitmessage&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Run PyBitmessage:&lt;br /&gt;
&amp;lt;code&amp;gt;~/PyBitmessage/src/bitmessagemain.py&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Check the wiki for [https://bitmessage.org/wiki/Daemon more information] on how to run Bitmessage as a daemon.&lt;br /&gt;
&lt;br /&gt;
== Upgrading ==&lt;br /&gt;
To upgrade Bitmessage run the following commands:&lt;br /&gt;
:&amp;lt;code&amp;gt;cd $HOME/PyBitmessage&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;code&amp;gt;git pull&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= OS X =&lt;br /&gt;
== With Homebrew package manager ==&lt;br /&gt;
; Setup&lt;br /&gt;
First, make sure you have not already installed Macports. Having both macports and homebrew on the same system is a recipe for disaster. &lt;br /&gt;
Install Homebrew: &lt;br /&gt;
 ruby -e &amp;quot;$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Update Python:&lt;br /&gt;
 brew install python&lt;br /&gt;
&lt;br /&gt;
; Install dependencies:&lt;br /&gt;
 brew install pyqt openssl&lt;br /&gt;
&lt;br /&gt;
; Download and run&lt;br /&gt;
 cd ~/Desktop&lt;br /&gt;
 git clone git://github.com/Bitmessage/PyBitmessage.git&lt;br /&gt;
 cd PyBitmessage&lt;br /&gt;
 python src/bitmessagemain.py&lt;br /&gt;
&lt;br /&gt;
== With macports package manager ==&lt;br /&gt;
First, make sure you have not already installed Homebrew. Having both macports and homebrew on the same system is a recipe for disaster. &lt;br /&gt;
Installing with macports or homebrew essentially has the same effect. Homebrew does some things better than ports, and ports does some things better than brew. If old-school floats your boat, these instructions are for you. &lt;br /&gt;
&lt;br /&gt;
; Select the macports installation that is right for your version of osx&lt;br /&gt;
https://www.macports.org/install.php&lt;br /&gt;
&lt;br /&gt;
; Install dependencies and needed tools&lt;br /&gt;
 sudo port install python27 py27-pyqt4 openssl&lt;br /&gt;
 sudo port install git-core +svn +doc +bash_completion +gitweb&lt;br /&gt;
&lt;br /&gt;
; Download and run&lt;br /&gt;
 cd ~/Desktop&lt;br /&gt;
 git clone git://github.com/Bitmessage/PyBitmessage.git&lt;br /&gt;
 cd PyBitmessage&lt;br /&gt;
 python2.7 src/bitmessagemain.py&lt;br /&gt;
&lt;br /&gt;
= Windows =&lt;br /&gt;
# Download and install the latest revision of Python 2.7 (currently Python 2.7.3 from [http://www.python.org/download/releases/2.7.3/ here]). The ''Windows x86 MSI Installer'' is the right choice for most people. (64-bit users may want the 64-bit version).&lt;br /&gt;
# Test that it installed:&lt;br /&gt;
## Open a command prompt by going to Start &amp;gt; Run. Type 'cmd' then press enter.&lt;br /&gt;
## type 'python'. If python is installed, you should see the python version and the prompt: '&amp;gt;&amp;gt;&amp;gt;'&lt;br /&gt;
## If you see a message such as: &amp;quot;'Python is not recognized as an internal or external command...&amp;quot; then you must add the python path to your path environmental variable:&lt;br /&gt;
### Find the location where Python was installed (in particular, the location where python.exe exists). It might simply be in c:\Python2.7 &lt;br /&gt;
### Follow [http://www.computerhope.com/issues/ch000549.htm these directions] to add the Python path to your path variable.&lt;br /&gt;
### Close the command prompt window and reopen it. &lt;br /&gt;
### Try running 'python' again.&lt;br /&gt;
##Press Ctrl-Z to exit Python.&lt;br /&gt;
# Bitmessage has two dependencies. The first is PyQt. Download and install PyQt from [http://www.riverbankcomputing.com/software/pyqt/download here]. You will want the Binary Package since it is already compiled for you. Be sure to select the version for Python 2.7. It is labeled as Py2.7. &lt;br /&gt;
# The second dependency is OpenSSL which you can download from [http://slproweb.com/products/Win32OpenSSL.html here]. There you will also notice the link to download the Visual C++ 2008 program in case you also find that you need that as well. (The OpenSSL installer will complain if you need to install the Visual C++ Redistributable.)&lt;br /&gt;
# Download the source code for PyBitmessage from GitHub. If it is in a zip file, you will need to extract it. There should be a few files and a few folders where one of the folders is 'src'. &lt;br /&gt;
# To run Bitmessage, navigate into the 'src' folder and then double click on the bitmessagemain.py file, or in a command prompt, change directories to the 'src' directory which holds bitmessagemain.py and type 'python bitmessagemain.py'. &lt;br /&gt;
&lt;br /&gt;
== If you change user interface files ==&lt;br /&gt;
You can use Qt's Designer application to modify the user interface. After you do this, you will need to 'compile' .ui files into .py files. &lt;br /&gt;
# In a command prompt, change directories to the directory of your .ui file.&lt;br /&gt;
# Run 'pyuic4 example.ui &amp;gt; example.py'  If you get a message similar to 'pyuic4 is not recognized as an internal or external command' then you must add the PyQt directory to your system's path variable. This directory should hold pyuic4.bat. It might be in C:\Python27\Lib\site-packages\PyQt4. Remember to close the command window and reopen it after you change your path variable.&lt;br /&gt;
&lt;br /&gt;
If you add icons to bitmessage_icons.qrc, then you must run this command:&lt;br /&gt;
pyrcc4 bitmessage_icons.qrc -o bitmessage_icons_rc.py&lt;br /&gt;
&lt;br /&gt;
== Optional: Compile into a stand-alone EXE ==&lt;br /&gt;
# Download [http://www.pyinstaller.org/ PyInstaller].&lt;br /&gt;
# Copy Bitmessage's 'src' directory to the PyInstaller directory (which contains pyinstaller.py). &lt;br /&gt;
# Run 'pyinstaller.py --onefile --noconsole --icon=&amp;quot;src\images\can-icon.ico&amp;quot; src\bitmessagemain.py'&lt;br /&gt;
This won't include the OpenSSL DLL file in the EXE; if you send it to someone who doesn't have OpenSSL installed, it will not run. To include the DLL file in the EXE, you must follow these steps:&lt;br /&gt;
# After following the steps above, you will see that pyinstaller created a folder called bitmessagemain. In that folder is a file: bitmessagemain.spec. Open it with a text editor.&lt;br /&gt;
# Below the line &amp;quot;a.datas,&amp;quot; add this line: &amp;lt;code&amp;gt;a.binaries + [('libeay32.dll', 'c:\\windows\\system32\\libeay32.dll', 'BINARY')],&amp;lt;/code&amp;gt;&lt;br /&gt;
# Save and close&lt;br /&gt;
# Run this command: pyinstaller.py bitmessagemain/bitmessagemain.spec&lt;br /&gt;
&lt;br /&gt;
If you do not have the libeay32.dll you can download it here. http://www.dll-files.com/dllindex/dll-files.shtml?libeay32&lt;/div&gt;</summary>
		<author><name>Mtkfm</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.bitmessage.org/index.php?title=Compiling_instructions&amp;diff=19765</id>
		<title>Compiling instructions</title>
		<link rel="alternate" type="text/html" href="https://wiki.bitmessage.org/index.php?title=Compiling_instructions&amp;diff=19765"/>
		<updated>2013-08-23T15:57:23Z</updated>

		<summary type="html">&lt;p&gt;Mtkfm: Table was too big&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page should help novice users run Bitmessage from the source code files.&lt;br /&gt;
&lt;br /&gt;
= Linux =&lt;br /&gt;
&lt;br /&gt;
== Resolve dependencies ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;80%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Distribuion&lt;br /&gt;
! Instructions&lt;br /&gt;
|-&lt;br /&gt;
| Debian-based (Debian, Ubuntu, Whonix, Raspbian, PiBang)&lt;br /&gt;
| &amp;lt;small&amp;gt;''Note for Debian Squeeze (6.0) users: Debian Squeeze does not offer packages (like Python, OpenSSL) in versions that are needed for Bitmessage. You can still try to [https://github.com/Bitmessage/PyBitmessage/issues/47#issuecomment-17774377 work around these problems]. Debian 7 &amp;quot;wheezy&amp;quot; works without problems.''&amp;lt;/small&amp;gt;&lt;br /&gt;
  sudo apt-get install python openssl git python-qt4&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux&lt;br /&gt;
| &lt;br /&gt;
  sudo pacman -S python2 openssl git python2-pyqt4&lt;br /&gt;
|-&lt;br /&gt;
| Fedora&lt;br /&gt;
| &amp;lt;small&amp;gt;''Fedora and RHEL6 do not support EC in OpenSSL. Therefore we need [http://linux.ringingliberty.com/bitcoin/ Ringing Liberty's bitcoin repository] to get a compatible library.''&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
  su -c 'yum install python git openssl-compat-bitcoin-libs &amp;lt;br /&amp;gt; http://linux.ringingliberty.com/bitcoin/f18/x86_64/bitcoin-release-1-4.noarch.rpm'&lt;br /&gt;
Tell your system where to look for the library:&lt;br /&gt;
  echo 'LD_LIBRARY_PATH=&amp;quot;/opt/openssl-compat-bitcoin/lib/&amp;quot;' &amp;gt;&amp;gt; ~/.bash_profile &amp;amp;&amp;amp; source ~/.bash_profile&lt;br /&gt;
|-&lt;br /&gt;
| Red Hat Enterprise Linux (RHEL)&lt;br /&gt;
| &amp;lt;small&amp;gt;''Fedora and RHEL6 do not support EC in OpenSSL. Therefore we need [http://linux.ringingliberty.com/bitcoin/ Ringing Liberty's bitcoin repository] to get a compatible library.''&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
  su -c 'yum install python git openssl-compat-bitcoin-libs &amp;lt;br /&amp;gt; http://linux.ringingliberty.com/bitcoin/el6/x86_64/bitcoin-release-1-4.noarch.rpm'&lt;br /&gt;
Tell your system where to look for the library:&lt;br /&gt;
  echo 'LD_LIBRARY_PATH=&amp;quot;/opt/openssl-compat-bitcoin/lib/&amp;quot;' &amp;gt;&amp;gt; ~/.bash_profile &amp;amp;&amp;amp; source ~/.bash_profile&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Download and run PyBitmessage ==&lt;br /&gt;
Download the source code from github:&lt;br /&gt;
&amp;lt;code&amp;gt;git clone &amp;lt;nowiki&amp;gt;https://github.com/Bitmessage/PyBitmessage $HOME/PyBitmessage&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Run PyBitmessage:&lt;br /&gt;
&amp;lt;code&amp;gt;~/PyBitmessage/src/bitmessagemain.py&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Check the wiki for [https://bitmessage.org/wiki/Daemon more information] on how to run Bitmessage as a daemon.&lt;br /&gt;
&lt;br /&gt;
== Upgrading ==&lt;br /&gt;
To upgrade Bitmessage run the following commands:&lt;br /&gt;
:&amp;lt;code&amp;gt;cd $HOME/PyBitmessage&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;code&amp;gt;git pull&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= OS X =&lt;br /&gt;
== With Homebrew package manager ==&lt;br /&gt;
; Setup&lt;br /&gt;
First, make sure you have not already installed Macports. Having both macports and homebrew on the same system is a recipe for disaster. &lt;br /&gt;
Install Homebrew: &lt;br /&gt;
 ruby -e &amp;quot;$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Update Python:&lt;br /&gt;
 brew install python&lt;br /&gt;
&lt;br /&gt;
; Install dependencies:&lt;br /&gt;
 brew install pyqt openssl&lt;br /&gt;
&lt;br /&gt;
; Download and run&lt;br /&gt;
 cd ~/Desktop&lt;br /&gt;
 git clone git://github.com/Bitmessage/PyBitmessage.git&lt;br /&gt;
 cd PyBitmessage&lt;br /&gt;
 python src/bitmessagemain.py&lt;br /&gt;
&lt;br /&gt;
== With macports package manager ==&lt;br /&gt;
First, make sure you have not already installed Homebrew. Having both macports and homebrew on the same system is a recipe for disaster. &lt;br /&gt;
Installing with macports or homebrew essentially has the same effect. Homebrew does some things better than ports, and ports does some things better than brew. If old-school floats your boat, these instructions are for you. &lt;br /&gt;
&lt;br /&gt;
; Select the macports installation that is right for your version of osx&lt;br /&gt;
https://www.macports.org/install.php&lt;br /&gt;
&lt;br /&gt;
; Install dependencies and needed tools&lt;br /&gt;
 sudo port install python27 py27-pyqt4 openssl&lt;br /&gt;
 sudo port install git-core +svn +doc +bash_completion +gitweb&lt;br /&gt;
&lt;br /&gt;
; Download and run&lt;br /&gt;
 cd ~/Desktop&lt;br /&gt;
 git clone git://github.com/Bitmessage/PyBitmessage.git&lt;br /&gt;
 cd PyBitmessage&lt;br /&gt;
 python2.7 src/bitmessagemain.py&lt;br /&gt;
&lt;br /&gt;
= Windows =&lt;br /&gt;
# Download and install the latest revision of Python 2.7 (currently Python 2.7.3 from [http://www.python.org/download/releases/2.7.3/ here]). The ''Windows x86 MSI Installer'' is the right choice for most people. (64-bit users may want the 64-bit version).&lt;br /&gt;
# Test that it installed:&lt;br /&gt;
## Open a command prompt by going to Start &amp;gt; Run. Type 'cmd' then press enter.&lt;br /&gt;
## type 'python'. If python is installed, you should see the python version and the prompt: '&amp;gt;&amp;gt;&amp;gt;'&lt;br /&gt;
## If you see a message such as: &amp;quot;'Python is not recognized as an internal or external command...&amp;quot; then you must add the python path to your path environmental variable:&lt;br /&gt;
### Find the location where Python was installed (in particular, the location where python.exe exists). It might simply be in c:\Python2.7 &lt;br /&gt;
### Follow [http://www.computerhope.com/issues/ch000549.htm these directions] to add the Python path to your path variable.&lt;br /&gt;
### Close the command prompt window and reopen it. &lt;br /&gt;
### Try running 'python' again.&lt;br /&gt;
##Press Ctrl-Z to exit Python.&lt;br /&gt;
# Bitmessage has two dependencies. The first is PyQt. Download and install PyQt from [http://www.riverbankcomputing.com/software/pyqt/download here]. You will want the Binary Package since it is already compiled for you. Be sure to select the version for Python 2.7. It is labeled as Py2.7. &lt;br /&gt;
# The second dependency is OpenSSL which you can download from [http://slproweb.com/products/Win32OpenSSL.html here]. There you will also notice the link to download the Visual C++ 2008 program in case you also find that you need that as well. (The OpenSSL installer will complain if you need to install the Visual C++ Redistributable.)&lt;br /&gt;
# Download the source code for PyBitmessage from GitHub. If it is in a zip file, you will need to extract it. There should be a few files and a few folders where one of the folders is 'src'. &lt;br /&gt;
# To run Bitmessage, navigate into the 'src' folder and then double click on the bitmessagemain.py file, or in a command prompt, change directories to the 'src' directory which holds bitmessagemain.py and type 'python bitmessagemain.py'. &lt;br /&gt;
&lt;br /&gt;
== If you change user interface files ==&lt;br /&gt;
You can use Qt's Designer application to modify the user interface. After you do this, you will need to 'compile' .ui files into .py files. &lt;br /&gt;
# In a command prompt, change directories to the directory of your .ui file.&lt;br /&gt;
# Run 'pyuic4 example.ui &amp;gt; example.py'  If you get a message similar to 'pyuic4 is not recognized as an internal or external command' then you must add the PyQt directory to your system's path variable. This directory should hold pyuic4.bat. It might be in C:\Python27\Lib\site-packages\PyQt4. Remember to close the command window and reopen it after you change your path variable.&lt;br /&gt;
&lt;br /&gt;
If you add icons to bitmessage_icons.qrc, then you must run this command:&lt;br /&gt;
pyrcc4 bitmessage_icons.qrc -o bitmessage_icons_rc.py&lt;br /&gt;
&lt;br /&gt;
== Optional: Compile into a stand-alone EXE ==&lt;br /&gt;
# Download [http://www.pyinstaller.org/ PyInstaller].&lt;br /&gt;
# Copy Bitmessage's 'src' directory to the PyInstaller directory (which contains pyinstaller.py). &lt;br /&gt;
# Run 'pyinstaller.py --onefile --noconsole --icon=&amp;quot;src\images\can-icon.ico&amp;quot; src\bitmessagemain.py'&lt;br /&gt;
This won't include the OpenSSL DLL file in the EXE; if you send it to someone who doesn't have OpenSSL installed, it will not run. To include the DLL file in the EXE, you must follow these steps:&lt;br /&gt;
# After following the steps above, you will see that pyinstaller created a folder called bitmessagemain. In that folder is a file: bitmessagemain.spec. Open it with a text editor.&lt;br /&gt;
# Below the line &amp;quot;a.datas,&amp;quot; add this line: &amp;lt;code&amp;gt;a.binaries + [('libeay32.dll', 'c:\\windows\\system32\\libeay32.dll', 'BINARY')],&amp;lt;/code&amp;gt;&lt;br /&gt;
# Save and close&lt;br /&gt;
# Run this command: pyinstaller.py bitmessagemain/bitmessagemain.spec&lt;br /&gt;
&lt;br /&gt;
If you do not have the libeay32.dll you can download it here. http://www.dll-files.com/dllindex/dll-files.shtml?libeay32&lt;/div&gt;</summary>
		<author><name>Mtkfm</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.bitmessage.org/index.php?title=Compiling_instructions&amp;diff=19745</id>
		<title>Compiling instructions</title>
		<link rel="alternate" type="text/html" href="https://wiki.bitmessage.org/index.php?title=Compiling_instructions&amp;diff=19745"/>
		<updated>2013-08-22T18:18:20Z</updated>

		<summary type="html">&lt;p&gt;Mtkfm: Table for better readability&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page should help novice users run Bitmessage from the source code files.&lt;br /&gt;
&lt;br /&gt;
= Linux =&lt;br /&gt;
&lt;br /&gt;
== Resolve dependencies ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Distribuion&lt;br /&gt;
! Instructions&lt;br /&gt;
|-&lt;br /&gt;
| Debian-based (Debian, Ubuntu, Whonix, Raspbian, PiBang)&lt;br /&gt;
| &amp;lt;small&amp;gt;''Note for Debian Squeeze (6.0) users: Debian Squeeze does not offer packages (like Python, OpenSSL) in versions that are needed for Bitmessage. You can still try to [https://github.com/Bitmessage/PyBitmessage/issues/47#issuecomment-17774377 work around these problems]. Debian 7 &amp;quot;wheezy&amp;quot; works without problems.''&amp;lt;/small&amp;gt;&lt;br /&gt;
  sudo apt-get install python openssl git python-qt4&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux&lt;br /&gt;
| &lt;br /&gt;
  sudo pacman -S python2 openssl git python2-pyqt4&lt;br /&gt;
|-&lt;br /&gt;
| Fedora&lt;br /&gt;
| &amp;lt;small&amp;gt;''Fedora and RHEL6 do not support EC in OpenSSL. Therefore we need [http://linux.ringingliberty.com/bitcoin/ Ringing Liberty's bitcoin repository] to get a compatible library.''&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
  su -c 'yum install python git openssl-compat-bitcoin-libs http://linux.ringingliberty.com/bitcoin/f18/x86_64/bitcoin-release-1-4.noarch.rpm'&lt;br /&gt;
  echo 'LD_LIBRARY_PATH=&amp;quot;/opt/openssl-compat-bitcoin/lib/&amp;quot;' &amp;gt;&amp;gt; ~/.bash_profile &amp;amp;&amp;amp; source ~/.bash_profile&lt;br /&gt;
|-&lt;br /&gt;
| Red Hat Enterprise Linux (RHEL)&lt;br /&gt;
| &amp;lt;small&amp;gt;''Fedora and RHEL6 do not support EC in OpenSSL. Therefore we need [http://linux.ringingliberty.com/bitcoin/ Ringing Liberty's bitcoin repository] to get a compatible library.''&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
  su -c 'yum install python git openssl-compat-bitcoin-libs http://linux.ringingliberty.com/bitcoin/el6/x86_64/bitcoin-release-1-4.noarch.rpm'&lt;br /&gt;
  echo 'LD_LIBRARY_PATH=&amp;quot;/opt/openssl-compat-bitcoin/lib/&amp;quot;' &amp;gt;&amp;gt; ~/.bash_profile &amp;amp;&amp;amp; source ~/.bash_profile&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Download and run PyBitmessage ==&lt;br /&gt;
Download the source code from github:&lt;br /&gt;
&amp;lt;code&amp;gt;git clone &amp;lt;nowiki&amp;gt;https://github.com/Bitmessage/PyBitmessage $HOME/PyBitmessage&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Run PyBitmessage:&lt;br /&gt;
&amp;lt;code&amp;gt;~/PyBitmessage/src/bitmessagemain.py&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Check the wiki for [https://bitmessage.org/wiki/Daemon more information] on how to run Bitmessage as a daemon.&lt;br /&gt;
&lt;br /&gt;
== Upgrading ==&lt;br /&gt;
To upgrade Bitmessage run the following commands:&lt;br /&gt;
:&amp;lt;code&amp;gt;cd $HOME/PyBitmessage&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;code&amp;gt;git pull&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= OS X =&lt;br /&gt;
== With Homebrew package manager ==&lt;br /&gt;
; Setup&lt;br /&gt;
First, make sure you have not already installed Macports. Having both macports and homebrew on the same system is a recipe for disaster. &lt;br /&gt;
Install Homebrew: &lt;br /&gt;
 ruby -e &amp;quot;$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Update Python:&lt;br /&gt;
 brew install python&lt;br /&gt;
&lt;br /&gt;
; Install dependencies:&lt;br /&gt;
 brew install pyqt openssl&lt;br /&gt;
&lt;br /&gt;
; Download and run&lt;br /&gt;
 cd ~/Desktop&lt;br /&gt;
 git clone git://github.com/Bitmessage/PyBitmessage.git&lt;br /&gt;
 cd PyBitmessage&lt;br /&gt;
 python src/bitmessagemain.py&lt;br /&gt;
&lt;br /&gt;
== With macports package manager ==&lt;br /&gt;
First, make sure you have not already installed Homebrew. Having both macports and homebrew on the same system is a recipe for disaster. &lt;br /&gt;
Installing with macports or homebrew essentially has the same effect. Homebrew does some things better than ports, and ports does some things better than brew. If old-school floats your boat, these instructions are for you. &lt;br /&gt;
&lt;br /&gt;
; Select the macports installation that is right for your version of osx&lt;br /&gt;
https://www.macports.org/install.php&lt;br /&gt;
&lt;br /&gt;
; Install dependencies and needed tools&lt;br /&gt;
 sudo port install python27 py27-pyqt4 openssl&lt;br /&gt;
 sudo port install git-core +svn +doc +bash_completion +gitweb&lt;br /&gt;
&lt;br /&gt;
; Download and run&lt;br /&gt;
 cd ~/Desktop&lt;br /&gt;
 git clone git://github.com/Bitmessage/PyBitmessage.git&lt;br /&gt;
 cd PyBitmessage&lt;br /&gt;
 python2.7 src/bitmessagemain.py&lt;br /&gt;
&lt;br /&gt;
= Windows =&lt;br /&gt;
# Download and install the latest revision of Python 2.7 (currently Python 2.7.3 from [http://www.python.org/download/releases/2.7.3/ here]). The ''Windows x86 MSI Installer'' is the right choice for most people. (64-bit users may want the 64-bit version).&lt;br /&gt;
# Test that it installed:&lt;br /&gt;
## Open a command prompt by going to Start &amp;gt; Run. Type 'cmd' then press enter.&lt;br /&gt;
## type 'python'. If python is installed, you should see the python version and the prompt: '&amp;gt;&amp;gt;&amp;gt;'&lt;br /&gt;
## If you see a message such as: &amp;quot;'Python is not recognized as an internal or external command...&amp;quot; then you must add the python path to your path environmental variable:&lt;br /&gt;
### Find the location where Python was installed (in particular, the location where python.exe exists). It might simply be in c:\Python2.7 &lt;br /&gt;
### Follow [http://www.computerhope.com/issues/ch000549.htm these directions] to add the Python path to your path variable.&lt;br /&gt;
### Close the command prompt window and reopen it. &lt;br /&gt;
### Try running 'python' again.&lt;br /&gt;
##Press Ctrl-Z to exit Python.&lt;br /&gt;
# Bitmessage has two dependencies. The first is PyQt. Download and install PyQt from [http://www.riverbankcomputing.com/software/pyqt/download here]. You will want the Binary Package since it is already compiled for you. Be sure to select the version for Python 2.7. It is labeled as Py2.7. &lt;br /&gt;
# The second dependency is OpenSSL which you can download from [http://slproweb.com/products/Win32OpenSSL.html here]. There you will also notice the link to download the Visual C++ 2008 program in case you also find that you need that as well. (The OpenSSL installer will complain if you need to install the Visual C++ Redistributable.)&lt;br /&gt;
# Download the source code for PyBitmessage from GitHub. If it is in a zip file, you will need to extract it. There should be a few files and a few folders where one of the folders is 'src'. &lt;br /&gt;
# To run Bitmessage, navigate into the 'src' folder and then double click on the bitmessagemain.py file, or in a command prompt, change directories to the 'src' directory which holds bitmessagemain.py and type 'python bitmessagemain.py'. &lt;br /&gt;
&lt;br /&gt;
== If you change user interface files ==&lt;br /&gt;
You can use Qt's Designer application to modify the user interface. After you do this, you will need to 'compile' .ui files into .py files. &lt;br /&gt;
# In a command prompt, change directories to the directory of your .ui file.&lt;br /&gt;
# Run 'pyuic4 example.ui &amp;gt; example.py'  If you get a message similar to 'pyuic4 is not recognized as an internal or external command' then you must add the PyQt directory to your system's path variable. This directory should hold pyuic4.bat. It might be in C:\Python27\Lib\site-packages\PyQt4. Remember to close the command window and reopen it after you change your path variable.&lt;br /&gt;
&lt;br /&gt;
If you add icons to bitmessage_icons.qrc, then you must run this command:&lt;br /&gt;
pyrcc4 bitmessage_icons.qrc -o bitmessage_icons_rc.py&lt;br /&gt;
&lt;br /&gt;
== Optional: Compile into a stand-alone EXE ==&lt;br /&gt;
# Download [http://www.pyinstaller.org/ PyInstaller].&lt;br /&gt;
# Copy Bitmessage's 'src' directory to the PyInstaller directory (which contains pyinstaller.py). &lt;br /&gt;
# Run 'pyinstaller.py --onefile --noconsole --icon=&amp;quot;src\images\can-icon.ico&amp;quot; src\bitmessagemain.py'&lt;br /&gt;
This won't include the OpenSSL DLL file in the EXE; if you send it to someone who doesn't have OpenSSL installed, it will not run. To include the DLL file in the EXE, you must follow these steps:&lt;br /&gt;
# After following the steps above, you will see that pyinstaller created a folder called bitmessagemain. In that folder is a file: bitmessagemain.spec. Open it with a text editor.&lt;br /&gt;
# Below the line &amp;quot;a.datas,&amp;quot; add this line: &amp;lt;code&amp;gt;a.binaries + [('libeay32.dll', 'c:\\windows\\system32\\libeay32.dll', 'BINARY')],&amp;lt;/code&amp;gt;&lt;br /&gt;
# Save and close&lt;br /&gt;
# Run this command: pyinstaller.py bitmessagemain/bitmessagemain.spec&lt;br /&gt;
&lt;br /&gt;
If you do not have the libeay32.dll you can download it here. http://www.dll-files.com/dllindex/dll-files.shtml?libeay32&lt;/div&gt;</summary>
		<author><name>Mtkfm</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.bitmessage.org/index.php?title=Compiling_instructions&amp;diff=19742</id>
		<title>Compiling instructions</title>
		<link rel="alternate" type="text/html" href="https://wiki.bitmessage.org/index.php?title=Compiling_instructions&amp;diff=19742"/>
		<updated>2013-08-22T17:39:28Z</updated>

		<summary type="html">&lt;p&gt;Mtkfm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page should help novice users run Bitmessage from the source code files.&lt;br /&gt;
&lt;br /&gt;
= Linux =&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;''Note for Debian Squeeze (6.0) users: Debian Squeeze does not offer packages (like Python, OpenSSL) in versions that are needed for Bitmessage. You can still try to [https://github.com/Bitmessage/PyBitmessage/issues/47#issuecomment-17774377 work around these problems].''&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resolve dependencies ==&lt;br /&gt;
* Debian-based distributions (Debian, Ubuntu, Whonix, Raspbian, PiBang):&lt;br /&gt;
:: &amp;lt;code&amp;gt;sudo apt-get install python openssl git python-qt4&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Arch Linux:&lt;br /&gt;
:: &amp;lt;code&amp;gt;sudo pacman -S python2 openssl git python2-pyqt4&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Fedora:&lt;br /&gt;
::&amp;lt;small&amp;gt;''Fedora and RHEL6 do not support EC in OpenSSL. Therefore we need [http://linux.ringingliberty.com/bitcoin/ Ringing Liberty's bitcoin repository] to get a compatible library.''&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
:: &amp;lt;code&amp;gt;su -c 'yum install python git openssl-compat-bitcoin-libs http://linux.ringingliberty.com/bitcoin/f18/x86_64/bitcoin-release-1-4.noarch.rpm'&lt;br /&gt;
:: echo 'LD_LIBRARY_PATH=&amp;quot;/opt/openssl-compat-bitcoin/lib/&amp;quot;' &amp;gt;&amp;gt; ~/.bash_profile &amp;amp;&amp;amp; source ~/.bash_profile&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Red Hat Enterprise Linux (RHEL):&lt;br /&gt;
::&amp;lt;small&amp;gt;''Fedora and RHEL6 do not support EC in OpenSSL. Therefore we need [http://linux.ringingliberty.com/bitcoin/ Ringing Liberty's bitcoin repository] to get a compatible library.''&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
:: &amp;lt;code&amp;gt;su -c 'yum install python git openssl-compat-bitcoin-libs http://linux.ringingliberty.com/bitcoin/el6/x86_64/bitcoin-release-1-4.noarch.rpm'&lt;br /&gt;
:: echo 'LD_LIBRARY_PATH=&amp;quot;/opt/openssl-compat-bitcoin/lib/&amp;quot;' &amp;gt;&amp;gt; ~/.bash_profile &amp;amp;&amp;amp; source ~/.bash_profile&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download PyBitmessage ==&lt;br /&gt;
&amp;lt;code&amp;gt;git clone &amp;lt;nowiki&amp;gt;https://github.com/Bitmessage/PyBitmessage $HOME/PyBitmessage&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Run PyBitmessage ==&lt;br /&gt;
&amp;lt;code&amp;gt;~/PyBitmessage/src/bitmessagemain.py&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Upgrading ==&lt;br /&gt;
To upgrade Bitmessage run the following commands:&lt;br /&gt;
:&amp;lt;code&amp;gt;cd $HOME/PyBitmessage&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;code&amp;gt;git pull&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Daemon mode ==&lt;br /&gt;
Check the wiki for [https://bitmessage.org/wiki/Daemon more information] on how to run Bitmessage as a daemon.&lt;br /&gt;
&lt;br /&gt;
= OS X =&lt;br /&gt;
== With Homebrew package manager ==&lt;br /&gt;
; Setup&lt;br /&gt;
First, make sure you have not already installed Macports. Having both macports and homebrew on the same system is a recipe for disaster. &lt;br /&gt;
Install Homebrew: &lt;br /&gt;
 ruby -e &amp;quot;$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Update Python:&lt;br /&gt;
 brew install python&lt;br /&gt;
&lt;br /&gt;
; Install dependencies:&lt;br /&gt;
 brew install pyqt openssl&lt;br /&gt;
&lt;br /&gt;
; Download and run&lt;br /&gt;
 cd ~/Desktop&lt;br /&gt;
 git clone git://github.com/Bitmessage/PyBitmessage.git&lt;br /&gt;
 cd PyBitmessage&lt;br /&gt;
 python src/bitmessagemain.py&lt;br /&gt;
&lt;br /&gt;
== With macports package manager ==&lt;br /&gt;
First, make sure you have not already installed Homebrew. Having both macports and homebrew on the same system is a recipe for disaster. &lt;br /&gt;
Installing with macports or homebrew essentially has the same effect. Homebrew does some things better than ports, and ports does some things better than brew. If old-school floats your boat, these instructions are for you. &lt;br /&gt;
&lt;br /&gt;
; Select the macports installation that is right for your version of osx&lt;br /&gt;
https://www.macports.org/install.php&lt;br /&gt;
&lt;br /&gt;
; Install dependencies and needed tools&lt;br /&gt;
 sudo port install python27 py27-pyqt4 openssl&lt;br /&gt;
 sudo port install git-core +svn +doc +bash_completion +gitweb&lt;br /&gt;
&lt;br /&gt;
; Download and run&lt;br /&gt;
 cd ~/Desktop&lt;br /&gt;
 git clone git://github.com/Bitmessage/PyBitmessage.git&lt;br /&gt;
 cd PyBitmessage&lt;br /&gt;
 python2.7 src/bitmessagemain.py&lt;br /&gt;
&lt;br /&gt;
= Windows =&lt;br /&gt;
# Download and install the latest revision of Python 2.7 (currently Python 2.7.3 from [http://www.python.org/download/releases/2.7.3/ here]). The ''Windows x86 MSI Installer'' is the right choice for most people. (64-bit users may want the 64-bit version).&lt;br /&gt;
# Test that it installed:&lt;br /&gt;
## Open a command prompt by going to Start &amp;gt; Run. Type 'cmd' then press enter.&lt;br /&gt;
## type 'python'. If python is installed, you should see the python version and the prompt: '&amp;gt;&amp;gt;&amp;gt;'&lt;br /&gt;
## If you see a message such as: &amp;quot;'Python is not recognized as an internal or external command...&amp;quot; then you must add the python path to your path environmental variable:&lt;br /&gt;
### Find the location where Python was installed (in particular, the location where python.exe exists). It might simply be in c:\Python2.7 &lt;br /&gt;
### Follow [http://www.computerhope.com/issues/ch000549.htm these directions] to add the Python path to your path variable.&lt;br /&gt;
### Close the command prompt window and reopen it. &lt;br /&gt;
### Try running 'python' again.&lt;br /&gt;
##Press Ctrl-Z to exit Python.&lt;br /&gt;
# Bitmessage has two dependencies. The first is PyQt. Download and install PyQt from [http://www.riverbankcomputing.com/software/pyqt/download here]. You will want the Binary Package since it is already compiled for you. Be sure to select the version for Python 2.7. It is labeled as Py2.7. &lt;br /&gt;
# The second dependency is OpenSSL which you can download from [http://slproweb.com/products/Win32OpenSSL.html here]. There you will also notice the link to download the Visual C++ 2008 program in case you also find that you need that as well. (The OpenSSL installer will complain if you need to install the Visual C++ Redistributable.)&lt;br /&gt;
# Download the source code for PyBitmessage from GitHub. If it is in a zip file, you will need to extract it. There should be a few files and a few folders where one of the folders is 'src'. &lt;br /&gt;
# To run Bitmessage, navigate into the 'src' folder and then double click on the bitmessagemain.py file, or in a command prompt, change directories to the 'src' directory which holds bitmessagemain.py and type 'python bitmessagemain.py'. &lt;br /&gt;
&lt;br /&gt;
== If you change user interface files ==&lt;br /&gt;
You can use Qt's Designer application to modify the user interface. After you do this, you will need to 'compile' .ui files into .py files. &lt;br /&gt;
# In a command prompt, change directories to the directory of your .ui file.&lt;br /&gt;
# Run 'pyuic4 example.ui &amp;gt; example.py'  If you get a message similar to 'pyuic4 is not recognized as an internal or external command' then you must add the PyQt directory to your system's path variable. This directory should hold pyuic4.bat. It might be in C:\Python27\Lib\site-packages\PyQt4. Remember to close the command window and reopen it after you change your path variable.&lt;br /&gt;
&lt;br /&gt;
If you add icons to bitmessage_icons.qrc, then you must run this command:&lt;br /&gt;
pyrcc4 bitmessage_icons.qrc -o bitmessage_icons_rc.py&lt;br /&gt;
&lt;br /&gt;
== Optional: Compile into a stand-alone EXE ==&lt;br /&gt;
# Download [http://www.pyinstaller.org/ PyInstaller].&lt;br /&gt;
# Copy Bitmessage's 'src' directory to the PyInstaller directory (which contains pyinstaller.py). &lt;br /&gt;
# Run 'pyinstaller.py --onefile --noconsole --icon=&amp;quot;src\images\can-icon.ico&amp;quot; src\bitmessagemain.py'&lt;br /&gt;
This won't include the OpenSSL DLL file in the EXE; if you send it to someone who doesn't have OpenSSL installed, it will not run. To include the DLL file in the EXE, you must follow these steps:&lt;br /&gt;
# After following the steps above, you will see that pyinstaller created a folder called bitmessagemain. In that folder is a file: bitmessagemain.spec. Open it with a text editor.&lt;br /&gt;
# Below the line &amp;quot;a.datas,&amp;quot; add this line: &amp;lt;code&amp;gt;a.binaries + [('libeay32.dll', 'c:\\windows\\system32\\libeay32.dll', 'BINARY')],&amp;lt;/code&amp;gt;&lt;br /&gt;
# Save and close&lt;br /&gt;
# Run this command: pyinstaller.py bitmessagemain/bitmessagemain.spec&lt;br /&gt;
&lt;br /&gt;
If you do not have the libeay32.dll you can download it here. http://www.dll-files.com/dllindex/dll-files.shtml?libeay32&lt;/div&gt;</summary>
		<author><name>Mtkfm</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.bitmessage.org/index.php?title=Compiling_instructions&amp;diff=19741</id>
		<title>Compiling instructions</title>
		<link rel="alternate" type="text/html" href="https://wiki.bitmessage.org/index.php?title=Compiling_instructions&amp;diff=19741"/>
		<updated>2013-08-22T17:38:28Z</updated>

		<summary type="html">&lt;p&gt;Mtkfm: Better instructions for Linux. Incorported Fedora + RHEL instructions&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page should help novice users run Bitmessage from the source code files.&lt;br /&gt;
&lt;br /&gt;
= Linux =&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;''Note for Debian Squeeze (6.0) users: Debian Squeeze does not offer packages (like Python, OpenSSL) in versions that are needed for Bitmessage. You can still try to [https://github.com/Bitmessage/PyBitmessage/issues/47#issuecomment-17774377 work around these problems].''&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resolve dependencies ==&lt;br /&gt;
* Debian-based distributions (Debian, Ubuntu, Whonix, Raspbian, PiBang):&lt;br /&gt;
:: &amp;lt;code&amp;gt;sudo apt-get install python openssl git python-qt4&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Arch Linux:&lt;br /&gt;
:: &amp;lt;code&amp;gt;sudo pacman -S python2 openssl git python2-pyqt4&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Fedora:&lt;br /&gt;
::&amp;lt;small&amp;gt;''Fedora and RHEL6 do not support EC in OpenSSL. Therefore we need [http://linux.ringingliberty.com/bitcoin/ Ringing Liberty's bitcoin repository] to get a compatible library.''&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
:: &amp;lt;code&amp;gt;su -c 'yum install python git openssl-compat-bitcoin-libs http://linux.ringingliberty.com/bitcoin/f18/x86_64/bitcoin-release-1-4.noarch.rpm'&lt;br /&gt;
:: echo 'LD_LIBRARY_PATH=&amp;quot;/opt/openssl-compat-bitcoin/lib/&amp;quot;' &amp;gt;&amp;gt; ~/.bash_profile &amp;amp;&amp;amp; source ~/.bash_profile&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Red Hat Enterprise Linux (RHEL):&lt;br /&gt;
::&amp;lt;small&amp;gt;''Fedora and RHEL6 do not support EC in OpenSSL. Therefore we need [http://linux.ringingliberty.com/bitcoin/ Ringing Liberty's bitcoin repository] to get a compatible library.''&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
:: &amp;lt;code&amp;gt;su -c 'yum install python git openssl-compat-bitcoin-libs http://linux.ringingliberty.com/bitcoin/el6/x86_64/bitcoin-release-1-4.noarch.rpm'&lt;br /&gt;
:: echo 'LD_LIBRARY_PATH=&amp;quot;/opt/openssl-compat-bitcoin/lib/&amp;quot;' &amp;gt;&amp;gt; ~/.bash_profile &amp;amp;&amp;amp; source ~/.bash_profile&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download PyBitmessage ==&lt;br /&gt;
&amp;lt;code&amp;gt;git clone &amp;lt;nowiki&amp;gt;https://github.com/Bitmessage/PyBitmessage $HOME/PyBitmessage&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Run PyBitmessage ==&lt;br /&gt;
&amp;lt;code&amp;gt;~/PyBitmessage/src/bitmessagemain.py&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Upgrading ==&lt;br /&gt;
To upgrade Bitmessage run the following commands:&lt;br /&gt;
&amp;lt;code&amp;gt;cd $HOME/PyBitmessage&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;git pull&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Daemon mode ===&lt;br /&gt;
: Check the wiki for [https://bitmessage.org/wiki/Daemon more information] on how to run Bitmessage as a daemon.&lt;br /&gt;
&lt;br /&gt;
= OS X =&lt;br /&gt;
== With Homebrew package manager ==&lt;br /&gt;
; Setup&lt;br /&gt;
First, make sure you have not already installed Macports. Having both macports and homebrew on the same system is a recipe for disaster. &lt;br /&gt;
Install Homebrew: &lt;br /&gt;
 ruby -e &amp;quot;$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Update Python:&lt;br /&gt;
 brew install python&lt;br /&gt;
&lt;br /&gt;
; Install dependencies:&lt;br /&gt;
 brew install pyqt openssl&lt;br /&gt;
&lt;br /&gt;
; Download and run&lt;br /&gt;
 cd ~/Desktop&lt;br /&gt;
 git clone git://github.com/Bitmessage/PyBitmessage.git&lt;br /&gt;
 cd PyBitmessage&lt;br /&gt;
 python src/bitmessagemain.py&lt;br /&gt;
&lt;br /&gt;
== With macports package manager ==&lt;br /&gt;
First, make sure you have not already installed Homebrew. Having both macports and homebrew on the same system is a recipe for disaster. &lt;br /&gt;
Installing with macports or homebrew essentially has the same effect. Homebrew does some things better than ports, and ports does some things better than brew. If old-school floats your boat, these instructions are for you. &lt;br /&gt;
&lt;br /&gt;
; Select the macports installation that is right for your version of osx&lt;br /&gt;
https://www.macports.org/install.php&lt;br /&gt;
&lt;br /&gt;
; Install dependencies and needed tools&lt;br /&gt;
 sudo port install python27 py27-pyqt4 openssl&lt;br /&gt;
 sudo port install git-core +svn +doc +bash_completion +gitweb&lt;br /&gt;
&lt;br /&gt;
; Download and run&lt;br /&gt;
 cd ~/Desktop&lt;br /&gt;
 git clone git://github.com/Bitmessage/PyBitmessage.git&lt;br /&gt;
 cd PyBitmessage&lt;br /&gt;
 python2.7 src/bitmessagemain.py&lt;br /&gt;
&lt;br /&gt;
= Windows =&lt;br /&gt;
# Download and install the latest revision of Python 2.7 (currently Python 2.7.3 from [http://www.python.org/download/releases/2.7.3/ here]). The ''Windows x86 MSI Installer'' is the right choice for most people. (64-bit users may want the 64-bit version).&lt;br /&gt;
# Test that it installed:&lt;br /&gt;
## Open a command prompt by going to Start &amp;gt; Run. Type 'cmd' then press enter.&lt;br /&gt;
## type 'python'. If python is installed, you should see the python version and the prompt: '&amp;gt;&amp;gt;&amp;gt;'&lt;br /&gt;
## If you see a message such as: &amp;quot;'Python is not recognized as an internal or external command...&amp;quot; then you must add the python path to your path environmental variable:&lt;br /&gt;
### Find the location where Python was installed (in particular, the location where python.exe exists). It might simply be in c:\Python2.7 &lt;br /&gt;
### Follow [http://www.computerhope.com/issues/ch000549.htm these directions] to add the Python path to your path variable.&lt;br /&gt;
### Close the command prompt window and reopen it. &lt;br /&gt;
### Try running 'python' again.&lt;br /&gt;
##Press Ctrl-Z to exit Python.&lt;br /&gt;
# Bitmessage has two dependencies. The first is PyQt. Download and install PyQt from [http://www.riverbankcomputing.com/software/pyqt/download here]. You will want the Binary Package since it is already compiled for you. Be sure to select the version for Python 2.7. It is labeled as Py2.7. &lt;br /&gt;
# The second dependency is OpenSSL which you can download from [http://slproweb.com/products/Win32OpenSSL.html here]. There you will also notice the link to download the Visual C++ 2008 program in case you also find that you need that as well. (The OpenSSL installer will complain if you need to install the Visual C++ Redistributable.)&lt;br /&gt;
# Download the source code for PyBitmessage from GitHub. If it is in a zip file, you will need to extract it. There should be a few files and a few folders where one of the folders is 'src'. &lt;br /&gt;
# To run Bitmessage, navigate into the 'src' folder and then double click on the bitmessagemain.py file, or in a command prompt, change directories to the 'src' directory which holds bitmessagemain.py and type 'python bitmessagemain.py'. &lt;br /&gt;
&lt;br /&gt;
== If you change user interface files ==&lt;br /&gt;
You can use Qt's Designer application to modify the user interface. After you do this, you will need to 'compile' .ui files into .py files. &lt;br /&gt;
# In a command prompt, change directories to the directory of your .ui file.&lt;br /&gt;
# Run 'pyuic4 example.ui &amp;gt; example.py'  If you get a message similar to 'pyuic4 is not recognized as an internal or external command' then you must add the PyQt directory to your system's path variable. This directory should hold pyuic4.bat. It might be in C:\Python27\Lib\site-packages\PyQt4. Remember to close the command window and reopen it after you change your path variable.&lt;br /&gt;
&lt;br /&gt;
If you add icons to bitmessage_icons.qrc, then you must run this command:&lt;br /&gt;
pyrcc4 bitmessage_icons.qrc -o bitmessage_icons_rc.py&lt;br /&gt;
&lt;br /&gt;
== Optional: Compile into a stand-alone EXE ==&lt;br /&gt;
# Download [http://www.pyinstaller.org/ PyInstaller].&lt;br /&gt;
# Copy Bitmessage's 'src' directory to the PyInstaller directory (which contains pyinstaller.py). &lt;br /&gt;
# Run 'pyinstaller.py --onefile --noconsole --icon=&amp;quot;src\images\can-icon.ico&amp;quot; src\bitmessagemain.py'&lt;br /&gt;
This won't include the OpenSSL DLL file in the EXE; if you send it to someone who doesn't have OpenSSL installed, it will not run. To include the DLL file in the EXE, you must follow these steps:&lt;br /&gt;
# After following the steps above, you will see that pyinstaller created a folder called bitmessagemain. In that folder is a file: bitmessagemain.spec. Open it with a text editor.&lt;br /&gt;
# Below the line &amp;quot;a.datas,&amp;quot; add this line: &amp;lt;code&amp;gt;a.binaries + [('libeay32.dll', 'c:\\windows\\system32\\libeay32.dll', 'BINARY')],&amp;lt;/code&amp;gt;&lt;br /&gt;
# Save and close&lt;br /&gt;
# Run this command: pyinstaller.py bitmessagemain/bitmessagemain.spec&lt;br /&gt;
&lt;br /&gt;
If you do not have the libeay32.dll you can download it here. http://www.dll-files.com/dllindex/dll-files.shtml?libeay32&lt;/div&gt;</summary>
		<author><name>Mtkfm</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.bitmessage.org/index.php?title=Compiling_instructions&amp;diff=19740</id>
		<title>Compiling instructions</title>
		<link rel="alternate" type="text/html" href="https://wiki.bitmessage.org/index.php?title=Compiling_instructions&amp;diff=19740"/>
		<updated>2013-08-22T17:05:42Z</updated>

		<summary type="html">&lt;p&gt;Mtkfm: /* Other Distributions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page should help novice users run Bitmessage from the source code files.&lt;br /&gt;
&lt;br /&gt;
= Linux =&lt;br /&gt;
== Fedora + RHEL ==&lt;br /&gt;
'''Install dependencies:'''&lt;br /&gt;
&lt;br /&gt;
''Fedora and RHEL6 do not support EC in OpenSSL. Therefore we need [http://linux.ringingliberty.com/bitcoin/ Ringing Liberty's bitcoin repository] to get a compatible library.''&lt;br /&gt;
&lt;br /&gt;
Repository for Fedora:&lt;br /&gt;
 su -c 'yum install http://linux.ringingliberty.com/bitcoin/f18/x86_64/bitcoin-release-1-4.noarch.rpm'&lt;br /&gt;
or this one for RedHat Enterprise Linux (RHEL):&lt;br /&gt;
 su -c 'yum install http://linux.ringingliberty.com/bitcoin/el6/x86_64/bitcoin-release-1-4.noarch.rpm'&lt;br /&gt;
Install dependencies:&lt;br /&gt;
 su -c 'yum install python git openssl-compat-bitcoin-libs'&lt;br /&gt;
'''Download''' Bitmessage from GIT:&lt;br /&gt;
 git clone https://github.com/Bitmessage/PyBitmessage $HOME/PyBitmessage&lt;br /&gt;
'''Run''' Bitmessage:&lt;br /&gt;
 cd $HOME/PyBitmessage/src/ &amp;amp;&amp;amp; LD_LIBRARY_PATH=&amp;quot;/opt/openssl-compat-bitcoin/lib/&amp;quot; python bitmessagemain.py&lt;br /&gt;
&lt;br /&gt;
== Other Distributions ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;''Note for Debian Squeeze (6.0) users: Debian Squeeze does not offer packages (like Python, OpenSSL) in versions that are needed for Bitmessage. You can still try to [https://github.com/Bitmessage/PyBitmessage/issues/47#issuecomment-17774377 work around these problems].''&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; Resolve dependencies:&lt;br /&gt;
: Debian-based distributions (Debian, Ubuntu, Whonix, Raspbian, PiBang): &amp;lt;code&amp;gt;sudo apt-get install python openssl git python-qt4&amp;lt;/code&amp;gt;&lt;br /&gt;
: Arch Linux: &amp;lt;code&amp;gt;sudo pacman -S python2 openssl git python2-pyqt4&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; Download and run Bitmessage:&lt;br /&gt;
 git clone &amp;lt;nowiki&amp;gt;https://github.com/Bitmessage/PyBitmessage $HOME/PyBitmessage&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 ~/PyBitmessage/src/bitmessagemain.py&lt;br /&gt;
&lt;br /&gt;
; You can also run Bitmessage as a daemon:&lt;br /&gt;
There is information here: [https://bitmessage.org/wiki/Daemon Daemon-Mode]&lt;br /&gt;
&lt;br /&gt;
== Upgrading ==&lt;br /&gt;
; To upgrade Bitmessage run the following commands:&lt;br /&gt;
 cd $HOME/PyBitmessage&lt;br /&gt;
 git pull&lt;br /&gt;
&lt;br /&gt;
= OS X =&lt;br /&gt;
== With Homebrew package manager ==&lt;br /&gt;
; Setup&lt;br /&gt;
First, make sure you have not already installed Macports. Having both macports and homebrew on the same system is a recipe for disaster. &lt;br /&gt;
Install Homebrew: &lt;br /&gt;
 ruby -e &amp;quot;$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Update Python:&lt;br /&gt;
 brew install python&lt;br /&gt;
&lt;br /&gt;
; Install dependencies:&lt;br /&gt;
 brew install pyqt openssl&lt;br /&gt;
&lt;br /&gt;
; Download and run&lt;br /&gt;
 cd ~/Desktop&lt;br /&gt;
 git clone git://github.com/Bitmessage/PyBitmessage.git&lt;br /&gt;
 cd PyBitmessage&lt;br /&gt;
 python src/bitmessagemain.py&lt;br /&gt;
&lt;br /&gt;
== With macports package manager ==&lt;br /&gt;
First, make sure you have not already installed Homebrew. Having both macports and homebrew on the same system is a recipe for disaster. &lt;br /&gt;
Installing with macports or homebrew essentially has the same effect. Homebrew does some things better than ports, and ports does some things better than brew. If old-school floats your boat, these instructions are for you. &lt;br /&gt;
&lt;br /&gt;
; Select the macports installation that is right for your version of osx&lt;br /&gt;
https://www.macports.org/install.php&lt;br /&gt;
&lt;br /&gt;
; Install dependencies and needed tools&lt;br /&gt;
 sudo port install python27 py27-pyqt4 openssl&lt;br /&gt;
 sudo port install git-core +svn +doc +bash_completion +gitweb&lt;br /&gt;
&lt;br /&gt;
; Download and run&lt;br /&gt;
 cd ~/Desktop&lt;br /&gt;
 git clone git://github.com/Bitmessage/PyBitmessage.git&lt;br /&gt;
 cd PyBitmessage&lt;br /&gt;
 python2.7 src/bitmessagemain.py&lt;br /&gt;
&lt;br /&gt;
= Windows =&lt;br /&gt;
# Download and install the latest revision of Python 2.7 (currently Python 2.7.3 from [http://www.python.org/download/releases/2.7.3/ here]). The ''Windows x86 MSI Installer'' is the right choice for most people. (64-bit users may want the 64-bit version).&lt;br /&gt;
# Test that it installed:&lt;br /&gt;
## Open a command prompt by going to Start &amp;gt; Run. Type 'cmd' then press enter.&lt;br /&gt;
## type 'python'. If python is installed, you should see the python version and the prompt: '&amp;gt;&amp;gt;&amp;gt;'&lt;br /&gt;
## If you see a message such as: &amp;quot;'Python is not recognized as an internal or external command...&amp;quot; then you must add the python path to your path environmental variable:&lt;br /&gt;
### Find the location where Python was installed (in particular, the location where python.exe exists). It might simply be in c:\Python2.7 &lt;br /&gt;
### Follow [http://www.computerhope.com/issues/ch000549.htm these directions] to add the Python path to your path variable.&lt;br /&gt;
### Close the command prompt window and reopen it. &lt;br /&gt;
### Try running 'python' again.&lt;br /&gt;
##Press Ctrl-Z to exit Python.&lt;br /&gt;
# Bitmessage has two dependencies. The first is PyQt. Download and install PyQt from [http://www.riverbankcomputing.com/software/pyqt/download here]. You will want the Binary Package since it is already compiled for you. Be sure to select the version for Python 2.7. It is labeled as Py2.7. &lt;br /&gt;
# The second dependency is OpenSSL which you can download from [http://slproweb.com/products/Win32OpenSSL.html here]. There you will also notice the link to download the Visual C++ 2008 program in case you also find that you need that as well. (The OpenSSL installer will complain if you need to install the Visual C++ Redistributable.)&lt;br /&gt;
# Download the source code for PyBitmessage from GitHub. If it is in a zip file, you will need to extract it. There should be a few files and a few folders where one of the folders is 'src'. &lt;br /&gt;
# To run Bitmessage, navigate into the 'src' folder and then double click on the bitmessagemain.py file, or in a command prompt, change directories to the 'src' directory which holds bitmessagemain.py and type 'python bitmessagemain.py'. &lt;br /&gt;
&lt;br /&gt;
== If you change user interface files ==&lt;br /&gt;
You can use Qt's Designer application to modify the user interface. After you do this, you will need to 'compile' .ui files into .py files. &lt;br /&gt;
# In a command prompt, change directories to the directory of your .ui file.&lt;br /&gt;
# Run 'pyuic4 example.ui &amp;gt; example.py'  If you get a message similar to 'pyuic4 is not recognized as an internal or external command' then you must add the PyQt directory to your system's path variable. This directory should hold pyuic4.bat. It might be in C:\Python27\Lib\site-packages\PyQt4. Remember to close the command window and reopen it after you change your path variable.&lt;br /&gt;
&lt;br /&gt;
If you add icons to bitmessage_icons.qrc, then you must run this command:&lt;br /&gt;
pyrcc4 bitmessage_icons.qrc -o bitmessage_icons_rc.py&lt;br /&gt;
&lt;br /&gt;
== Optional: Compile into a stand-alone EXE ==&lt;br /&gt;
# Download [http://www.pyinstaller.org/ PyInstaller].&lt;br /&gt;
# Copy Bitmessage's 'src' directory to the PyInstaller directory (which contains pyinstaller.py). &lt;br /&gt;
# Run 'pyinstaller.py --onefile --noconsole --icon=&amp;quot;src\images\can-icon.ico&amp;quot; src\bitmessagemain.py'&lt;br /&gt;
This won't include the OpenSSL DLL file in the EXE; if you send it to someone who doesn't have OpenSSL installed, it will not run. To include the DLL file in the EXE, you must follow these steps:&lt;br /&gt;
# After following the steps above, you will see that pyinstaller created a folder called bitmessagemain. In that folder is a file: bitmessagemain.spec. Open it with a text editor.&lt;br /&gt;
# Below the line &amp;quot;a.datas,&amp;quot; add this line: &amp;lt;code&amp;gt;a.binaries + [('libeay32.dll', 'c:\\windows\\system32\\libeay32.dll', 'BINARY')],&amp;lt;/code&amp;gt;&lt;br /&gt;
# Save and close&lt;br /&gt;
# Run this command: pyinstaller.py bitmessagemain/bitmessagemain.spec&lt;br /&gt;
&lt;br /&gt;
If you do not have the libeay32.dll you can download it here. http://www.dll-files.com/dllindex/dll-files.shtml?libeay32&lt;/div&gt;</summary>
		<author><name>Mtkfm</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.bitmessage.org/index.php?title=Compiling_instructions&amp;diff=19739</id>
		<title>Compiling instructions</title>
		<link rel="alternate" type="text/html" href="https://wiki.bitmessage.org/index.php?title=Compiling_instructions&amp;diff=19739"/>
		<updated>2013-08-22T17:01:28Z</updated>

		<summary type="html">&lt;p&gt;Mtkfm: No need to cd into the directory; git command only updated src/ directory&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page should help novice users run Bitmessage from the source code files.&lt;br /&gt;
&lt;br /&gt;
= Linux =&lt;br /&gt;
== Fedora + RHEL ==&lt;br /&gt;
'''Install dependencies:'''&lt;br /&gt;
&lt;br /&gt;
''Fedora and RHEL6 do not support EC in OpenSSL. Therefore we need [http://linux.ringingliberty.com/bitcoin/ Ringing Liberty's bitcoin repository] to get a compatible library.''&lt;br /&gt;
&lt;br /&gt;
Repository for Fedora:&lt;br /&gt;
 su -c 'yum install http://linux.ringingliberty.com/bitcoin/f18/x86_64/bitcoin-release-1-4.noarch.rpm'&lt;br /&gt;
or this one for RedHat Enterprise Linux (RHEL):&lt;br /&gt;
 su -c 'yum install http://linux.ringingliberty.com/bitcoin/el6/x86_64/bitcoin-release-1-4.noarch.rpm'&lt;br /&gt;
Install dependencies:&lt;br /&gt;
 su -c 'yum install python git openssl-compat-bitcoin-libs'&lt;br /&gt;
'''Download''' Bitmessage from GIT:&lt;br /&gt;
 git clone https://github.com/Bitmessage/PyBitmessage $HOME/PyBitmessage&lt;br /&gt;
'''Run''' Bitmessage:&lt;br /&gt;
 cd $HOME/PyBitmessage/src/ &amp;amp;&amp;amp; LD_LIBRARY_PATH=&amp;quot;/opt/openssl-compat-bitcoin/lib/&amp;quot; python bitmessagemain.py&lt;br /&gt;
&lt;br /&gt;
== Other Distributions ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;''Note for Debian Squeeze (6.0) users: Debian Squeeze does not offer packages (like Python, OpenSSL) in versions that are needed for Bitmessage. You can still try to [https://github.com/Bitmessage/PyBitmessage/issues/47#issuecomment-17774377 work around these problems].''&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;For Whonix (0.5.6) installation, follow the steps for Debian.&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; Install dependencies:&lt;br /&gt;
: APT-based distributions (Debian, Ubuntu): &amp;lt;code&amp;gt;sudo apt-get install python openssl git python-qt4&amp;lt;/code&amp;gt;&lt;br /&gt;
: Raspberry Pi (Raspbian &amp;quot;wheezy&amp;quot;, PiBang): &amp;lt;code&amp;gt;sudo apt-get install python-qt4&amp;lt;/code&amp;gt;&lt;br /&gt;
: RPM-based distributions (Red Hat, Fedora): &amp;lt;code&amp;gt;sudo yum install python openssl git&amp;lt;/code&amp;gt;&lt;br /&gt;
: Arch: &amp;lt;code&amp;gt;sudo pacman -S python2 openssl git python2-pyqt4&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; Download and run Bitmessage:&lt;br /&gt;
 git clone &amp;lt;nowiki&amp;gt;https://github.com/Bitmessage/PyBitmessage $HOME/PyBitmessage&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 ~/PyBitmessage/src/bitmessagemain.py&lt;br /&gt;
&lt;br /&gt;
; You can also run Bitmessage as a daemon:&lt;br /&gt;
There is information here: [https://bitmessage.org/wiki/Daemon Daemon-Mode]&lt;br /&gt;
&lt;br /&gt;
== Upgrading ==&lt;br /&gt;
; To upgrade Bitmessage run the following commands:&lt;br /&gt;
 cd $HOME/PyBitmessage&lt;br /&gt;
 git pull&lt;br /&gt;
&lt;br /&gt;
= OS X =&lt;br /&gt;
== With Homebrew package manager ==&lt;br /&gt;
; Setup&lt;br /&gt;
First, make sure you have not already installed Macports. Having both macports and homebrew on the same system is a recipe for disaster. &lt;br /&gt;
Install Homebrew: &lt;br /&gt;
 ruby -e &amp;quot;$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Update Python:&lt;br /&gt;
 brew install python&lt;br /&gt;
&lt;br /&gt;
; Install dependencies:&lt;br /&gt;
 brew install pyqt openssl&lt;br /&gt;
&lt;br /&gt;
; Download and run&lt;br /&gt;
 cd ~/Desktop&lt;br /&gt;
 git clone git://github.com/Bitmessage/PyBitmessage.git&lt;br /&gt;
 cd PyBitmessage&lt;br /&gt;
 python src/bitmessagemain.py&lt;br /&gt;
&lt;br /&gt;
== With macports package manager ==&lt;br /&gt;
First, make sure you have not already installed Homebrew. Having both macports and homebrew on the same system is a recipe for disaster. &lt;br /&gt;
Installing with macports or homebrew essentially has the same effect. Homebrew does some things better than ports, and ports does some things better than brew. If old-school floats your boat, these instructions are for you. &lt;br /&gt;
&lt;br /&gt;
; Select the macports installation that is right for your version of osx&lt;br /&gt;
https://www.macports.org/install.php&lt;br /&gt;
&lt;br /&gt;
; Install dependencies and needed tools&lt;br /&gt;
 sudo port install python27 py27-pyqt4 openssl&lt;br /&gt;
 sudo port install git-core +svn +doc +bash_completion +gitweb&lt;br /&gt;
&lt;br /&gt;
; Download and run&lt;br /&gt;
 cd ~/Desktop&lt;br /&gt;
 git clone git://github.com/Bitmessage/PyBitmessage.git&lt;br /&gt;
 cd PyBitmessage&lt;br /&gt;
 python2.7 src/bitmessagemain.py&lt;br /&gt;
&lt;br /&gt;
= Windows =&lt;br /&gt;
# Download and install the latest revision of Python 2.7 (currently Python 2.7.3 from [http://www.python.org/download/releases/2.7.3/ here]). The ''Windows x86 MSI Installer'' is the right choice for most people. (64-bit users may want the 64-bit version).&lt;br /&gt;
# Test that it installed:&lt;br /&gt;
## Open a command prompt by going to Start &amp;gt; Run. Type 'cmd' then press enter.&lt;br /&gt;
## type 'python'. If python is installed, you should see the python version and the prompt: '&amp;gt;&amp;gt;&amp;gt;'&lt;br /&gt;
## If you see a message such as: &amp;quot;'Python is not recognized as an internal or external command...&amp;quot; then you must add the python path to your path environmental variable:&lt;br /&gt;
### Find the location where Python was installed (in particular, the location where python.exe exists). It might simply be in c:\Python2.7 &lt;br /&gt;
### Follow [http://www.computerhope.com/issues/ch000549.htm these directions] to add the Python path to your path variable.&lt;br /&gt;
### Close the command prompt window and reopen it. &lt;br /&gt;
### Try running 'python' again.&lt;br /&gt;
##Press Ctrl-Z to exit Python.&lt;br /&gt;
# Bitmessage has two dependencies. The first is PyQt. Download and install PyQt from [http://www.riverbankcomputing.com/software/pyqt/download here]. You will want the Binary Package since it is already compiled for you. Be sure to select the version for Python 2.7. It is labeled as Py2.7. &lt;br /&gt;
# The second dependency is OpenSSL which you can download from [http://slproweb.com/products/Win32OpenSSL.html here]. There you will also notice the link to download the Visual C++ 2008 program in case you also find that you need that as well. (The OpenSSL installer will complain if you need to install the Visual C++ Redistributable.)&lt;br /&gt;
# Download the source code for PyBitmessage from GitHub. If it is in a zip file, you will need to extract it. There should be a few files and a few folders where one of the folders is 'src'. &lt;br /&gt;
# To run Bitmessage, navigate into the 'src' folder and then double click on the bitmessagemain.py file, or in a command prompt, change directories to the 'src' directory which holds bitmessagemain.py and type 'python bitmessagemain.py'. &lt;br /&gt;
&lt;br /&gt;
== If you change user interface files ==&lt;br /&gt;
You can use Qt's Designer application to modify the user interface. After you do this, you will need to 'compile' .ui files into .py files. &lt;br /&gt;
# In a command prompt, change directories to the directory of your .ui file.&lt;br /&gt;
# Run 'pyuic4 example.ui &amp;gt; example.py'  If you get a message similar to 'pyuic4 is not recognized as an internal or external command' then you must add the PyQt directory to your system's path variable. This directory should hold pyuic4.bat. It might be in C:\Python27\Lib\site-packages\PyQt4. Remember to close the command window and reopen it after you change your path variable.&lt;br /&gt;
&lt;br /&gt;
If you add icons to bitmessage_icons.qrc, then you must run this command:&lt;br /&gt;
pyrcc4 bitmessage_icons.qrc -o bitmessage_icons_rc.py&lt;br /&gt;
&lt;br /&gt;
== Optional: Compile into a stand-alone EXE ==&lt;br /&gt;
# Download [http://www.pyinstaller.org/ PyInstaller].&lt;br /&gt;
# Copy Bitmessage's 'src' directory to the PyInstaller directory (which contains pyinstaller.py). &lt;br /&gt;
# Run 'pyinstaller.py --onefile --noconsole --icon=&amp;quot;src\images\can-icon.ico&amp;quot; src\bitmessagemain.py'&lt;br /&gt;
This won't include the OpenSSL DLL file in the EXE; if you send it to someone who doesn't have OpenSSL installed, it will not run. To include the DLL file in the EXE, you must follow these steps:&lt;br /&gt;
# After following the steps above, you will see that pyinstaller created a folder called bitmessagemain. In that folder is a file: bitmessagemain.spec. Open it with a text editor.&lt;br /&gt;
# Below the line &amp;quot;a.datas,&amp;quot; add this line: &amp;lt;code&amp;gt;a.binaries + [('libeay32.dll', 'c:\\windows\\system32\\libeay32.dll', 'BINARY')],&amp;lt;/code&amp;gt;&lt;br /&gt;
# Save and close&lt;br /&gt;
# Run this command: pyinstaller.py bitmessagemain/bitmessagemain.spec&lt;br /&gt;
&lt;br /&gt;
If you do not have the libeay32.dll you can download it here. http://www.dll-files.com/dllindex/dll-files.shtml?libeay32&lt;/div&gt;</summary>
		<author><name>Mtkfm</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.bitmessage.org/index.php?title=Compiling_instructions&amp;diff=18792</id>
		<title>Compiling instructions</title>
		<link rel="alternate" type="text/html" href="https://wiki.bitmessage.org/index.php?title=Compiling_instructions&amp;diff=18792"/>
		<updated>2013-05-14T17:41:05Z</updated>

		<summary type="html">&lt;p&gt;Mtkfm: /* From source */ fixed command&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page should help novice users run Bitmessage from the source code files.&lt;br /&gt;
&lt;br /&gt;
= Linux =&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
There's an unofficial Personal Package Archive for Pybitmessage which provides an easy way to get Pybitmessage. To install it, open a [https://help.ubuntu.com/community/UsingTheTerminal#Starting_a_Terminal Terminal] (press Ctrl+Alt+T) and enter the following:&lt;br /&gt;
 sudo add-apt-repository -y ppa:fuzzgun/pybitmessage &amp;amp;&amp;amp; sudo apt-get update&lt;br /&gt;
 sudo apt-get install pybitmessage&lt;br /&gt;
&lt;br /&gt;
== From source ==&lt;br /&gt;
&amp;lt;small&amp;gt;''Note for Fedora users: Fedora does not currently compile EC into OpenSSL and thus will not work. A workaround is needed to either recompile OpenSSL, or locate/install a OpenSSL package that supports EC extensions.''&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;''Note for Debian Wheezy (6.0) users: Debian Wheezy does not offer packages (like Python, OpenSSL) in versions that are needed for Bitmessage. You can still try to [https://github.com/Bitmessage/PyBitmessage/issues/47#issuecomment-17774377 work around these problems].''&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; Install dependencies:&lt;br /&gt;
: APT-based distributions (Debian, Ubuntu): &amp;lt;code&amp;gt;sudo apt-get install python openssl git python-qt4&amp;lt;/code&amp;gt;&lt;br /&gt;
: RPM-based distributions (Red Hat, Fedora): &amp;lt;code&amp;gt;sudo yum install python openssl git&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; Download and run Bitmessage:&lt;br /&gt;
 git clone &amp;lt;nowiki&amp;gt;https://github.com/Bitmessage/PyBitmessage $HOME/PyBitmessage&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 cd $HOME/PyBitmessage/src/ &amp;amp;&amp;amp; python bitmessagemain.py&lt;br /&gt;
&lt;br /&gt;
= Windows =&lt;br /&gt;
# Download and install the latest revision of Python 2.7 (currently Python 2.7.3 from [http://www.python.org/download/releases/2.7.3/ here]). The ''Windows x86 MSI Installer'' is the right choice for most people. (64-bit users may want the 64-bit version).&lt;br /&gt;
# Test that it installed:&lt;br /&gt;
## Open a command prompt by going to Start &amp;gt; Run. Type 'cmd' then press enter.&lt;br /&gt;
## type 'python'. If python is installed, you should see the python version and the prompt: '&amp;gt;&amp;gt;&amp;gt;'&lt;br /&gt;
## If you see a message such as: &amp;quot;'Python is not recognized as an internal or external command...&amp;quot; then you must add the python path to your path environmental variable:&lt;br /&gt;
### Find the location where Python was installed (in particular, the location where python.exe exists). It might simply be in c:\Python2.7 &lt;br /&gt;
### Follow [http://www.computerhope.com/issues/ch000549.htm these directions] to add the Python path to your path variable.&lt;br /&gt;
### Close the command prompt window and reopen it. &lt;br /&gt;
### Try running 'python' again.&lt;br /&gt;
##Press Ctrl-Z to exit Python.&lt;br /&gt;
# Bitmessage has two dependencies. The first is PyQt. Download and install PyQt from [http://www.riverbankcomputing.com/software/pyqt/download here]. You will want the Binary Package since it is already compiled for you. Be sure to select the version for Python 2.7. It is labeled as Py2.7. &lt;br /&gt;
# The second dependency is OpenSSL which you can download from [http://slproweb.com/products/Win32OpenSSL.html here]. There you will also notice the link to download the Visual C++ 2008 program in case you also find that you need that as well. (The OpenSSL installer will complain if you need to install the Visual C++ Redistributable.)&lt;br /&gt;
# Download the source code for PyBitmessage from GitHub. If it is in a zip file, you will need to extract it. There should be a few files and a few folders where one of the folders is 'src'. &lt;br /&gt;
# To run Bitmessage, navigate into the 'src' folder and then double click on the bitmessagemain.py file, or in a command prompt, change directories to the 'src' directory which holds bitmessagemain.py and type 'python bitmessagemain.py'. &lt;br /&gt;
&lt;br /&gt;
== If you change user interface files ==&lt;br /&gt;
You can use Qt's Designer application to modify the user interface. After you do this, you will need to 'compile' .ui files into .py files. &lt;br /&gt;
# In a command prompt, change directories to the directory of your .ui file.&lt;br /&gt;
# Run 'pyuic4 example.ui &amp;gt; example.py'  If you get a message similar to 'pyuic4 is not recognized as an internal or external command' then you must add the PyQt directory to your system's path variable. This directory should hold pyuic4.bat. It might be in C:\Python27\Lib\site-packages\PyQt4. Remember to close the command window and reopen it after you change your path variable.&lt;br /&gt;
&lt;br /&gt;
If you add icons to bitmessage_icons.qrc, then you must run this command:&lt;br /&gt;
pyrcc4 bitmessage_icons.qrc -o bitmessage_icons_rc.py&lt;br /&gt;
&lt;br /&gt;
== Optional: Compile into a stand-alone EXE ==&lt;br /&gt;
# Download [http://www.pyinstaller.org/ PyInstaller].&lt;br /&gt;
# Copy all of the source code files from the 'src' directory to the PyInstaller directory (which contains pyinstaller.py). &lt;br /&gt;
# Run 'pyinstaller.py --onefile --noconsole --icon=&amp;quot;images\can-icon.ico&amp;quot; bitmessagemain.py'&lt;br /&gt;
This won't include the OpenSSL DLL file in the EXE; if you send it to someone who doesn't have OpenSSL installed, it will not run. To include the DLL file in the EXE, you must follow these steps:&lt;br /&gt;
# After following the steps above, you will see that pyinstaller created a folder called bitmessagemain. In that folder is a file: bitmessagemain.spec. Open it with a text editor.&lt;br /&gt;
# Below the line &amp;quot;a.datas,&amp;quot; add this line: &amp;lt;code&amp;gt;a.binaries + [('libeay32.dll', 'c:\\windows\\system32\\libeay32.dll', 'BINARY')],&amp;lt;/code&amp;gt;&lt;br /&gt;
# Save and close&lt;br /&gt;
# Run this command: pyinstaller.py bitmessagemain/bitmessagemain.spec&lt;/div&gt;</summary>
		<author><name>Mtkfm</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.bitmessage.org/index.php?title=Compiling_instructions&amp;diff=18781</id>
		<title>Compiling instructions</title>
		<link rel="alternate" type="text/html" href="https://wiki.bitmessage.org/index.php?title=Compiling_instructions&amp;diff=18781"/>
		<updated>2013-05-13T20:45:18Z</updated>

		<summary type="html">&lt;p&gt;Mtkfm: PPA instructions, Debian note&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page should help novice users run Bitmessage from the source code files.&lt;br /&gt;
&lt;br /&gt;
= Linux =&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
There's an unofficial Personal Package Archive for Pybitmessage which provides an easy way to get Pybitmessage. To install it, open a [https://help.ubuntu.com/community/UsingTheTerminal#Starting_a_Terminal Terminal] (press Ctrl+Alt+T) and enter the following:&lt;br /&gt;
 sudo add-apt-repository -y ppa:fuzzgun/pybitmessage &amp;amp;&amp;amp; sudo apt-get update&lt;br /&gt;
 sudo apt-get istall pybitmessage&lt;br /&gt;
&lt;br /&gt;
== From source ==&lt;br /&gt;
&amp;lt;small&amp;gt;''Note for Fedora users: Fedora does not currently compile EC into OpenSSL and thus will not work. A workaround is needed to either recompile OpenSSL, or locate/install a OpenSSL package that supports EC extensions.''&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;''Note for Debian Wheezy (6.0) users: Debian Wheezy does not offer packages (like Python, OpenSSL) in versions that are needed for Bitmessage. You can still try to [https://github.com/Bitmessage/PyBitmessage/issues/47#issuecomment-17774377 work around these problems].''&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; Install dependencies:&lt;br /&gt;
: APT-based distributions (Debian, Ubuntu): &amp;lt;code&amp;gt;sudo apt-get install python openssl git python-qt4&amp;lt;/code&amp;gt;&lt;br /&gt;
: RPM-based distributions (Red Hat, Fedora): &amp;lt;code&amp;gt;sudo yum install python openssl git&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; Download and run Bitmessage:&lt;br /&gt;
 git clone &amp;lt;nowiki&amp;gt;https://github.com/Bitmessage/PyBitmessage $HOME/PyBitmessage&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 python $HOME/PyBitmessage/src/bitmessagemain.py&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;Optionally create a startup script that runs '''python PyBitmessage/src/bitmessagemain.py'''&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Windows =&lt;br /&gt;
# Download and install the latest revision of Python 2.7 (currently Python 2.7.3 from [http://www.python.org/download/releases/2.7.3/ here]). The ''Windows x86 MSI Installer'' is the right choice for most people. (64-bit users may want the 64-bit version).&lt;br /&gt;
# Test that it installed:&lt;br /&gt;
## Open a command prompt by going to Start &amp;gt; Run. Type 'cmd' then press enter.&lt;br /&gt;
## type 'python'. If python is installed, you should see the python version and the prompt: '&amp;gt;&amp;gt;&amp;gt;'&lt;br /&gt;
## If you see a message such as: &amp;quot;'Python is not recognized as an internal or external command...&amp;quot; then you must add the python path to your path environmental variable:&lt;br /&gt;
### Find the location where Python was installed (in particular, the location where python.exe exists). It might simply be in c:\Python2.7 &lt;br /&gt;
### Follow [http://www.computerhope.com/issues/ch000549.htm these directions] to add the Python path to your path variable.&lt;br /&gt;
### Close the command prompt window and reopen it. &lt;br /&gt;
### Try running 'python' again.&lt;br /&gt;
##Press Ctrl-Z to exit Python.&lt;br /&gt;
# Bitmessage has two dependencies. The first is PyQt. Download and install PyQt from [http://www.riverbankcomputing.com/software/pyqt/download here]. You will want the Binary Package since it is already compiled for you. Be sure to select the version for Python 2.7. It is labeled as Py2.7. &lt;br /&gt;
# The second dependency is OpenSSL which you can download from [http://slproweb.com/products/Win32OpenSSL.html here]. There you will also notice the link to download the Visual C++ 2008 program in case you also find that you need that as well. (The OpenSSL installer will complain if you need to install the Visual C++ Redistributable.)&lt;br /&gt;
# Download the source code for PyBitmessage from GitHub. If it is in a zip file, you will need to extract it. There should be a few files and a few folders where one of the folders is 'src'. &lt;br /&gt;
# To run Bitmessage, navigate into the 'src' folder and then double click on the bitmessagemain.py file, or in a command prompt, change directories to the 'src' directory which holds bitmessagemain.py and type 'python bitmessagemain.py'. &lt;br /&gt;
&lt;br /&gt;
== If you change user interface files ==&lt;br /&gt;
You can use Qt's Designer application to modify the user interface. After you do this, you will need to 'compile' .ui files into .py files. &lt;br /&gt;
# In a command prompt, change directories to the directory of your .ui file.&lt;br /&gt;
# Run 'pyuic4 example.ui &amp;gt; example.py'  If you get a message similar to 'pyuic4 is not recognized as an internal or external command' then you must add the PyQt directory to your system's path variable. This directory should hold pyuic4.bat. It might be in C:\Python27\Lib\site-packages\PyQt4. Remember to close the command window and reopen it after you change your path variable.&lt;br /&gt;
&lt;br /&gt;
If you add icons to bitmessage_icons.qrc, then you must run this command:&lt;br /&gt;
pyrcc4 bitmessage_icons.qrc -o bitmessage_icons_rc.py&lt;br /&gt;
&lt;br /&gt;
== Optional: Compile into a stand-alone EXE ==&lt;br /&gt;
# Download [http://www.pyinstaller.org/ PyInstaller].&lt;br /&gt;
# Copy all of the source code files from the 'src' directory to the PyInstaller directory (which contains pyinstaller.py). &lt;br /&gt;
# Run 'pyinstaller.py --onefile --noconsole --icon=&amp;quot;images\can-icon.ico&amp;quot; bitmessagemain.py'&lt;br /&gt;
This won't include the OpenSSL DLL file in the EXE; if you send it to someone who doesn't have OpenSSL installed, it will not run. To include the DLL file in the EXE, you must follow these steps:&lt;br /&gt;
# After following the steps above, you will see that pyinstaller created a folder called bitmessagemain. In that folder is a file: bitmessagemain.spec. Open it with a text editor.&lt;br /&gt;
# Below the line &amp;quot;a.datas,&amp;quot; add this line: &amp;lt;code&amp;gt;a.binaries + [('libeay32.dll', 'c:\\windows\\system32\\libeay32.dll', 'BINARY')],&amp;lt;/code&amp;gt;&lt;br /&gt;
# Save and close&lt;br /&gt;
# Run this command: pyinstaller.py bitmessagemain/bitmessagemain.spec&lt;/div&gt;</summary>
		<author><name>Mtkfm</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.bitmessage.org/index.php?title=Compiling_instructions&amp;diff=18719</id>
		<title>Compiling instructions</title>
		<link rel="alternate" type="text/html" href="https://wiki.bitmessage.org/index.php?title=Compiling_instructions&amp;diff=18719"/>
		<updated>2013-05-03T19:24:10Z</updated>

		<summary type="html">&lt;p&gt;Mtkfm: Linux instructions more consistent, some cleaning&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page should help novice users run Bitmessage from the source code files.&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
# Download and install the latest revision of Python 2.7 (currently Python 2.7.3 from [http://www.python.org/download/releases/2.7.3/ here]). The ''Windows x86 MSI Installer'' is the right choice for most people. (64-bit users may want the 64-bit version).&lt;br /&gt;
# Test that it installed:&lt;br /&gt;
## Open a command prompt by going to Start &amp;gt; Run. Type 'cmd' then press enter.&lt;br /&gt;
## type 'python'. If python is installed, you should see the python version and the prompt: '&amp;gt;&amp;gt;&amp;gt;'&lt;br /&gt;
## If you see a message such as: &amp;quot;'Python is not recognized as an internal or external command...&amp;quot; then you must add the python path to your path environmental variable:&lt;br /&gt;
### Find the location where Python was installed (in particular, the location where python.exe exists). It might simply be in c:\Python2.7 &lt;br /&gt;
### Follow [http://www.computerhope.com/issues/ch000549.htm these directions] to add the Python path to your path variable.&lt;br /&gt;
### Close the command prompt window and reopen it. &lt;br /&gt;
### Try running 'python' again.&lt;br /&gt;
##Press Ctrl-Z to exit Python.&lt;br /&gt;
# Bitmessage has two dependencies. The first is PyQt. Download and install PyQt from [http://www.riverbankcomputing.com/software/pyqt/download here]. You will want the Binary Package since it is already compiled for you. Be sure to select the version for Python 2.7. It is labeled as Py2.7. &lt;br /&gt;
# The second dependency is OpenSSL which you can download from [http://slproweb.com/products/Win32OpenSSL.html here]. There you will also notice the link to download the Visual C++ 2008 program in case you also find that you need that as well. (The OpenSSL installer will complain if you need to install the Visual C++ Redistributable.)&lt;br /&gt;
# Download the source code for PyBitmessage from GitHub. If it is in a zip file, you will need to extract it. There should be a few files and a few folders where one of the folders is 'src'. &lt;br /&gt;
# To run Bitmessage, navigate into the 'src' folder and then double click on the bitmessagemain.py file, or in a command prompt, change directories to the 'src' directory which holds bitmessagemain.py and type 'python bitmessagemain.py'. &lt;br /&gt;
&lt;br /&gt;
=== If you change user interface files ===&lt;br /&gt;
You can use Qt's Designer application to modify the user interface. After you do this, you will need to 'compile' .ui files into .py files. &lt;br /&gt;
# In a command prompt, change directories to the directory of your .ui file.&lt;br /&gt;
# Run 'pyuic4 example.ui &amp;gt; example.py'  If you get a message similar to 'pyuic4 is not recognized as an internal or external command' then you must add the PyQt directory to your system's path variable. This directory should hold pyuic4.bat. It might be in C:\Python27\Lib\site-packages\PyQt4. Remember to close the command window and reopen it after you change your path variable.&lt;br /&gt;
&lt;br /&gt;
If you add icons to bitmessage_icons.qrc, then you must run this command:&lt;br /&gt;
pyrcc4 bitmessage_icons.qrc -o bitmessage_icons_rc.py&lt;br /&gt;
&lt;br /&gt;
=== Optional: Compile into a stand-alone EXE ===&lt;br /&gt;
# Download [http://www.pyinstaller.org/ PyInstaller].&lt;br /&gt;
# Copy all of the source code files from the 'src' directory to the PyInstaller directory (which contains pyinstaller.py). &lt;br /&gt;
# Run 'pyinstaller.py --onefile --noconsole --icon=&amp;quot;images\can-icon.ico&amp;quot; bitmessagemain.py'&lt;br /&gt;
This won't include the OpenSSL DLL file in the EXE; if you send it to someone who doesn't have OpenSSL installed, it will not run. To include the DLL file in the EXE, you must follow these steps:&lt;br /&gt;
# After following the steps above, you will see that pyinstaller created a folder called bitmessagemain. In that folder is a file: bitmessagemain.spec. Open it with a text editor.&lt;br /&gt;
# Below the line &amp;quot;a.datas,&amp;quot; add this line: &amp;lt;code&amp;gt;a.binaries + [('libeay32.dll', 'c:\\windows\\system32\\libeay32.dll', 'BINARY')],&amp;lt;/code&amp;gt;&lt;br /&gt;
# Save and close&lt;br /&gt;
# Run this command: pyinstaller.py bitmessagemain/bitmessagemain.spec&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
&amp;lt;small&amp;gt;''Note: Fedora does not currently compile EC into OpenSSL and thus will not work. A workaround is needed to either recompile OpenSSL, or locate/install a OpenSSL package that supports EC extensions.''&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; Install dependencies:&lt;br /&gt;
: APT-based distributions (Debian, Ubuntu): &amp;lt;code&amp;gt;sudo apt-get install python openssl git python-qt4&amp;lt;/code&amp;gt;&lt;br /&gt;
: RPM-based distributions (Red Hat, Fedora): &amp;lt;code&amp;gt;sudo yum install python openssl git&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; Download and run Bitmessage:&lt;br /&gt;
:  &amp;lt;code&amp;gt;git clone &amp;lt;nowiki&amp;gt;https://github.com/Bitmessage/PyBitmessage $HOME/PyBitmessage&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
:  python $HOME/PyBitmessage/src/bitmessagemain.py&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;Optionally create a startup script that runs '''python PyBitmessage/src/bitmessagemain.py'''&amp;lt;/small&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mtkfm</name></author>
		
	</entry>
</feed>