|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42292 Problems with php-config/phpize in current 5_2 CVS
Submitted: 2007-08-14 06:48 UTC Modified: 2007-08-14 08:44 UTC
From: crrodriguez at suse dot de Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5CVS-2007-08-14 (CVS) OS: Linux
Private report: No CVE-ID: None
 [2007-08-14 06:48 UTC] crrodriguez at suse dot de
Currently and since the latest changes to the PHP build system,some PECL extensions fails to build properly, the problem seems to be related with php-config and or phpize not behaving like all previuos versions.

Reproduce code:
Try to compile either:

1. php-gtk
2. imagick2

Expected result:
build correctly , note that all older PHP versions works fine, this errors appeared somewhere at RC1 or so.

Actual result:
in the case of php-gtk

checking for PHP extension directory... /usr/lib64/php5/extensions
checking for PHP installed headers prefix... /usr/include/php5
checking for re2c... re2c
checking for re2c version... 0.13.0 (ok)
checking for gawk... gawk
checking for PHP-GTK support... yes, shared
./configure: line 3968: --prefix: command not found
checking for PHP executable in /bin... configure: error: Could not locate PHP executable

in the case of imagick2

ecking whether to enable the imagick GraphicsMagick backend... no
checking for magick-wand.h header file... found in /usr/include/wand/magick-wand.h
checking if ImageMagick version is at least 6.2.4... found version 6.3.5
checking if PHP version is at least 5.1.3... configure: error: php-config not found
error: Bad exit status from /var/tmp/rpm-tmp.18233 (%build)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-08-14 08:44 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Jul 05 07:05:46 2022 UTC