Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Bug
58650 Error during installation: Cannot find config.m4 Submitted: 2009-04-27 05:50 UTC Modified: 2012-01-24 17:37 UTC Votes:5 Avg. Score:4.6 ± 0.8 Reproduced:5 of 5 [100.0%] Same Version:2 [40.0%] Same OS:2 [40.0%] From: tjerk dot meesters at gmail dot com Assigned: kannan [profile] Status: Closed Package: xhprof [PECL] PHP Version: 5.2.5 OS: RHEL4 Private report: No CVE-ID: None
[2009-04-27 05:50 UTC] tjerk dot meesters at gmail dot com
Description:
When installing the extension using the PECL tool, the following error occurs:
pecl install channel://pecl.php.net/xhprof-0.9.1
downloading xhprof-0.9.1.tgz ... Starting to download xhprof-0.9.1.tgz [925,239 bytes] .................done: 925,239 bytes 11 source files, building running: phpize Cannot find config.m4. Make sure that you run '/usr/local/bin/phpize' in the top level source directory of the module ERROR: `phpize' failed
Patches
Add a Patch
Pull Requests
Add a Pull Request
History
AllCommentsChangesGit/SVN commitsRelated reports
[2009-06-01 14:00 UTC] kannan@php.net
I am not too familiar with the pecl install. Looks like it expects to find config.m4 in the top-level directory [?]. In our case, the config.m4 is in the extension/ directory. Can you install it from the extension directory instead? Try something along these lines: % cd extension % /usr/local/php/bin/phpize % ./configure --with-php-config=/usr/local/php/bin/php-config % make % make install
[2009-08-20 06:05 UTC] tor dot henning dot ueland at webdealhosting dot com
Confirming same bug for SLES10SP2 devel: # pecl install xhprof downloading xhprof-0.9.2.tar ... Starting to download xhprof-0.9.2.tar [Unknown size] ..........................................................done: 1,506,816 bytes 11 source files, building running: phpize Cannot find config.m4. Make sure that you run '/usr/bin/phpize' in the top level source directory of the module ERROR: `phpize' failed devel: # phpize Cannot find config.m4. Make sure that you run '/usr/bin/phpize' in the top level source directory of the module devel:~ #
[2009-10-15 13:58 UTC] philip at roshambo dot org
How about removing the extension/ folder [making its contents the root] as this seems like the standard for PECL extensions?
[2009-10-19 05:25 UTC] pecl dot php dot net at kalexandr dot com
When I try to install xhprof with command $ sudo pecl install channel://pecl.php.net/xhprof-0.9.2 I got: downloading xhprof-0.9.2.tgz ... Starting to download xhprof-0.9.2.tgz [931,660 bytes] ..........................done: 931,660 bytes 11 source files, building running: phpize Cannot find config.m4. Make sure that you run '/usr/bin/phpize' in the top level source directory of the module ERROR: `phpize' failed
[2010-02-25 08:02 UTC] cweiske@php.net
Same problem on php 5.2.12 and pear 1.9.0
[2010-07-08 02:48 UTC] h dot skwirblies at schottenland dot de
Confirmed on Debian 5.0 / PEAR 1.9.1: %