Opened 7 years ago

Last modified 7 years ago

#1382 new defect

sql-de-lite ignores new versions of sqlite3 on Cygwin

Reported by: johnwcowan Owned by: Jim Ursetto
Priority: minor Milestone: someday
Component: extensions Version: 4.12.0
Keywords: sql-de-lite Cc:
Estimated difficulty: trivial

Description

The version-check program does not run under Cygwin, so sql-de-lite installation conservatively assumes it should use the bundled 3.0.17 version of sqlite3 instead of Cygwin's current 3.0.18.

The root cause of this is that Cygwin really isn't Windows and shouldn't set the windows: feature (see #1381). As a workaround, change line 49 of the setup file with s/windows/(and windows (not cygwin))/. A more portable resolution is to get rid of version-check altogether and run sqlite3 --version instead: the first few characters of the output (up to a space) are the formatted sqlite3 version number.

Change History (1)

comment:1 Changed 7 years ago by LemonBoy

A more portable resolution is to get rid of version-check altogether and run sqlite3 --version instead

Sadly you can't rely on the sqlite binary to be there, for example Debian ships the library and the command line program in separate packages.

Note: See TracTickets for help on using tickets.