I am trying to install Python 2.6.5 on my web server running Debian 4.3.2.1-1. I unpacked the tarball, ran "./configure --prefix / usr /", then ran "make". I saw this message.
Failed to find the necessary bits to build these modules:
_bsddb _hashlib _ssl
_tkinter bsddb185 bz2
dl imageop readline
sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module name.
I thought it wasn’t, so I continued with the rest of the installation, which, it seems to me, just ran "make install" as root.
I tried to launch a new version of Python, and it worked, but some things were funny. The usual keyboard shortcuts in the interactive prompt did not work. I tried to import readline and the interpreter could not find it. Is there any way to make it work? I tried looking in setup.py as "make" said, but I could not find any hints that were useful to me. I would really like readline to work. I don't care about other modules.
EDIT: This is on a private DreamHost server. They have some older versions of Python with readline, and they seem to be working fine. I am trying to get it to work with this new version.
I would like to add that I'm kind of new to Linux, and I know little about installing packages and using RPM or apt-get.