Doc #79479 [Ver]: --with-external-pcre option is not documented

From: Date: Thu, 16 Apr 2020 13:39:06 +0000
Subject: Doc #79479 [Ver]: --with-external-pcre option is not documented
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-17489@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 User updated by: warren dot zaccone at ericsson dot com Reported by: warren dot zaccone at ericsson dot com Summary: --with-external-pcre option is not documented Status: Verified Type: Documentation Problem Package: *Configuration Issues Operating System: Solaris 11 Sparc PHP Version: 7.4.4 Block user comment: N Private report: N New Comment: thank you. I set --with-external-pcre=yes and added export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH to my build script and PHP is built successfully. Previous Comments: ------------------------------------------------------------------------ [2020-04-15 15:46:25] cmb@php.net Indeed, it is like @bugreports stated above: --with-external-pcre is just a switch; the actual path configuration is done via pkg-config and can be configured by setting PKG_CONFIG_PATH. Changing to doc bug, because that is not yet documented in the PCRE installation chapter[1]. [1] <https://www.php.net/manual/en/pcre.installation.php> ------------------------------------------------------------------------ [2020-04-15 15:14:59] bugreports at gmail dot com -/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 ------------------------------------------------------------------------ [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.doc.bugs (#17489) next »