<?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: Configure and compile Python with Zlib</title>
	<atom:link href="http://www.1stbyte.com/2005/06/26/configure-and-compile-python-with-zlib/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.1stbyte.com/2005/06/26/configure-and-compile-python-with-zlib/</link>
	<description>Company site for Greg Fischer { GregTheGeek }</description>
	<lastBuildDate>Sun, 05 Feb 2012 15:01:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Ben Stokes</title>
		<link>http://www.1stbyte.com/2005/06/26/configure-and-compile-python-with-zlib/comment-page-1/#comment-999</link>
		<dc:creator>Ben Stokes</dc:creator>
		<pubDate>Wed, 11 Jan 2012 16:04:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.1stbyte.com/2006/03/22/configure-and-compile-python-with-zlib/#comment-999</guid>
		<description>Thanks - worked for me. Pretty annoying how this isn&#039;t shown as an option in ./configure --help. </description>
		<content:encoded><![CDATA[<p>Thanks &#8211; worked for me. Pretty annoying how this isn&#8217;t shown as an option in ./configure &#8211;help. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sriram</title>
		<link>http://www.1stbyte.com/2005/06/26/configure-and-compile-python-with-zlib/comment-page-1/#comment-998</link>
		<dc:creator>sriram</dc:creator>
		<pubDate>Tue, 03 Jan 2012 02:04:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.1stbyte.com/2006/03/22/configure-and-compile-python-with-zlib/#comment-998</guid>
		<description>Thanks for the posting Nico!! Helped greatly..</description>
		<content:encoded><![CDATA[<p>Thanks for the posting Nico!! Helped greatly..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mult</title>
		<link>http://www.1stbyte.com/2005/06/26/configure-and-compile-python-with-zlib/comment-page-1/#comment-963</link>
		<dc:creator>Mult</dc:creator>
		<pubDate>Mon, 26 Sep 2011 18:12:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.1stbyte.com/2006/03/22/configure-and-compile-python-with-zlib/#comment-963</guid>
		<description>In point 2, do you mean to run python with
./configure --with-zlib=/usr/include 
Im just trying to get this right</description>
		<content:encoded><![CDATA[<p>In point 2, do you mean to run python with<br />
./configure &#8211;with-zlib=/usr/include <br />
Im just trying to get this right</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.1stbyte.com/2005/06/26/configure-and-compile-python-with-zlib/comment-page-1/#comment-941</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Tue, 02 Aug 2011 17:23:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.1stbyte.com/2006/03/22/configure-and-compile-python-with-zlib/#comment-941</guid>
		<description>Yeah, maybe on python 2.7 its done differently. But on my reply to another comment, it occurred to me that the whole deal with 64bit systems may cause some problems. Like, if you have 32bit python, you&#039;ll need 32bit libs intsalled for zlib too, right?  Just a thought.  

Do you need your own compiled version? Or can you just install your distro&#039;s package of it? (which *is* easier, IMHO)</description>
		<content:encoded><![CDATA[<p>Yeah, maybe on python 2.7 its done differently. But on my reply to another comment, it occurred to me that the whole deal with 64bit systems may cause some problems. Like, if you have 32bit python, you&#8217;ll need 32bit libs intsalled for zlib too, right?  Just a thought.  </p>
<p>Do you need your own compiled version? Or can you just install your distro&#8217;s package of it? (which *is* easier, IMHO)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.1stbyte.com/2005/06/26/configure-and-compile-python-with-zlib/comment-page-1/#comment-940</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Tue, 02 Aug 2011 17:20:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.1stbyte.com/2006/03/22/configure-and-compile-python-with-zlib/#comment-940</guid>
		<description>Well I am glad you got it to work!  I posted this years ago.  I kept having to deal with this for a few years and decided to post a &quot;how-to&quot; to myself.  Funny thing is, I haven&#039;t had to deal with it since! LOL!  I just use the packages, and haven&#039;t had a problem.  But I suppose depends on software you are using and versions you need, plus these 64bit systems and libs complicate things a little.</description>
		<content:encoded><![CDATA[<p>Well I am glad you got it to work!  I posted this years ago.  I kept having to deal with this for a few years and decided to post a &#8220;how-to&#8221; to myself.  Funny thing is, I haven&#8217;t had to deal with it since! LOL!  I just use the packages, and haven&#8217;t had a problem.  But I suppose depends on software you are using and versions you need, plus these 64bit systems and libs complicate things a little.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.1stbyte.com/2005/06/26/configure-and-compile-python-with-zlib/comment-page-1/#comment-934</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Fri, 15 Jul 2011 14:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.1stbyte.com/2006/03/22/configure-and-compile-python-with-zlib/#comment-934</guid>
		<description>whooaaa, man!  I almost threw my computer out the window on this!!

I&#039;m on CentOs, so I installed zlib-dev this way:
yum install zlib-devel.x86_64

then, I un-commented #zlib in the Setup file of Python

then, I did: (note that I had the same error as Matthew with the with-zlib thing, so I just ommited it, to see what would happen)
./configure
make
make install

from within the Python folder (classic installation)

then I tried to import zlib, and it worked!

such a complicated process, I can&#039;t believe this...

Fred</description>
		<content:encoded><![CDATA[<p>whooaaa, man!  I almost threw my computer out the window on this!!</p>
<p>I&#8217;m on CentOs, so I installed zlib-dev this way:<br />
yum install zlib-devel.x86_64</p>
<p>then, I un-commented #zlib in the Setup file of Python</p>
<p>then, I did: (note that I had the same error as Matthew with the with-zlib thing, so I just ommited it, to see what would happen)<br />
./configure<br />
make<br />
make install</p>
<p>from within the Python folder (classic installation)</p>
<p>then I tried to import zlib, and it worked!</p>
<p>such a complicated process, I can&#8217;t believe this&#8230;</p>
<p>Fred</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Rapaport</title>
		<link>http://www.1stbyte.com/2005/06/26/configure-and-compile-python-with-zlib/comment-page-1/#comment-933</link>
		<dc:creator>Matthew Rapaport</dc:creator>
		<pubDate>Tue, 12 Jul 2011 18:01:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.1stbyte.com/2006/03/22/configure-and-compile-python-with-zlib/#comment-933</guid>
		<description>I tried the above, also un-commenting the zlib line in Modules/Setup, but while the configure ran, I end up with the message  &quot;unrecognized options: --with-zlib&quot; So still no luck getting this to run. Strange that the Python that appears to ship with this box (2.4.2) already has zlib built in (I can &quot;import gzip&quot; while this later downloaded version (2.7.2) does not, or at least it doesn&#039;t work when installed...

This is not my forte. </description>
		<content:encoded><![CDATA[<p>I tried the above, also un-commenting the zlib line in Modules/Setup, but while the configure ran, I end up with the message  &#8220;unrecognized options: &#8211;with-zlib&#8221; So still no luck getting this to run. Strange that the Python that appears to ship with this box (2.4.2) already has zlib built in (I can &#8220;import gzip&#8221; while this later downloaded version (2.7.2) does not, or at least it doesn&#8217;t work when installed&#8230;</p>
<p>This is not my forte.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kernc</title>
		<link>http://www.1stbyte.com/2005/06/26/configure-and-compile-python-with-zlib/comment-page-1/#comment-931</link>
		<dc:creator>Kernc</dc:creator>
		<pubDate>Thu, 23 Jun 2011 23:30:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.1stbyte.com/2006/03/22/configure-and-compile-python-with-zlib/#comment-931</guid>
		<description>nothing worked for me until I manually edited ./Python2.5/Modules/Setup and uncommented the line starting with:
zlib zlibmodule.c ...

quite sad. :S</description>
		<content:encoded><![CDATA[<p>nothing worked for me until I manually edited ./Python2.5/Modules/Setup and uncommented the line starting with:<br />
zlib zlibmodule.c &#8230;</p>
<p>quite sad. :S</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leo</title>
		<link>http://www.1stbyte.com/2005/06/26/configure-and-compile-python-with-zlib/comment-page-1/#comment-650</link>
		<dc:creator>Leo</dc:creator>
		<pubDate>Wed, 14 Apr 2010 22:44:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.1stbyte.com/2006/03/22/configure-and-compile-python-with-zlib/#comment-650</guid>
		<description>Thanks!!  I did a clean install of Python 2.6.5 and was getting

ImportError: No module named zlib

but then I followed your instructions, reinstalled python, and now it works.</description>
		<content:encoded><![CDATA[<p>Thanks!!  I did a clean install of Python 2.6.5 and was getting</p>
<p>ImportError: No module named zlib</p>
<p>but then I followed your instructions, reinstalled python, and now it works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Katharine Osborne</title>
		<link>http://www.1stbyte.com/2005/06/26/configure-and-compile-python-with-zlib/comment-page-1/#comment-403</link>
		<dc:creator>Katharine Osborne</dc:creator>
		<pubDate>Tue, 21 Jul 2009 08:37:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.1stbyte.com/2006/03/22/configure-and-compile-python-with-zlib/#comment-403</guid>
		<description>Thanks! This was driving me nuts :-/</description>
		<content:encoded><![CDATA[<p>Thanks! This was driving me nuts :-/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: many thanx</title>
		<link>http://www.1stbyte.com/2005/06/26/configure-and-compile-python-with-zlib/comment-page-1/#comment-122</link>
		<dc:creator>many thanx</dc:creator>
		<pubDate>Tue, 15 Apr 2008 16:30:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.1stbyte.com/2006/03/22/configure-and-compile-python-with-zlib/#comment-122</guid>
		<description>just wasted half a day on this myself - another pointer for those having trouble re-installing, make sure to unset your PYHTONHOME and PYHTONPATH env vars ...  son of a ...</description>
		<content:encoded><![CDATA[<p>just wasted half a day on this myself &#8211; another pointer for those having trouble re-installing, make sure to unset your PYHTONHOME and PYHTONPATH env vars &#8230;  son of a &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg</title>
		<link>http://www.1stbyte.com/2005/06/26/configure-and-compile-python-with-zlib/comment-page-1/#comment-90</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Sat, 01 Sep 2007 07:27:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.1stbyte.com/2006/03/22/configure-and-compile-python-with-zlib/#comment-90</guid>
		<description>Originally posted by Nico:
It worked !!!! if you were a girl I would kiss you

 

thnx mate</description>
		<content:encoded><![CDATA[<p>Originally posted by Nico:<br />
It worked !!!! if you were a girl I would kiss you</p>
<p>thnx mate</p>
]]></content:encoded>
	</item>
</channel>
</rss>

