I'm trying to install the ssh2 PECL extension for PHP, but I'm running into some problems. The ss2 package requires libssh2, so I downloaded that from sourceforge and ran the installation commands './configure && make all install'. That goes through all the configuration and installation and then tells me 'make: `install' is up to date.'.
So then I try to install ssh2 with the 'pear install ssh2-0.9' command. That does it's thing then gives me this error 'configure: error: The required libssh2 library was not found. You can obtain that package from
http://sourceforge.net/projects/libssh2/
`/private/tmp/tmpNqUJ7w/ssh2-0.9/configure' failed'.
So it looks like libssh2 is failing to actually install. I've done some google searching and, as usual, found a bunch of people reporting the exact same problem but not a single person explaining how to fix it.
Has anyone here run into this issue or have any idea what I can do to fix it? It really does look like the libssh2 install just isn't working as the prefix in the make file is set to /usr/local, and there's nothing in /usr/local or /usr/local/lib that has anything to do with ssh2.