Comment 1 for bug 968561

Revision history for this message
Jeffrey Ness (jeffrey-ness) wrote :

Thank you very much for creating this report Eduardo.

As you mentioned my findings while trying to build php54 under EL5 where that of EL5 lacks the needed SQLite version:

1. The SPEC which was taken from Fedora Rawhide has a BuildRequires of sqlite-devel >= 3.6.0

   http://bazaar.launchpad.net/~ius-coredev/ius/php54/view/head:/SPECS/php54.spec#L84

2. EL5 base only provides sqlite-devel-3.3.6:

  http://mirror.centos.org/centos/5/os/x86_64/CentOS/

3. When trying to lower this requirement to >= 3.3.0 I receive a SQLite version error in the configure:

  checking for OpenSSL support... yes
  checking for Kerberos support... yes
  checking for krb5-config... /usr/kerberos/bin/krb5-config
  checking for DSA_get_default_method in -lssl... yes
  checking for X509_free in -lcrypto... yes
  checking for pkg-config... /usr/bin/pkg-config
  checking for PCRE headers location... /usr/include
  checking for PCRE library location... /usr/lib64
  checking whether to enable the SQLite3 extension... yes, shared
  checking for sqlite3 files in default path... found in /usr
  checking for SQLite 3.3.9+... checking for sqlite3_prepare_v2 in -lsqlite3... no
  not found
  configure: error: Please install SQLite 3.3.9 first or check libsqlite3 is present
  error: Bad exit status from /var/tmp/rpm-tmp.49258 (%build)
     Bad exit status from /var/tmp/rpm-tmp.49258 (%build)

We will need to look in to these dependancies and see if we can possibly build an updated sqlite3 package for EL5