Doc #59747 [Bgs->Csd]: Can't install XHProf via PECL

From: Date: Tue, 06 Dec 2011 02:30:16 +0000
Subject: Doc #59747 [Bgs->Csd]: Can't install XHProf via PECL
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-7600@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=59747&edit=1 ID: 59747 Updated by: frozenfire@php.net Reported by: pecl at yghe dot net Summary: Can't install XHProf via PECL -Status: Bogus +Status: Closed Type: Documentation Problem Package: xhprof Operating System: Amazon Linux AMI release 2010.11 PHP Version: 5.3.5 -Assigned To: +Assigned To: frozenfire Block user comment: N Private report: N New Comment: Scratch that. Philip mentions that this *was* an issue, but was resolved in PEAR 1.9.3. http://pear.php.net/package/PEAR/download/1.9.3 Thanks for the report. Should be resolved. Previous Comments: ------------------------------------------------------------------------ [2011-12-06 01:56:29] frozenfire@php.net Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. This is an issue with Amazon's EC2 service, I believe. The xhprof package installs just fine from the beta channel, for me. phpize seems to be failing for you. Beyond saying that, I don't know what else to suggest. ------------------------------------------------------------------------ [2011-05-04 11:26:16] pecl at yghe dot net Clarifying bug title ------------------------------------------------------------------------ [2011-05-04 11:25:39] pecl at yghe dot net Description: ------------ I'm trying to document this for Phabricator but can't figure out how to install via pecl. I'd prefer not to give end users build-from-source instructions, even though the process isn't too difficult. Transcript in repro below. I think my system configuration is fine; I was able to install it afterward by doing a github clone, cd'ing into "extension/", and then running "phpize && ./configure && make && sudo make install". It would just be nice if a pecl install worked so I could provide simpler install instructions to users. This process also didn't add xhprof to my php.ini so I had to do that separately, which is another step to document. Reproduce code: --------------- $ sudo pecl install xhprof Failed to download pecl/xhprof within preferred state "stable", latest release is version 0.9.2, stability "beta", use "channel://pecl.php.net/xhprof-0.9.2" to install install failed $ sudo pecl install channel://pecl.php.net/xhprof-0.9.2 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 $ pecl version PEAR Version: 1.9.0 PHP Version: 5.3.5 Zend Engine Version: 2.3.0 Running on: Linux ip-10-170-207-10 2.6.34.7-56.40.amzn1.x86_64 #1 SMP Fri Oct 22 18:48:49 UTC 2010 x86_64 Expected result: ---------------- xhprof is installed on the system and to php.ini. Actual result: -------------- pecl-driven installation fails and requires build from source. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=59747&edit=1

« previous php.doc.bugs (#7600) next »