Building ssh2.so

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
munger_singh
Forum Newbie
Posts: 2
Joined: Mon Nov 10, 2008 5:37 am

Building ssh2.so

Post by munger_singh »

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
munger_singh
Forum Newbie
Posts: 2
Joined: Mon Nov 10, 2008 5:37 am

Re: Building ssh2.so

Post by munger_singh »

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" :dubious:
Post Reply