note 83060 added to ssh2.installation
| From: | volkirik at yahoo dot com dot tr | Date: | Thu, 08 May 2008 14:33:50 +0000 |
| Subject: | note 83060 added to ssh2.installation | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-139179@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 64.71.164.2
Probable Submitter: 213.43.104.202
----
Manual Page -- http://www.php.net/manual/en/ssh2.installation.php
Edit -- https://master.php.net/note/edit/83060
Del: integrated -- https://master.php.net/note/delete/83060/integrated
Del: useless -- https://master.php.net/note/delete/83060/useless
Del: bad code -- https://master.php.net/note/delete/83060/bad+code
Del: spam -- https://master.php.net/note/delete/83060/spam
Del: non-english -- https://master.php.net/note/delete/83060/non-english
Del: in docs -- https://master.php.net/note/delete/83060/in+docs
Del: other reasons-- https://master.php.net/note/delete/83060
Reject -- https://master.php.net/note/reject/83060
Search -- https://master.php.net/manage/user-notes.php