<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Building M2Crypto on Windows</title>
	<atom:link href="http://www.gooli.org/blog/building-m2crypto-on-windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gooli.org/blog/building-m2crypto-on-windows/</link>
	<description>on software development and related issues</description>
	<lastBuildDate>Tue, 09 Mar 2010 16:23:32 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Chris</title>
		<link>http://www.gooli.org/blog/building-m2crypto-on-windows/comment-page-1/#comment-18222</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Mon, 08 Mar 2010 05:31:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.gooli.org/blog/building-m2crypto-on-windows/#comment-18222</guid>
		<description>Thanks for the instructions.

I built M2Crypto-0.20.2.win32-py2.6.exe and posted it online for those who don&#039;t want to go through the process.
https://docs.google.com/leaf?id=0B6vFP5gh9yybZmE0MWNiYTUtMmM0NS00OGQ1LWIzYzctYTNlNTJkZjE5MWMy&amp;hl=en

It&#039;s built against OpenSSL 0.9.8g, so grab those binaries.</description>
		<content:encoded><![CDATA[<p>Thanks for the instructions.</p>
<p>I built M2Crypto-0.20.2.win32-py2.6.exe and posted it online for those who don&#8217;t want to go through the process.<br />
<a href="https://docs.google.com/leaf?id=0B6vFP5gh9yybZmE0MWNiYTUtMmM0NS00OGQ1LWIzYzctYTNlNTJkZjE5MWMy&amp;hl=en" rel="nofollow">https://docs.google.com/leaf?id=0B6vFP5gh9yybZmE0MWNiYTUtMmM0NS00OGQ1LWIzYzctYTNlNTJkZjE5MWMy&amp;hl=en</a></p>
<p>It&#8217;s built against OpenSSL 0.9.8g, so grab those binaries.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yu Xue</title>
		<link>http://www.gooli.org/blog/building-m2crypto-on-windows/comment-page-1/#comment-13437</link>
		<dc:creator>Yu Xue</dc:creator>
		<pubDate>Thu, 20 Aug 2009 07:34:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.gooli.org/blog/building-m2crypto-on-windows/#comment-13437</guid>
		<description>Hi,

When I use python setup.py build_ext -openssl c:/openssl command, there is always an error:

invalid command name &#039;c:/openssl&#039;

and in c:\ there is no dir called openssl, but has a C:\usr\local\ssl\bin which includes libeay32.dll, ssleay32.dll and openssl.exe. However, when I try to replace c:/openssl with C:\usr\local\ssl\bin\openssl, there is still that errro.

Could you please help me?
Thank you!</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>When I use python setup.py build_ext -openssl c:/openssl command, there is always an error:</p>
<p>invalid command name &#8216;c:/openssl&#8217;</p>
<p>and in c:\ there is no dir called openssl, but has a C:\usr\local\ssl\bin which includes libeay32.dll, ssleay32.dll and openssl.exe. However, when I try to replace c:/openssl with C:\usr\local\ssl\bin\openssl, there is still that errro.</p>
<p>Could you please help me?<br />
Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Heikki Toivonen</title>
		<link>http://www.gooli.org/blog/building-m2crypto-on-windows/comment-page-1/#comment-4488</link>
		<dc:creator>Heikki Toivonen</dc:creator>
		<pubDate>Thu, 14 Aug 2008 07:24:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.gooli.org/blog/building-m2crypto-on-windows/#comment-4488</guid>
		<description>Python 2.6 will indeed include improvements in the stdlib SSL handling. However, it claims to have full support for server side SSL operations, and client operations are still something you would probably want to use something else, like M2Crypto, for.

As I was reading through the Python 2.6 documentation it also struck me that it seems SSLv2 will be supported out of the box, and there does not seem to be a way to turn that off. As far as I know the only way to write code that works with SSLv3 and all versions of TLS is to use the misleading SSLv23 mode, but you should then really turn off SSLv2 as well.</description>
		<content:encoded><![CDATA[<p>Python 2.6 will indeed include improvements in the stdlib SSL handling. However, it claims to have full support for server side SSL operations, and client operations are still something you would probably want to use something else, like M2Crypto, for.</p>
<p>As I was reading through the Python 2.6 documentation it also struck me that it seems SSLv2 will be supported out of the box, and there does not seem to be a way to turn that off. As far as I know the only way to write code that works with SSLv3 and all versions of TLS is to use the misleading SSLv23 mode, but you should then really turn off SSLv2 as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris DeMattio</title>
		<link>http://www.gooli.org/blog/building-m2crypto-on-windows/comment-page-1/#comment-4089</link>
		<dc:creator>Chris DeMattio</dc:creator>
		<pubDate>Mon, 21 Jul 2008 16:26:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.gooli.org/blog/building-m2crypto-on-windows/#comment-4089</guid>
		<description>If building using openssl.0.9.8h and Visual Studio 2003, you may encounter the following error:

_m2crypto_wrap.c
c:\openSSL\include\openssl\x509.h(207) : error C2059: syntax error : &#039;type&#039;
c:\openSSL\include\openssl\x509.h(929) : error C2059: syntax error : &#039;type&#039;
c:\openSSL\include\openssl\x509.h(929) : error C2143: syntax error : missing &#039;)&#039; before &#039;(&#039;
c:\openSSL\include\openssl\x509.h(929) : error C2143: syntax error : missing &#039;)&#039; before &#039;(&#039;
c:\openSSL\include\openssl\x509.h(929) : error C2091: function returns function
c:\openSSL\include\openssl\x509.h(929) : error C2091: function returns function
c:\openSSL\include\openssl\x509.h(929) : error C2143: syntax error : missing &#039;{&#039; before &#039;constant&#039;
c:\openSSL\include\openssl\x509.h(929) : error C2059: syntax error : &#039;&#039;
c:\openSSL\include\openssl\x509.h(929) : error C2059: syntax error : &#039;)&#039;
c:\openSSL\include\openssl\x509.h(929) : error C2059: syntax error : &#039;)&#039;
c:\openSSL\include\openssl\x509.h(929) : error C2059: syntax error : &#039;type&#039;
SWIG\_m2crypto_wrap.c(5861) : warning C4113: &#039;void (__cdecl *)()&#039; differs in parameter lists from &#039;v
oid (__cdecl *)(void *)&#039;
error: command &#039;&quot;C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe&quot;&#039; failed with exit status 2


This is a known issue with OpenSSL.  See http://rt.openssl.org/Ticket/Display.html?id=1700&amp;user=guest&amp;pass=guest for information.</description>
		<content:encoded><![CDATA[<p>If building using openssl.0.9.8h and Visual Studio 2003, you may encounter the following error:</p>
<p>_m2crypto_wrap.c<br />
c:\openSSL\include\openssl\x509.h(207) : error C2059: syntax error : &#8216;type&#8217;<br />
c:\openSSL\include\openssl\x509.h(929) : error C2059: syntax error : &#8216;type&#8217;<br />
c:\openSSL\include\openssl\x509.h(929) : error C2143: syntax error : missing &#8216;)&#8217; before &#8216;(&#8217;<br />
c:\openSSL\include\openssl\x509.h(929) : error C2143: syntax error : missing &#8216;)&#8217; before &#8216;(&#8217;<br />
c:\openSSL\include\openssl\x509.h(929) : error C2091: function returns function<br />
c:\openSSL\include\openssl\x509.h(929) : error C2091: function returns function<br />
c:\openSSL\include\openssl\x509.h(929) : error C2143: syntax error : missing &#8216;{&#8217; before &#8216;constant&#8217;<br />
c:\openSSL\include\openssl\x509.h(929) : error C2059: syntax error : &#8221;<br />
c:\openSSL\include\openssl\x509.h(929) : error C2059: syntax error : &#8216;)&#8217;<br />
c:\openSSL\include\openssl\x509.h(929) : error C2059: syntax error : &#8216;)&#8217;<br />
c:\openSSL\include\openssl\x509.h(929) : error C2059: syntax error : &#8216;type&#8217;<br />
SWIG\_m2crypto_wrap.c(5861) : warning C4113: &#8216;void (__cdecl *)()&#8217; differs in parameter lists from &#8216;v<br />
oid (__cdecl *)(void *)&#8217;<br />
error: command &#8216;&#8221;C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe&#8221;&#8216; failed with exit status 2</p>
<p>This is a known issue with OpenSSL.  See <a href="http://rt.openssl.org/Ticket/Display.html?id=1700&amp;user=guest&amp;pass=guest" rel="nofollow">http://rt.openssl.org/Ticket/Display.html?id=1700&amp;user=guest&amp;pass=guest</a> for information.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Barry Burns</title>
		<link>http://www.gooli.org/blog/building-m2crypto-on-windows/comment-page-1/#comment-1877</link>
		<dc:creator>Barry Burns</dc:creator>
		<pubDate>Sat, 15 Dec 2007 21:38:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.gooli.org/blog/building-m2crypto-on-windows/#comment-1877</guid>
		<description>Building m2crypto in Windows with free tools

1. Download &amp; install MinGW from www.mingw.org.
2. Download the swigwin distribution from www.swig.org and unzip it to a directory (c:\mingw\swig might not be a bad one)
3. Download &amp; install OpenSSL: http://www.slproweb.com/products/Win32OpenSSL.html
4. Copy the OpenSSL include files (c:\openssl\include) to the Python include directory (c:\pythonXY\include)
5. Copy the OpenSSL libraries (C:\OpenSSL\lib\MinGW) to the MinGW library directory (c:\pythonXY\libs)
6. Rename ssleay32.a and libeay32.a to libssleay32.a and liblibeay32.a respectively.
7. path c:\mingw\bin;c:\mingw\swig;%path%
8. setup.py build -c mingw32 bdist_wininst</description>
		<content:encoded><![CDATA[<p>Building m2crypto in Windows with free tools</p>
<p>1. Download &amp; install MinGW from <a href="http://www.mingw.org" rel="nofollow">http://www.mingw.org</a>.<br />
2. Download the swigwin distribution from <a href="http://www.swig.org" rel="nofollow">http://www.swig.org</a> and unzip it to a directory (c:\mingw\swig might not be a bad one)<br />
3. Download &amp; install OpenSSL: <a href="http://www.slproweb.com/products/Win32OpenSSL.html" rel="nofollow">http://www.slproweb.com/products/Win32OpenSSL.html</a><br />
4. Copy the OpenSSL include files (c:\openssl\include) to the Python include directory (c:\pythonXY\include)<br />
5. Copy the OpenSSL libraries (C:\OpenSSL\lib\MinGW) to the MinGW library directory (c:\pythonXY\libs)<br />
6. Rename ssleay32.a and libeay32.a to libssleay32.a and liblibeay32.a respectively.<br />
7. path c:\mingw\bin;c:\mingw\swig;%path%<br />
8. setup.py build -c mingw32 bdist_wininst</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gooli</title>
		<link>http://www.gooli.org/blog/building-m2crypto-on-windows/comment-page-1/#comment-1492</link>
		<dc:creator>gooli</dc:creator>
		<pubDate>Sun, 30 Sep 2007 22:31:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.gooli.org/blog/building-m2crypto-on-windows/#comment-1492</guid>
		<description>It does seem that way. Thanks for the info!</description>
		<content:encoded><![CDATA[<p>It does seem that way. Thanks for the info!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Lowe</title>
		<link>http://www.gooli.org/blog/building-m2crypto-on-windows/comment-page-1/#comment-1438</link>
		<dc:creator>Mike Lowe</dc:creator>
		<pubDate>Fri, 28 Sep 2007 19:29:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.gooli.org/blog/building-m2crypto-on-windows/#comment-1438</guid>
		<description>From the looks of it, a lot of the things that make m2crypto attractive will be included in the ssl module in python 2.6.  http://svn.python.org/view/*checkout*/python/trunk/Doc/library/ssl.rst</description>
		<content:encoded><![CDATA[<p>From the looks of it, a lot of the things that make m2crypto attractive will be included in the ssl module in python 2.6.  <a href="http://svn.python.org/view/" rel="nofollow">http://svn.python.org/view/</a>*checkout*/python/trunk/Doc/library/ssl.rst</p>
]]></content:encoded>
	</item>
</channel>
</rss>
