php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64080 Cannot compile 3.1.14 for PHP 5.1.x
Submitted: 2013-01-26 06:07 UTC Modified: 2013-02-18 23:30 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: mscdex at mscdex dot net Assigned: gopalv (profile)
Status: Closed Package: APC (PECL)
PHP Version: 5.1.6 OS: Linux
Private report: No CVE-ID: None
 [2013-01-26 06:07 UTC] mscdex at mscdex dot net
Description:
------------
While compiling APC 3.1.14 (with default options via `pecl install apc`) on CentOS 
5 (PHP 5.1.6) I get the following compiler error:

/tmp/pear/install/APC/apc_zend.c: In function 'apc_op_ZEND_INCLUDE_OR_EVAL':
/tmp/pear/install/APC/apc_zend.c:184: error: called object 'realpath' is not a 
function

I should note that compiling/installing APC 3.1.13 works just fine. If this can't 
be fixed to work with PHP 5.1, then the documentation should be updated to reflect 
the proper minimum PHP version requirement.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-02-18 21:06 UTC] gopalv@php.net
-PHP Version: Irrelevant +PHP Version: 5.1.6
 [2013-02-18 21:06 UTC] gopalv@php.net
This seems like an odd regression, will look at this today.
 [2013-02-18 23:25 UTC] gopalv@php.net
this is probably because of the char *realpath in the scope conflicting with

#define VCWD_REALPATH(path, real_path) realpath(path, real_path)

will fix it today.
 [2013-02-18 23:25 UTC] gopalv@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: gopalv
 [2013-02-18 23:29 UTC] gopalv@php.net
Automatic comment from SVN on behalf of gopalv
Revision: http://svn.php.net/viewvc/?view=revision&revision=329499
Log: [Bug #64080] - variable "realpath" renamed to "real_path" to avoid conflicts with realpath() function (for 5.2.x compat)
 [2013-02-18 23:30 UTC] gopalv@php.net
Fixed in svn, please test

http://news.php.net/php.pecl.cvs/19412
 [2013-02-18 23:30 UTC] gopalv@php.net
-Status: Assigned +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 09:01:27 2024 UTC