Re: pecl install help

From: Date: Mon, 19 Mar 2007 03:04:50 +0000
Subject: Re: pecl install help
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-4644@lists.php.net to get a copy of this message
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: 20020429 > Zend 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

« previous php.pecl.dev (#4644) next »