|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67658 configure does not detect missing pcre.h
Submitted: 2014-07-21 07:57 UTC Modified: 2014-07-24 20:06 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: Assigned:
Status: Open Package: oauth (PECL)
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2014-07-21 07:57 UTC]
pecl/oauth's phpize and configure ran without problems, but "make" failed because pcre.h was missing. I had to install libpcre3-dev to get it working (debian) 

configure should detect that pcre.h is missing.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-07-24 15:19 UTC]
Automatic comment from SVN on behalf of jawed
Log: Bug #67658 (configure does not detect missing pcre.h)
 [2014-07-24 15:26 UTC]
Automatic comment from SVN on behalf of jawed
Log: Bug 67658, adding fail statement for header check
 [2014-07-24 15:26 UTC]
Added the header check, can you try trunk?
 [2014-07-24 20:06 UTC]
- I get an error message with ./configure when pcre.h is not installed
- No error when it is installed. 

SVN works fine.
 [2014-07-27 08:17 UTC]
oauth doesn't includes pcre.h, so doesn't need to check for this header.

So I think this rev 334377 and 334378 should be reverted.

Deeper explanation:
oauth includes ext/pcre/php_pcre.h (from php extension)
php_cre.h includes 
- pcre.h when build with system pcre
- pcrelib/pcre.h (from php).

I rather think this is a bug in your php distribution. Linux distro usually use system pcre, so the php-devel package MUST have a dependency on pcre-devel.
 [2014-08-01 08:24 UTC]
libpcre3-dev added as dependency of php5-dev in the debian git packaging, it will be fixed as part of next release.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Apr 10 23:01:24 2021 UTC