I am trying to build python2.6 with support for the sqlite3 module.
I have successfully built and installed the sqlite-amalgamation to a non standard path: ./configure --prefix=/my/non/standard/install/path/sqlite/3.6.20/ make make install
I would like the python2.6 build to use this path & build the sqlite3 module. I checked './configure --help' but did not see any type of "--with-sqlite-dir=path" option.
How can I let python's configure know where sqlite lives?
Rather than rebuilding python
, the simplest way to get the most recent sqlite3
is to install the pysqlite package which is the more up-to-date version of the standard library's sqlite3
module. It includes support for more recent sqlite3
features and is upwards compatible. More details are here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With