Ticket #4418 (closed defect: fixed)

Opened 17 months ago

Last modified 17 months ago

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

Changed 17 months ago by rouault

Fixed in trunk (r23675) and in branches/1.9 (r23676)

Changed 17 months ago by rouault

  • status changed from new to closed
  • version changed from unspecified to svn-trunk
  • resolution set to fixed
  • milestone set to 1.9.0

Pushed in time for RC2.

Note: See TracTickets for help on using tickets.