Is there any better help for this?
I am trying to install PECL SSH2:
Code:
~ > pecl install channel://pecl.php.net/ssh2-0.11.0
WARNING: channel "pear.php.net" has updated its protocols, use "pecl channel-update pear.php.net" to update
downloading ssh2-0.11.0.tgz ...
Starting to download ssh2-0.11.0.tgz (22,884 bytes)
........done: 22,884 bytes
5 source files, building
running: phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
libssh2 prefix? [/usr] : /usr/local/lib/libssh2.so
building in /var/tmp/pear-build-root/ssh2-0.11.0
running: /root/tmp/pear/cache/ssh2-0.11.0/configure --with-ssh2=/usr/local/lib/libssh2.so
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
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: `/root/tmp/pear/cache/ssh2-0.11.0/configure --with-ssh2=/usr/local/lib/libssh2.so' failed
What's the problem here? Where is libssh2?