This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.5.24 -2 cygwin python 2.5.1 problem, "import sqlite3" fail

On Wed, Nov 07, 2007 at 06:54:08AM +0000, Max Bowsher wrote:
> Jason Tishler wrote:
> > [snip]
> > 
> > Understood, but as I indicated above, SQLite is not part of the
> > standard Cygwin distribution.  If someone contributes SQLite, then I
> > will release Cygwin Python with SQLite support enabled.
> Sorry about that, I've had SQLite sitting in an ITPed, GTGed, and
> forgotten-about state for a long time.
> Now uploaded.

Unfortunately, Cygwin Python SQLite support does not build OOTB:

sqlite: found /usr/include/sqlite3.h
/usr/include/sqlite3.h: version 3.5.1
Traceback (most recent call last):
  File "./", line 1525, in <module>
  File "./", line 1520, in main
  File "/tmp/python-2.5.1-3/Lib/distutils/", line 151, in setup
  File "/tmp/python-2.5.1-3/Lib/distutils/", line 974, in run_commands
  File "/tmp/python-2.5.1-3/Lib/distutils/", line 994, in run_command
  File "/tmp/python-2.5.1-3/Lib/distutils/command/", line 112, in run
  File "/tmp/python-2.5.1-3/Lib/distutils/", line 333, in run_command
  File "/tmp/python-2.5.1-3/Lib/distutils/", line 994, in run_command
  File "/tmp/python-2.5.1-3/Lib/distutils/command/", line 290, in run
  File "./", line 97, in build_extensions
  File "./", line 795, in detect_modules
    sqlite_libdir = [os.path.abspath(os.path.dirname(sqlite_libfile))]
  File "/tmp/python-2.5.1-3/Lib/", line 119, in dirname
    return split(p)[0]
  File "/tmp/python-2.5.1-3/Lib/", line 77, in split
    i = p.rfind('/') + 1
AttributeError: 'NoneType' object has no attribute 'rfind'


PGP/GPG Key: or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]