Bug #79479 [Com]: --with-external-pcre option is not working

From: Date: Wed, 15 Apr 2020 15:14:59 +0000
Subject: Bug #79479 [Com]: --with-external-pcre option is not working
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-226590@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79479&edit=1 ID: 79479 Comment by: bugreports at gmail dot com Reported by: warren dot zaccone at ericsson dot com Summary: --with-external-pcre option is not working Status: Open Type: Bug Package: *Configuration Issues Operating System: Solaris 11 Sparc PHP Version: 7.4.4 Block user comment: N Private report: N New Comment: -/ocnigure --hepp don#t state that --with-external-pcre is supüposed to take an agrument! you are only switching between bundeled or system library and for everything else PKG_CONFIG_PATH is your freind since you are not using a system library https://www.php.net/manual/en/migration74.other-changes.php#migration74.other-changes.pkg-config Previous Comments: ------------------------------------------------------------------------ [2020-04-15 15:05:55] warren dot zaccone at ericsson dot com Description: ------------ Upgrading from PHP 7.3 to 7.4. I have pcre2 10.33 installed in /usr/local. I previously specified --with-pcre-regex=/usr/local. Since this option is removed in php 7.4 I changed it to --with-external-pcre=/usr/local and the configure is now failing. I receive the following messages checking for libpcre2-8 >= 10.30... no configure: error: Package requirements (libpcre2-8 >= 10.30) were not met: No package 'libpcre2-8' found Expected result: ---------------- I have pcre2 installed in /usr/local. php 7.3. configure used it with --with-pcre-regex=/usr/local however --with-external-pcre2=/usr/local in php 7.4 does not work. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=79479&edit=1

« previous php.bugs (#226590) next »