Re: pecl install help
| From: | Mike Payson | Date: | Mon, 19 Mar 2007 03:21:32 +0000 |
| Subject: | Re: pecl install help | ||
| References: | 1 2 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-4645@lists.php.net to get a copy of this message | ||
All the first steps work fine, but when I try to run the last step I get the
same error:
bash-3.00$ pecl install --register-only runkit-beta
downloading runkit-0.9.tgz ...
Starting to download runkit-0.9.tgz (49,807 bytes)
.............done: 49,807 bytes
14 source files, building
running: phpize
Configuring for:
PHP Api Version: 20020918 Zend Module Api No: 20020429Zend Extension Api No: 20050606 building in /var/tmp/pear-build-maximumr/runkit-0.9 running: /home/maximumr/pear/cache/runkit-0.9/configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for egrep... grep -E checking for a sed that does not truncate output... /bin/sed checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. ERROR: `/home/maximumr/pear/cache/runkit-0.9/configure' failed I should note (though it's probably clear from the file paths) that I've installed PEAR locally on my shared server via the instructions at http://pear.php.net/manual/en/installation.shared.php. On 3/18/07, Gregory Beaver <greg@chiaraquartet.net> wrote:
Mike Payson wrote: When I run pecl install runkit-beta, I get the following error: bash-3.00$ pecl install runkit-beta downloading runkit-0.9.tgz ... Starting to download runkit-0.9.tgz (49,807 bytes) .............done: 49,807 bytes 14 source files, building running: phpize Configuring for:PHP Api Version: 20020918 Zend Module Api No: 20020429Zend Extension Api No: 20050606 building in /var/tmp/pear-build-maximumr/runkit-0.9 running: /home/maximumr/pear/cache/runkit-0.9/configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for egrep... grep -E checking for a sed that does not truncate output... /bin/sed checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. ERROR: `/home/maximumr/pear/cache/runkit-0.9/configure' failed I can't find config.log anywhere. Anythoughts how to troubleshoot this? Hi Mike, Sorry about the trouble. I haven't seen this issue before, I'm replying to pecl-dev@lists.php.net to see if others might have some insights. The "config.log" file is in fact erased because it is generated in a temporary directory that is removed on cleanup. There is a way to manually phpize/configure runkit that may work for you, just download the source, run "pear bundle runkit-0.9.tgz" "cd runkit-0.9" "phpize && ./configure && make" that may also work for you. After you've built it, you can still register it as installed via "pecl install --register-only runkit-beta" Thanks, Greg