I am trying to set up the compiled version of CPython, on Ubuntu 12.04, by following the python developer guide. Even after installing the dependent packages lzma and sqlite3,
This works for me (Python 3.4, Ubuntu 13.04) meaning "make" completes cleanly:
sudo apt-get install build-essential python-dev libncurses*-dev \ liblzma-dev libgdbm-dev libsqlite3-dev \ libbz2-dev tk-dev
Install:
cd python3.4 make clean && ./configure && make && sudo make install