Possible Duplicate:
Installing Python-2.7 on Ubuntu 10.4
I am using CentOS, which bundled with python 2.4. But python 2.4 didn't come with a lot of new features so I downloaded source of 2.7.
After ./configure, make, make install, when I try to install setuptools or easy_install, it shows "zipimport.ZipImportError: can't decompress data; zlib not available".
I checked my zlib installions:
zlib.i386 1.2.3-3 installed
zlib-devel.i386 1.2.3-4.el5 installed
And yes, I aslo edited the Modules/Setup file under python source, uncomment the zlib line to make sure zlib includes.
But none of them works. The zlib in python still missing. Please help me.