[Python-Dev] Make test failed issues for phyton 3.2 on centos5.5 (original) (raw)

David Malcolm dmalcolm at redhat.com
Mon Apr 11 20:04:38 CEST 2011


On Mon, 2011-04-11 at 07:58 -0400, Tres Seaver wrote:

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

On 04/10/2011 08:00 PM, Stephen Yeng wrote: > 11 skips unexpected on linux2: > testbz2 testdbmgnu testdbmndbm testgzip testreadline > testssl testtcl testtk testttkguionly testttktextonly > testzlib Looks like you are missing a bunch of development headers on the system (at the time Python's 'configure' was run). E.g., on a Debian system, $ sudo apt-get install zlib1g-dev libbz-dev libreadline-dev # etc

On RHEL 5 (and therefore presumably CentOS), the corresponding command looks something like this:

sudo yum install
readline-devel openssl-devel gmp-devel
ncurses-devel gdbm-devel zlib-devel expat-devel
libGL-devel tk tix gcc-c++ libX11-devel glibc-devel
bzip2 tar findutils pkgconfig tcl-devel tk-devel
tix-devel bzip2-devel sqlite-devel
db4-devel
libffi-devel

You'll want to rerun "configure" after installing these dependencies.

FWIW neither the devguide nor http://docs.python.org/using/unix.html#building-python seems to have a handy guide to how to install all useful build-time deps on various distros.

I added something similar for PyPy here: http://codespeak.net/pypy/dist/pypy/doc/getting-started-python.html#translating-the-pypy-python-interpreter at the PyCon sprint.

Hope this is helpful Dave



More information about the Python-Dev mailing list