delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/11/24/12:02:08

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 24 Nov 2008 12:02:25 -0500
From: Jason Tishler <jason AT tishler DOT net>
Subject: Re: python package missing _sqlite3.dll in /usr/lib/python2.5/sqlite3
In-reply-to: <4925B1F1.505@etr-usa.com>
To: cygwin AT cygwin DOT com
Mail-followup-to: cygwin AT cygwin DOT com
Message-id: <20081124170225.GC5984@tishler.net>
MIME-version: 1.0
References: <A99BD4979815478BB0FBAC447502DC0D AT aji> <4925B1F1 DOT 505 AT etr-usa DOT com>
User-Agent: Mutt/1.4.2.1i
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Thu, Nov 20, 2008 at 11:52:33AM -0700, Warren Young wrote:
> Tim Hoel wrote:
> >But when I did "import sqlite3", I 
> >got the following error:
> >
> >   ImportError:  No module named _sqlite3
> 
> I thought this was fixed 2 months ago:
> 
> 	http://cygwin.com/ml/cygwin/2008-08/msg00156.html
> 
> Cygwin's Python currently links to SQLite statically, but from that 
> thread, this doesn't seem to be a problem.

It was -- see the following thread for the details:

    http://cygwin.com/ml/cygwin/2008-08/msg00156.html

> If it turns out that you really do need a dynamic library to make
> pysqlite happy, that's probably something the Cygwin Python
> maintainer, Jason Tishler, needs to take care of.

Only the static version is currently required.

> My SQLite packages for Cygwin include both static and dynamic
> libraries, it's just that Cygwin's Python doesn't know how to build
> against the dynamic ones yet.

Correct.

> It'd be best if Python and SQLite can remain separate, with Python
> modules building against the standard SQLite package files.  I'd hate
> to see a separate distribution of SQLite included with Python.
> There's not enough maintainer bandwidth to go around even without
> wasting it on duplicate packaging like that.

Why are you concerned about the above?  I never proposed including
SQLite with Python.  Instead, I'm trying to get Python changed to build
the SQLite extension module against the dynamic SQLite library.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019