compiling Python 2.7.1 with readline module fails on Debian (Virtualbox)

Benedict Verheyen benedict.verheyen at gmail.com
Thu Dec 23 08:09:41 EST 2010


On 23/12/2010 11:00, Stefan Sonnenberg-Carstens wrote:
<snip>

> apt-get build-dep python 2.6
> should do, the dependencies haven't changed (IMHO).
> Then wipe away $HOME/usr/local (if you can, btw),
> reset all env vars to default (perhaps reboot).
> Then untar python from scratch, cd into that dir, and type
> ./configure --prefix=$HOME/usr/local
> make
> make install
> 
> that should be all.
> Otherwise your box is somewhat messed up.
> 
> Anyway, your config.log is of special interest (did I say that already ?)

I started from scratch.
I tried to build readline 6 and 5, and installing the packages system wide
as opposed to $HOME/local, but everytime Python fails to find it.

On stable, apt-get build-dep python 2.6 doesn't work, but
apt-get build-dep python 2.5 does so i did that.

At configure time, the libreadline library is now found but i have no clue
why it didn't find the readline version i built.
At the end of the Python build, it still ends with this message:

Failed to build these modules:
readline

The other modules that where automatically installed via the build-dep
command are built successfully.
I have pasted the config.log here:
    http://paste.pocoo.org/show/308859/

Thanks,
Benedict




More information about the Python-list mailing list