php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59248 APC build errors - apc_php_pcre.h: No such file or directory
Submitted: 2010-06-01 23:46 UTC Modified: 2010-06-18 16:22 UTC
From: alex at malexmedia dot net Assigned:
Status: Closed Package: APC (PECL)
PHP Version: 5.1.6 OS: Centos 5 (Linux)
Private report: No CVE-ID: None
 [2010-06-01 23:46 UTC] alex at malexmedia dot net
Description:
------------
Trying to build APC either manually or via PECL results in build errors due to a missing header file. (Probably related to Bug #15968)

Actual result:
--------------
 gcc -I. -I/tmp/APC-3.1.3p1 -DPHP_ATOM_INC -I/tmp/APC-3.1.3p1/include -I/tmp/APC-3.1.3p1/main -I/tmp/APC-3.1.3p1 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -DHAVE_CONFIG_H -g -O2 -c /tmp/APC-3.1.3p1/apc.c  -fPIC -DPIC -o .libs/apc.o
/tmp/APC-3.1.3p1/apc.c:41:33: error: apc_php_pcre.h: No such file or directory
/tmp/APC-3.1.3p1/apc.c:368: error: expected specifier-qualifier-list before 'pcre'
/tmp/APC-3.1.3p1/apc.c: In function 'apc_regex_compile_array':
/tmp/APC-3.1.3p1/apc.c:429: error: 'apc_regex' has no member named 'preg'
/tmp/APC-3.1.3p1/apc.c:429: error: 'apc_regex' has no member named 'preg'
/tmp/APC-3.1.3p1/apc.c:430: error: 'apc_regex' has no member named 'nreg'
/tmp/APC-3.1.3p1/apc.c:430: error: 'apc_regex' has no member named 'nreg'
/tmp/APC-3.1.3p1/apc.c: In function 'apc_regex_match_array':
/tmp/APC-3.1.3p1/apc.c:462: error: 'apc_regex' has no member named 'preg'
/tmp/APC-3.1.3p1/apc.c:462: error: 'apc_regex' has no member named 'preg'
/tmp/APC-3.1.3p1/apc.c:463: error: 'apc_regex' has no member named 'nreg'
/tmp/APC-3.1.3p1/apc.c:463: error: 'apc_regex' has no member named 'nreg'
make: *** [apc.lo] Error 1


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-06-18 16:22 UTC] gopalv82 at yahoo dot com
File is definitely missing in the 3.1.3p1 package.

http://svn.php.net/viewvc/pecl/apc/trunk/package.xml?r1=289589&r2=289590

The fix is post-3.1.3p1 release. The latest SVN should work fine for you.

Can you please test that out for me?
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 07:01:30 2024 UTC