I want to install python to my local direcotory:
./configure --prefix=/home/alex/local-install && make && make install
When i import sqlite3 i get the following:
ImportError: No module named _sqlite3
the reason: there is no _sqlite3.so in /home/alex/local-install/lib/python2.6/lib-dynload.
How can i force python to build bindings for sqlite and other libraries (zlib for example)?
P.S. By the way: if i install sqlite3 to my local directory /home/alex/local-install before installing python - import sqlite3 works fine. That could be a solution: but in that case i have to install manually lots of libraries those i want to bind with python. Brrrrr :-[