← Back to team overview

ius-coredev team mailing list archive

[Bug 968561] Re: WL: PHP 5.4 for EL5

 

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

-- 
You received this bug notification because you are a member of IUS Core
Development, which is subscribed to IUS Community Project.
https://bugs.launchpad.net/bugs/968561

Title:
  WL: PHP 5.4 for EL5

Status in IUS Community Project:
  New

Bug description:
  DESCRIPTION: PHP is a widely-used general-purpose scripting language
  that is especially suited for Web development and can be embedded into
  HTML.

  REASON: Some of the key new features include: traits, a shortened
  array syntax, a built-in webserver for testing purposes and more. PHP
  5.4.0 significantly improves performance, memory footprint and fixes
  over 100 bugs. It also removes the "EXPERIMENTAL" flag from PHP-FPM,
  making it "STABLE" now.

  CAVEAT: Currently it's not possible to compile PHP 5.4 on EL5 due to
  sqlite3 dependency. PHP 5.4 requires 3.3.9 and EL5 uses 3.3.6. It
  requires creating a new sqlite3 package to satisfy this dependency.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ius/+bug/968561/+subscriptions


References