Bug #64617 [Com]: --with-pcre-regex doesn't scan subdirectories
| From: | kovtun at complex dot lviv dot ua | Date: | Thu, 06 Jun 2013 15:15:55 +0000 |
| Subject: | Bug #64617 [Com]: --with-pcre-regex doesn't scan subdirectories | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-179362@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=64617&edit=1
ID: 64617
Comment by: kovtun at complex dot lviv dot ua
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:
php-5.4.15 version
Previous Comments:
------------------------------------------------------------------------
[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