Summary

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

Metadata

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.

Changes and comments

[2017-06-28 13:00:37 UTC] LemonBoy wrote:

> 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.