Bug #76256 [Asn]: Configure doesn't find external pcre2

From: Date: Thu, 26 Apr 2018 12:32:45 +0000
Subject: Bug #76256 [Asn]: Configure doesn't find external pcre2
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-214907@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76256&edit=1 ID: 76256 Updated by: ab@php.net Reported by: pprkut at slackware dot com Summary: Configure doesn't find external pcre2 Status: Assigned Type: Bug Package: *Compile Issues Operating System: Linux PHP Version: master-Git-2018-04-23 (Git) Assigned To: cmb Block user comment: N Private report: N New Comment: @pprkut thanks for the checks so far. A more robust approach is now pushed. If everything is ok, i'd see the bug as fixed. Thanks. Previous Comments: ------------------------------------------------------------------------ [2018-04-25 17:00:25] pprkut at slackware dot com FWIW, what's there now seems to work :) ------------------------------------------------------------------------ [2018-04-25 16:28:42] ab@php.net Thinking more about it, it probably needs a clear rewrite of this piece. Likely based on pkg-config, pcre2-config and so on by default. It's a new stuff, so there's no reason to modernize. I guess one more rewrite is to follow, with a better approach. Thanks. ------------------------------------------------------------------------ [2018-04-25 14:31:56] ab@php.net @cmb just fixed the regex as well. Thanks. ------------------------------------------------------------------------ [2018-04-25 14:18:41] ab@php.net @pprkut these issues should have been fixed just now. Please check. Thanks. ------------------------------------------------------------------------ [2018-04-24 21:41:34] cmb@php.net Thanks – re-opening. Actually, there are even further issues at least with the version detection[1]; $pcre_version is "210222" for me (PCRE 10.22) due to the 2 in PCRE2. > checking for pcre2_jit_exec in -lpcre2... no For some reason, pcre-jit seems to be supported for the bundled libpcre2 only[2]. [1] <https://github.com/php/php-src/blob/e79013a71fdc951f9a5842ffe8a0e3af63c31111/ext/pcre/config0.m4#L36-L37> [2] <https://github.com/php/php-src/blob/e79013a71fdc951f9a5842ffe8a0e3af63c31111/ext/pcre/config0.m4#L12> ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=76256 -- Edit this bug report at https://bugs.php.net/bug.php?id=76256&edit=1

« previous php.bugs (#214907) next »