Ticket #4418 (closed defect: fixed)
gdal 1.9.0RC1 doesn't compile on CentOS 5 (and 4) when sqlite3 support is asked
| Reported by: | rouault | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.9.0 |
| Component: | OGR_SF | Version: | svn-trunk |
| Severity: | normal | Keywords: | gml sqlite centos |
| Cc: |
Description
Compilation fails in the OGR SQLite and GML driver due to the use of methods such as sqlite_open_v2(), sqlite_prepare_v2() and sqlite3_clear_bindings() that are not available in the ancient version of sqlite (3.3.6) that ships with those 2 OS versions.
We can use sqlite_open() and sqlite_prepare() as a workaround if sqlite < 3.6 for example. As far as sqlite3_clear_bindings() is concerned, it is used by the OGR GML hugeresolver, which is a new thing and an optional one, so let's just disable it if sqlite < 3.6
Change History
Note: See
TracTickets for help on using
tickets.
