Edit report at https://bugs.php.net/bug.php?id=64617&edit=1

 ID:                 64617
 Updated by:         a...@php.net
 Reported by:        php at paulisageek dot com
 Summary:            --with-pcre-regex doesn't scan subdirectories
-Status:             Feedback
+Status:             Not a bug
 Type:               Bug
 Package:            PCRE related
 Operating System:   unix
 PHP Version:        5.4.13
 Block user comment: N
 Private report:     N

 New Comment:

Here's the standard *nix directory structure 
http://en.wikipedia.org/wiki/Unix_directory_structure

Since you compile it yourself, you still could benefit from a better PCRE in 
PHP. 
That wouldn't affect anything on your system.


Previous Comments:
------------------------------------------------------------------------
[2013-06-07 07:20:36] kovtun at complex dot lviv dot ua

> But why would you want to use 8.12 when bundled is 8.32?

because 8.12 is current version in ubuntu-11.10


> ln -s /usr/lib/x86_64-linux-gnu/libpcre.a /usr/lib/libpcre.a

Thank You. It works.

>Also i wouldn't say this is a bug, looking into non standard dirs is ignored 
>by many projects.

sorry, I just don't have much experience and I don't know that 
/usr/lib/x86-64-linux-gnu/ is non-standard directory..

------------------------------------------------------------------------
[2013-06-06 17:43:36] a...@php.net

Also i wouldn't say this is a bug, looking into non standard dirs is ignored by 
many projects.

------------------------------------------------------------------------
[2013-06-06 17:42:21] a...@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

------------------------------------------------------------------------


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=64617


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=64617&edit=1

Reply via email to