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:

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


Previous Comments:
------------------------------------------------------------------------
[2013-04-10 00:58:12] ahar...@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

Reply via email to