ID: 43857
Updated by: [EMAIL PROTECTED]
Reported By: bjoern at xrow dot de
Status: Assigned
Bug Type: Compile Failure
Operating System: linux
PHP Version: 5.2.6
Assigned To: cellog
New Comment:
this is now fixed in PEAR CVS, but I will keep this open until the
install phar in php's source is updated
Previous Comments:
------------------------------------------------------------------------
[2008-11-29 03:43:14] [EMAIL PROTECTED]
This is a very difficult problem to solve for all cases. Most fixes
I've tried thus far break many other cases.
For instance, the calls to "phpize" and "php-config" are done inside
the source of PEAR/Builder.php. If we manually modify the source of
PEAR/Builder.php, the instant a user calls "pear config-set php_bin
/path/to/some/other/php" the whole thing breaks.
So, what I am going to do is provide two new options to the "install"
"upgrade" and "upgrade-all" commands which are designed to account for
--program-suffix or --program-prefix being used, --program-suffix and
--program-prefix which will programmatically append/prepend for the
phpize/php-config commands. I'll also provide 2 new config variables
that can be set to make this automatic.
This new feature will not appear until PEAR 1.8.0 is released, which
will hopefully be before PHP 5.3.0
------------------------------------------------------------------------
[2008-11-02 13:25:48] [EMAIL PROTECTED]
Greg, if you're the wrong person this is assigned to, please assign
to the right one. If you are the right person: FIX IT.
------------------------------------------------------------------------
[2008-02-18 11:05:10] [EMAIL PROTECTED]
This is actually PEAR bug, but as it's quite tightly connected to PHP
we can keep this here. I don't know where that pecl script is and I
don't want to touch it either since there's some new installer
cooking..so Greg, can you please fix it to use the provided php-config
instead?
(note: php-config also might use the --program-prefix and
--program-suffix options!)
------------------------------------------------------------------------
[2008-01-15 17:02:35] bjoern at xrow dot de
Description:
------------
Hi,
I used
./configure --program-suffix=5 --prefix=/usr/local/php5
when i try to run stuff like bin/pecl it fails since the script created
by the installer didn`t take the suffix in account for pecl
--------- lines from bin/pecl
if test "/usr/local/php5/bin/php" = '@'php_bin'@'; then
PHP=php
else
PHP="/usr/local/php5/bin/php"
fi
------------
after fixing that manually i tryied it again and it seems also the
correct path to phpize is missing with is phpize5
/usr/local/php5/bin/pecl install xdebug
^[[A^[[Adownloading xdebug-2.0.2.tgz ...
Starting to download xdebug-2.0.2.tgz (279,621 bytes)
.................done: 279,621 bytes
65 source files, building
running: phpize
Configuring for:
PHP Api Version: 20020918
Zend Module Api No: 20020429
Zend Extension Api No: 20050606
ERROR: `phpize' failed
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43857&edit=1