LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   howto build python with sqlite support? (https://www.linuxquestions.org/questions/slackware-14/howto-build-python-with-sqlite-support-603848/)

b3rx 12-01-2007 11:05 PM

howto build python with sqlite support?
 
I now know that the python build in slackware was build without sqlite. so my question is this, how to build python with sqlite support? or do you have other recommendations other than re-building python..

im all ears.. (eyes that is)

cheers!

jong357 12-02-2007 09:31 AM

This could be what you want.

http://initd.org/tracker/pysqlite/wiki/pysqlite

I don't use SQL so.... But no. You don't have to rebuild python, just find a module to add on to it. That's all Slackware does anyway. Pat just lumps them in with Python cause it's a good place for them.

b3rx 12-03-2007 01:18 AM

oh i see. im well aware of the existence of pysqlite. it was incorporated to python in version 2.5 that is why im asking why the build of python included by slackware doesn't have this sqlite support?

thanks anyway..

jong357 12-03-2007 01:55 AM

Quote:

Originally Posted by jong357 (Post 2977533)
Pat just lumps them in with Python cause it's a good place for them.

Sorry. Was thinking of Perl. There is nothing lumped in with Slackware's Python package.

Since when was pysqlite ever a part of python proper? Slackware's python doesn't come with it because it's not a part of python (not that I'm seeing anyways). You need to install individual python modules if you want extra support.

b3rx 12-03-2007 07:57 PM

hmmm... its new to python 2.5

http://docs.python.org/lib/module-sqlite3.html

maybe Pat compiled python without the sqlite module support since He didn't include sqlite in slackware12.0


All times are GMT -5. The time now is 10:37 PM.