php.net |  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
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:
33 + 36 = ?
Subscribe to this entry?

 
 [2010-09-10 17:54 UTC] krishnamurthy dot srinivasan at intel dot com
Description:
------------
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



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-09-10 18:33 UTC] kalle@php.net
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-2024 The PHP Group
All rights reserved.
Last updated: Sun Feb 25 11:01:27 2024 UTC