Bug #64617 [Com]: --with-pcre-regex doesn't scan subdirectories
| From: | kovtun at complex dot lviv dot ua | Date: | Fri, 07 Jun 2013 07:20:36 +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-179384@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:
> 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..
Previous Comments:
------------------------------------------------------------------------
[2013-06-06 17:43:36] ab@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] 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?
------------------------------------------------------------------------
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