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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
11 - 4 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 11:01:30 2024 UTC