Bug #64617 [Fbk]: --with-pcre-regex doesn't scan subdirectories
Edit report at https://bugs.php.net/bug.php?id=64617&edit=1
ID: 64617
Updated by: ab@php.net
Reported by: php at paulisageek dot com
Summary: --with-pcre-regex doesn't scan subdirectories
Status: Feedback
Type: Bug
Package: PCRE related
Operating System: unix
PHP Version: 5.4.13
Block user comment: N
Private report: N
New Comment:
Also i wouldn't say this is a bug, looking into non standard dirs is ignored by
many projects.
Previous Comments:
------------------------------------------------------------------------
[2013-06-06 17:42:21] ab@php.net
ln -s /usr/lib/x86_64-linux-gnu/libpcre.a /usr/lib/libpcre.a
But why would you want to use 8.12 when bundled is 8.32?
------------------------------------------------------------------------
[2013-06-06 15:15:55] kovtun at complex dot lviv dot ua
php-5.4.15 version
------------------------------------------------------------------------
[2013-06-06 15:14:00] kovtun at complex dot lviv dot ua
No, it doesn't help
./configure --prefix=/usr/local/php54 --with-pcre-regex=/usr --with-libdir=lib64
.........
checking for PCRE headers location... /usr/include
checking for PCRE library location... configure: error: Could not find libpcre.(a|so) in /usr
# dpkg -l |g pcre
ii libpcre3 8.12-3ubuntu2 Perl 5 Compatible
Regular Expression Library - runtime files
ii libpcre3-dev 8.12-3ubuntu2 Perl 5 Compatible
Regular Expression Library - development files
ii libpcrecpp0 8.12-3ubuntu2 Perl 5 Compatible
Regular Expression Library - C++ runtime files
# find /usr/ -name "libpcre.so"
/usr/lib/x86_64-linux-gnu/libpcre.so
# find /usr/ -name "libpcre.a"
/usr/lib/x86_64-linux-gnu/libpcre.a
------------------------------------------------------------------------
[2013-04-10 00:58:12] aharvey@php.net
Does --with-libdir=lib64 allow configure to work?
------------------------------------------------------------------------
[2013-04-09 21:00:22] php at paulisageek dot com
Description:
------------
on my machine (CentOS) the libpcre.a is in /usr/lib64/ and the pcre.h is in
/usr/include
If I try --with-pcre-regex=/usr then it can't find the library.
Test script:
---------------
./compile --with-pcre-regex=/usr
Expected result:
----------------
It compiles.
Actual result:
--------------
checking for PCRE library location... configure: error: Could not find libpcre.
(a|so) in /usr
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64617&edit=1
Thread (9 messages)