Jump to content

Building ssh2.so


Recommended Posts

Hi All,

I am using Red Hat 9 and my php ver is 4.2.2 . I need to use SSH functionality in my PHP code for which I am tring to build "ssh2.so" from the ssh2 tar ((ssh2-0.7.tgz)) provide in the PHP site. But when i issue "phpize && ./configure --with-ssh2 && make" as mentioned in the online PHP manual, I am getting the following error :

 

"configure: error: cannot find sources (Makefile.in) in . or .."

 

I am not able to find the "Makefile.in" (which I suppose should present) in the untarred dir structure. Neither is "Makefile.in" present in any of the tars present in php site (http://pecl.php.net/package/ssh2)

 

Thanks in Advance to all the buddies trying to provide a solution

 

Link to comment
Share on other sites

It seems that we need php 4.3.0 for the ssh2 version 0.5 as mentioned in the package.xml file inside the ssh2 tar file.  And since 0.5 is the oldest version all the later versions would be needing php versions >= to 4.3.0.

 

"bagal me chora, pure sahar me dindhora (Hindi)"

which means that "First look around u and then go further otherwise you will get lost in the infinite"  ::)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.