Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #15687 > unrolled thread

Re: can't decompress data; zlib not available

Started bySteve Edlefsen <steve@sprangle.com>
First post2011-11-14 12:30 -0700
Last post2011-11-14 12:30 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: can't decompress data; zlib not available Steve Edlefsen <steve@sprangle.com> - 2011-11-14 12:30 -0700

#15687 — Re: can't decompress data; zlib not available

FromSteve Edlefsen <steve@sprangle.com>
Date2011-11-14 12:30 -0700
SubjectRe: can't decompress data; zlib not available
Message-ID<mailman.2710.1321299024.27778.python-list@python.org>
Sorry about that.  Ubuntu 11.10.

I used

Plone-4.1.2-UnifiedInstaller.tar

which installed o.k.  I'm serving a webpage on my LAN.

I did a search on files named "python" on my machine.
There are 23 not including the ones in the Plone
buildout-cache in my account.  Seems like a lot of
applications install their own copy of python.

There are also

./usr/lib/x86_64-linux-gnu/libz.so
./usr/lib/libz.so

which, I believe, are the zlib libraries.

I've read that you can reinstall python with configure
using the "--with-zlib" option, but configure isn't in

/usr/local/Plone/Python-2.6/lib/python2.6/config

I think the python interpreter for the command line is
the one in /usr/bin/python.  Would this be the one I
reconfigure for zlib?  Should I simply install python from

Python-3.2.2.tgz?

On 11/13/2011 02:55 PM, Tim Wintle wrote:
> On Sun, 2011-11-13 at 11:17 -0700, Steve Edlefsen wrote:
>> which appears to install zlib when python is reinstalled.  Except I
>> can't run make without errors and there is no configuration file.
>>
>> How do I reinstall python to include zlib?
> Which OS are you on? Linux? BSD?
>
> How did you install Plone?
>
> First I'd check if there's a module shadowing the builtin zlib module -
> i.e. if you've got a local file called "zlib.py" which is getting
> imported by mistake.
>
>
> Fairly much all *nix systems will have a python installation out of the
> box - it looks like you need python2.6
>
> I've never had a missing zlib module - but it's possible that it might
> be missing if you don't have the zlib/deflate headers installed - if
> they're not available then I'd try installing them and then reinstalling
> the package you started with.
>
> Tim Wintle
>

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web