note 83061 deleted from ref.ssh2 by felipe
| From: | felipe@php.net | Date: | Fri, 09 May 2008 02:13:09 +0000 |
| Subject: | note 83061 deleted from ref.ssh2 by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-139202@lists.php.net to get a copy of this message | ||
Note Submitter: volkirik at yahoo dot com dot tr
----
LIBSSH2_APINO was removed from the public header file. You need to patch ssh2.c to work with new
libssh2 versions.
ssh2.c patch:
LINE 480:
search and change following line:
#if LIBSSH2_APINO < 200412301450
...
#else
to:
#if (defined(LIBSSH2_APINO) && LIBSSH2_APINO < 200412301450)
...
#else /* if LIBSSH2_APINO is not defined its v0.14 or higher. no problem! */
LINE 1216:
search and change following line:
#if (LIBSSH2_APINO > 200503221619)
to:
#if (defined(LIBSSH2_APINO) && (LIBSSH2_APINO > 200503221619)) ||
(defined(LIBSSH2_VERSION_NUM) && LIBSSH2_VERSION_NUM >= 0x001000)
Compile again!
----
Volkan K.