note 57461 added to ref.ssh2

From: Date: Tue, 04 Oct 2005 22:12:08 +0000
Subject: note 57461 added to ref.ssh2
Groups: php.notes 
Request: Send a blank email to php-notes+get-96393@lists.php.net to get a copy of this message
Trying to compile this ssh PECL extension for Mac OS X (10.4.2) with entropy.ch's php5 distribution? Read on: PART 1: 1) Download libssh (I used version 0.11) http://sourceforge.net/project/showfiles.php?group_id=125852 2) Unzip the directory and cd to the upacked directory in the terminal. 3) run: ./configure; make all install; libssh should compile and place the output file in src/*.o 4) copy all headers from the include folder within the libssh2 directory to /usr/local/include/ 5) copy all compiled files (*.o) from the src folder within the libssh2 directory to /usr/local/lib/ 6) Download ssh2 (I used version 0.9 with additional changes from cvs - explained below) http://pecl.php.net/package/ssh2 7) unzip the downloaded archive. 8) version 0.9 has a conflict with an existing symbol used in some of the ZEND headers... a change is available in cvs which renames the symbol in ssh2 to avoid the conflict http://cvs.php.net/diff.php/pecl/ssh2/ssh2.c?r1=1.9&r2=1.10&ty=h down load at least the 1.10 version of ssh2.c if you decide to download a newer version, download any of the corresponding related files, such as the php_ssh2.h header file. 9) replace the old version of ssh2.c with the new version of ssh2.c (and any other files you downloaded). 10) From the terminal: cd to the source directory (for me ssh2-0.9/ssh2-0.9/). (Continued in a PART 2 comment) ---- Manual Page -- http://www.php.net/manual/en/ref.ssh2.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+57461 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+57461&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+57461&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+57461&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+57461&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+57461&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+57461&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+57461&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+57461&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#96393) next »