php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56159 APC doesnt compile with PHP5
Submitted: 2004-08-07 14:50 UTC Modified: 2012-07-08 03:09 UTC
From: mike at blueroot dot net Assigned: chx (profile)
Status: Closed Package: APC (PECL)
PHP Version: 5.0.0b1 (beta1) OS: Redhat 9
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mike at blueroot dot net
New email:
PHP Version: OS:

 

 [2004-08-07 14:50 UTC] mike at blueroot dot net
Description:
------------
/php5/bin/pear install apc 

configure seems to complete correctly with no errors, but make fails 

running: make
/bin/sh /var/tmp/pear-build-root/APC-2.0.4/libtool --mode=compile gcc  -I. -I/tmp/tmpOHwpNC/APC-2.0.4 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/APC-2.0.4/include -I/var/tmp/pear-build-root/APC-2.0.4/main -I/tmp/tmpOHwpNC/APC-2.0.4 -I/php5/include/php -I/php5/include/php/main -I/php5/include/php/Zend -I/php5/include/php/TSRM  -DHAVE_CONFIG_H  -g -O2  -prefer-pic -c /tmp/tmpOHwpNC/APC-2.0.4/apc.c -o apc.lo
gcc -I. -I/tmp/tmpOHwpNC/APC-2.0.4 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/APC-2.0.4/include -I/var/tmp/pear-build-root/APC-2.0.4/main -I/tmp/tmpOHwpNC/APC-2.0.4 -I/php5/include/php -I/php5/include/php/main -I/php5/include/php/Zend -I/php5/include/php/TSRM -DHAVE_CONFIG_H -g -O2 -c /tmp/tmpOHwpNC/APC-2.0.4/apc.c  -fPIC -DPIC -o apc.lo
/bin/sh /var/tmp/pear-build-root/APC-2.0.4/libtool --mode=compile gcc  -I. -I/tmp/tmpOHwpNC/APC-2.0.4 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/APC-2.0.4/include -I/var/tmp/pear-build-root/APC-2.0.4/main -I/tmp/tmpOHwpNC/APC-2.0.4 -I/php5/include/php -I/php5/include/php/main -I/php5/include/php/Zend -I/php5/include/php/TSRM  -DHAVE_CONFIG_H  -g -O2  -prefer-pic -c /tmp/tmpOHwpNC/APC-2.0.4/apc_cache.c -o apc_cache.lo
gcc -I. -I/tmp/tmpOHwpNC/APC-2.0.4 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/APC-2.0.4/include -I/var/tmp/pear-build-root/APC-2.0.4/main -I/tmp/tmpOHwpNC/APC-2.0.4 -I/php5/include/php -I/php5/include/php/main -I/php5/include/php/Zend -I/php5/include/php/TSRM -DHAVE_CONFIG_H -g -O2 -c /tmp/tmpOHwpNC/APC-2.0.4/apc_cache.c  -fPIC -DPIC -o apc_cache.lo
/tmp/tmpOHwpNC/APC-2.0.4/apc_cache.c: In function `prevent_garbage_collection':
/tmp/tmpOHwpNC/APC-2.0.4/apc_cache.c:176: subscripted value is neither array nor pointer
make: *** [apc_cache.lo] Error 1
`make' failed



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-08-19 10:27 UTC] gero at dowhatyoufeel dot de
Same for me. PHP 5.0.1, Suse 8.1
 [2004-08-19 11:54 UTC] gschlossnagle@php.net
APC is not PHP5 compatible yet.
 [2004-10-22 19:09 UTC] jnichols959 at gmail dot com
any idea of a timeline for PHP5 support?
 [2004-11-23 07:04 UTC] peter at muresinfo dot ro
any idea of a timeline for PHP5 support?

Would be nice to have such a feature.
 [2012-07-08 03:09 UTC] chx@php.net
-Status: Assigned +Status: Closed -Assigned To: +Assigned To: chx
 [2012-07-08 03:09 UTC] chx@php.net
Cleaning the APC queue a little.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 13 04:01:27 2025 UTC