It looks as if you're using a build from source. It looks like you'll need to rebuild Python after installing the libreadline-dev
or equivalent package on your distribution.
Update: There should be no special build steps needed, just running make
should do. There are some messages printed at the end about optional modules which couldn't be built because of missing dependencies (in addition to readline
, there are also Tcl/Tk
, zlib
, gdbm
and openssl
dependencies, for example).
If for some reason just running make
doesn't work, try running configure
again first (if make
doesn't already run it for you).