Re: Python 2.5 and sqlite

2008-11-13 Thread Thorsten Kampe
* "Martin v. Löwis" (Thu, 13 Nov 2008 20:58:35 +0100) > > If you think making a distinction between the SQLite package and the > > libsqlite package is pedantic - I don't have a problem with that. > > I think that is not only pedantic - it is also inaccurate. There is > no SQLite package, nor is

Re: Python 2.5 and sqlite

2008-11-13 Thread Martin v. Löwis
> If you think making a distinction between the SQLite package and the > libsqlite package is pedantic - I don't have a problem with that. I think that is not only pedantic - it is also inaccurate. There is no SQLite package, nor is there a libsqlite package, in the bigger+ world. From http://

Re: Python 2.5 and sqlite

2008-11-13 Thread david . lyon
Quoting Thorsten Kampe <[EMAIL PROTECTED]>: And even if you want to compile Python yourself, SQLite doesn't have to be _installed_. You simply can dump the files wherever you like and point Python to it. This is often necessary on a machine where you cannot install anything to the default locati

Re: Python 2.5 and sqlite

2008-11-13 Thread Thorsten Kampe
* (Wed, 12 Nov 2008 17:52:55 -0500) > Quoting Thorsten Kampe <[EMAIL PROTECTED]>: > > * (Tue, 11 Nov 2008 17:58:15 -0500) > > It checks whether it can find the SQLite header files. So the SQLite > > source (or the binary) is only needed for compiling Python. If you > > build SQLite support as a s

Re: Python 2.5 and sqlite

2008-11-12 Thread david . lyon
Thorsten, Quoting Thorsten Kampe <[EMAIL PROTECTED]>: * (Tue, 11 Nov 2008 17:58:15 -0500) > > Can you ask them if sqlite3 is installed? and if not... to install > > it? > > Why would he have to install SQLite?! Seems a stupid question. If he wants to use SQLite... it needs to be on the syst

Re: Python 2.5 and sqlite

2008-11-12 Thread Steve Holden
[EMAIL PROTECTED] wrote: > On Nov 12, 10:14 am, Thorsten Kampe <[EMAIL PROTECTED]> wrote: >> * [EMAIL PROTECTED] (Wed, 12 Nov 2008 01:27:01 -0800 (PST)) >> >>> Python (2.5.1) was compiled from source on the webserver that I use, >>> without an associated sqlite present on the machine, so trying "im

Re: Python 2.5 and sqlite

2008-11-12 Thread [EMAIL PROTECTED]
On Nov 12, 10:14 am, Thorsten Kampe <[EMAIL PROTECTED]> wrote: > * [EMAIL PROTECTED] (Wed, 12 Nov 2008 01:27:01 -0800 (PST)) > > > Python (2.5.1) was compiled from source on the webserver that I use, > > without an associated sqlite present on the machine, so trying "import > > sqlite3" in a python

Re: Python 2.5 and sqlite

2008-11-12 Thread Thorsten Kampe
* [EMAIL PROTECTED] (Wed, 12 Nov 2008 01:27:01 -0800 (PST)) > Python (2.5.1) was compiled from source on the webserver that I use, > without an associated sqlite present on the machine, so trying "import > sqlite3" in a python application gives an error, but aside from that > python is mostly behav

Re: Python 2.5 and sqlite

2008-11-12 Thread [EMAIL PROTECTED]
Thanks to everyone who replied. I should have been clearier with my initial post. Python (2.5.1) was compiled from source on the webserver that I use, without an associated sqlite present on the machine, so trying "import sqlite3" in a python application gives an error, but aside from that python i

Re: Python 2.5 and sqlite

2008-11-12 Thread Thorsten Kampe
* (Tue, 11 Nov 2008 17:58:15 -0500) > > > Can you ask them if sqlite3 is installed? and if not... to install > > > it? > > > > Why would he have to install SQLite?! > > Seems a stupid question. If he wants to use SQLite... it needs to be > on the system No. > ould include in your discussio

Re: Python 2.5 and sqlite

2008-11-11 Thread david . lyon
> Can you ask them if sqlite3 is installed? and if not... to install it? Why would he have to install SQLite?! Seems a stupid question. If he wants to use SQLite... it needs to be on the system ould include in your discussions "well sqlite3 is part of python" > "if it isn't, you haven'

Re: Python 2.5 and sqlite

2008-11-11 Thread Thorsten Kampe
* "Martin v. Löwis" (Tue, 11 Nov 2008 21:40:44 +0100) > > That's not what I meant: the question is, do you need SQLite /after/ > > you've built from source or if you install the Python binary. > > Depends on how you built SQLite on your system. If it was a static > library, you won't need it - if

Re: Python 2.5 and sqlite

2008-11-11 Thread Martin v. Löwis
> That's not what I meant: the question is, do you need SQLite /after/ > you've built from source or if you install the Python binary. Depends on how you built SQLite on your system. If it was a static library, you won't need it - if it is a shared library, you certainly need the shared library a

Re: Python 2.5 and sqlite

2008-11-11 Thread Guilherme Polo
On Tue, Nov 11, 2008 at 6:04 PM, Thorsten Kampe <[EMAIL PROTECTED]> wrote: > * "Martin v. Löwis" (Tue, 11 Nov 2008 20:54:37 +0100) >> > Sqlite3 is an optional part of Python. It has no dependencies on >> > SQLite. >> >> That's not true. To build the _sqlite3 module, you need the SQLite3 >> sources

Re: Python 2.5 and sqlite

2008-11-11 Thread Thorsten Kampe
* "Martin v. Löwis" (Tue, 11 Nov 2008 20:54:37 +0100) > > Sqlite3 is an optional part of Python. It has no dependencies on > > SQLite. > > That's not true. To build the _sqlite3 module, you need the SQLite3 > sources or binaries, in addition to the Python sources. That's not what I meant: the que

Re: Python 2.5 and sqlite

2008-11-11 Thread Martin v. Löwis
> Sqlite3 is an optional part of Python. It has no dependencies on SQLite. That's not true. To build the _sqlite3 module, you need the SQLite3 sources or binaries, in addition to the Python sources. Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list

Re: Python 2.5 and sqlite

2008-11-11 Thread Thorsten Kampe
* Thorsten Kampe (Tue, 11 Nov 2008 10:45:28 +0100) > * (Mon, 10 Nov 2008 18:48:28 -0500) > > Can you ask them if sqlite3 is installed? and if not... to install it? > > Why would he have to install SQLite?! > > > You could include in your discussions "well sqlite3 is part of python" > > "if it i

Re: Python 2.5 and sqlite

2008-11-11 Thread Thorsten Kampe
* (Mon, 10 Nov 2008 18:48:28 -0500) > Quoting "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>: > > On a (sun) webserver that I use, there is python 2.5.1 installed. I'd > > like to use sqlite3 with this, however sqlite3 is not installed on the > > webserver. If I were able to compile sqlite using a sun ma

Re: Python 2.5 and sqlite

2008-11-11 Thread Thorsten Kampe
* [EMAIL PROTECTED] (Mon, 10 Nov 2008 15:33:22 -0800 (PST)) > On a (sun) webserver that I use, there is python 2.5.1 installed. I'd > like to use sqlite3 with this, however sqlite3 is not installed on the > webserver. Python comes with SQLite support. It's not necessary to have SQLite installed f

Re: Python 2.5 and sqlite

2008-11-10 Thread david . lyon
Quoting "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>: Hi all, On a (sun) webserver that I use, there is python 2.5.1 installed. I'd like to use sqlite3 with this, however sqlite3 is not installed on the webserver. If I were able to compile sqlite using a sun machine (I normally use linux machines) a

Python 2.5 and sqlite

2008-11-10 Thread [EMAIL PROTECTED]
Hi all, On a (sun) webserver that I use, there is python 2.5.1 installed. I'd like to use sqlite3 with this, however sqlite3 is not installed on the webserver. If I were able to compile sqlite using a sun machine (I normally use linux machines) and place this in my lunix home account would I be ab