|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59411 Compile problem
Submitted: 2010-09-10 17:54 UTC Modified: 2010-09-10 18:33 UTC
From: krishnamurthy dot srinivasan at intel dot com Assigned:
Status: Not a bug Package: APC (PECL)
PHP Version: 5.3.2 OS: RHEL 5.5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: krishnamurthy dot srinivasan at intel dot com
New email:
PHP Version: OS:


 [2010-09-10 17:54 UTC] krishnamurthy dot srinivasan at intel dot com
My PHP version is actually 5.3.3 (the choice was not available in the drop down-above).

I get the following error when I try to compile APC:

/bin/sh /opt/apc/APC-3.0.19/libtool --mode=compile gcc -O3 -I. -I/opt/apc/APC-3.0.19 -DPHP_ATOM_INC -I/opt/apc/APC-3.0.19/include -I/opt/apc/APC-3.0.19/main -I/opt/apc/APC-3.0.19 -I/opt/php533/include/php -I/opt/php533/include/php/main -I/opt/php533/include/php/TSRM -I/opt/php533/include/php/Zend -I/opt/php533/include/php/ext -I/opt/php533/include/php/ext/date/lib  -DHAVE_CONFIG_H  -O3   -c /opt/apc/APC-3.0.19/php_apc.c -o php_apc.lo
 gcc -O3 -I. -I/opt/apc/APC-3.0.19 -DPHP_ATOM_INC -I/opt/apc/APC-3.0.19/include -I/opt/apc/APC-3.0.19/main -I/opt/apc/APC-3.0.19 -I/opt/php533/include/php -I/opt/php533/include/php/main -I/opt/php533/include/php/TSRM -I/opt/php533/include/php/Zend -I/opt/php533/include/php/ext -I/opt/php533/include/php/ext/date/lib -DHAVE_CONFIG_H -O3 -c /opt/apc/APC-3.0.19/php_apc.c  -fPIC -DPIC -o .libs/php_apc.o
/opt/apc/APC-3.0.19/php_apc.c:959: error: duplicate ?static?
make: *** [php_apc.lo] Error 1


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-09-10 18:33 UTC]
We do not support 3.0.19, please update to apc 3.1.x (although its beta)
 [2010-09-23 23:51 UTC] brent dot sowers at gmail dot com
I'm running into the same thing... you mean to say you don't support your last stable version and you have multiple in beta?  WTH?  I'm not installing APC manually, I'm executing a PECL install of apc.  What are my alternatives now??
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Dec 04 07:01:26 2023 UTC