← Back to team overview

ius-coredev team mailing list archive

[Bug 1039187] Re: build PHP 5.4 against bundled PCRE instead of system PCRE

 

What does your spec look like? The error is about zlib which is the line
after the PCRE line, did you comment out the PCRE line instead of
deleting it? I've seen errors like that happen when I've commented stuff
out instead of deleting it.

I got it to build and install fine and proposed a merge at
https://code.launchpad.net/~mmckinst/ius/php54/+merge/120571 .

After upgrading a server with the new RPMs, APC was throwing this error:

PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib64/php/modules/apc.so' - /usr/lib64/php/modules/apc.so:
undefined symbol: pcre_exec in Unknown on line 0

Which was fixed by rebuilding it against the new PHP. I'm guessing any
PHP modules that uses PCRE will have to be rebuilt.

-- 
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/1039187

Title:
  build PHP 5.4 against bundled PCRE instead of system PCRE

Status in IUS Community Project:
  Won't Fix

Bug description:
  Right now PHP 5.4 on el6 is built agains the system PCRE, with this:

  %if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
          --with-pcre-regex=%{_prefix} \
  %endif

  On el5, it will use the bundled PCRE from PHP.

  It would be great if it was built against the PCRE bundled with PHP so
  it has a more recent version. This is the way it is done with PHP 5.3,
  changed on 'Jan 11 2011' for 5.3.5-1.ius .

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


References