From:             jordi at telematictraining dot com
Operating system: GNU/Linux Debian stable
PHP version:      5.2.0
PHP Bug Type:     *Compile Issues
Bug description:  Configure/compilation ignoring --with-pcre-regex=DIR 
parameter?

Description:
------------
Due to issue 39415 with PCRE 6.7, we tried to compile php 5.2.0 with our
own compilation of PCRE 6.6 by giving php's configure the parameter
--with-pcre-regex=DIR parameter (in instance, --with-pcre-regex=/usr/local
as long as we configured that prefix for PCRE).

The thing is that configure didn't complained, but once php got compiled,
phpinfo() showed that the PCRE version compiled is another: the one that's
installed on /usr/, that is, the current version available on the Debian
stable repositories (4.5-1.2sarge1).

In the config.log the things seem to be ok since it seems to obtain the
version that was requested on the configure:

PCRE_CPPLIB_VERSION='0:0:0'
PCRE_LIB_VERSION='0:1:0'
PCRE_POSIXLIB_VERSION='0:0:0'
PCRE_VERSION='6.6'
POSIX_LIB='libpcreposix.la'


Reproduce code:
---------------
See description.

Expected result:
----------------
Have the PCRE 6.6 version compiled into php 5.2.0 as we're pointing php's
configure the right place to get PCRE 6.6 headers & libs from, instead of
configure's actual behaving (taking the other system wide PCRE version,
4.5-1.2sarge1).

Actual result:
--------------
PCRE 4.5-1.2sarge1 is the one that gets compiled on php 5.2.0.

-- 
Edit bug report at http://bugs.php.net/?id=39589&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=39589&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=39589&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=39589&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=39589&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=39589&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=39589&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=39589&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=39589&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=39589&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=39589&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=39589&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=39589&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=39589&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=39589&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=39589&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=39589&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=39589&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=39589&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=39589&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=39589&r=mysqlcfg

Reply via email to