View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000769 | Xdebug | Installation | public | 2012-01-27 15:38 | 2012-11-11 13:06 |
Reporter | bkendig | Assigned To | derick | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Platform | Macintosh | OS | Mac OS X | OS Version | 10.6.8 |
Product Version | 2.1.0 | ||||
Target Version | 2.2.2 | Fixed in Version | 2.2.0 | ||
Summary | 0000769: Xdebug 2.1.3 fails install because it doesn't understand Zend PHP version | ||||
Description | I have Zend Server 5.5 installed on my Mac. ZS5.5 comes with a php binary which reports its version as "5.3.8-ZS5.5.0". I also have the vanilla php 5.3.9 installed, in a directory earlier in my PATH, so that the default php that runs on my system is 5.3.9. When I try to install Xdebug 2.1.3 with "pear install xdebug", it downloads and tries to build and then fails with these messages: /private/tmp/pear/temp/xdebug/configure: line 4403: test: : integer expression expected I don't understand how it's finding Zend's php binary instead of the vanilla one, but it's being confused by the Zend php's version string. | ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 5.3.8 | ||||
|
I found out that the reason it's using Zend's php binary is because the 'pear' script is hardcoded to look for it, instead of in the path. |
|
It should work if you use the correct pear binary from your vanilla PHP version as well. I'm closing this as what ZS is doing to the version number is a "crime "(and goes against the requirements at http://www.php.net/manual/en/function.version-compare.php). cheers, |
|
The version-checking code in config.m4 splits the php version number by periods, then multiplies each piece by 100. It will fail if the php version number contains anything other than integers and periods. I don't see version numbering requirements in "http://www.php.net/manual/en/function.version-compare.php"; that only explains how the version_compare() function compares versions.. (If the configure script used php and called version_compare() instead of using awk, it would work.) |
|
I'm closing this, as Xdebug 2.2.x has support for PHP 5.4 now. |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-01-27 15:38 | bkendig | New Issue | |
2012-01-27 15:47 | bkendig | Note Added: 0001897 | |
2012-02-05 17:13 | derick | Note Added: 0001909 | |
2012-02-05 17:13 | derick | Status | new => resolved |
2012-02-05 17:13 | derick | Resolution | open => no change required |
2012-02-05 17:13 | derick | Assigned To | => derick |
2012-02-06 14:56 | bkendig | Note Added: 0001910 | |
2012-02-06 14:56 | bkendig | Status | resolved => feedback |
2012-02-06 14:56 | bkendig | Resolution | no change required => reopened |
2012-03-12 16:49 | derick | Target Version | => 2.2.1 |
2012-07-14 22:14 | derick | Target Version | 2.2.1 => 2.2.2 |
2012-11-11 13:06 | derick | Note Added: 0002384 | |
2012-11-11 13:06 | derick | Status | feedback => resolved |
2012-11-11 13:06 | derick | Fixed in Version | => 2.2.0 |
2012-11-11 13:06 | derick | Resolution | reopened => no change required |