cURL / Mailing Lists / curl-library / Single Mail

curl-library

Compiling for SFTP on RedHat Linux

From: Len McWilliams <leonard8917_at_comcast.net>
Date: Sat, 24 Jan 2009 05:22:48 +0530

Just in case this information is helpful to someone, I thought I would post
how I compiled cURL on RHEL5U2 so that it has SFTP capability.

 

FYI, here are the steps:

 

Installed:

 

                libssh2-0.17-1.el5.rf.i386.rpm

 

                then

 

                libssh2-devel-0.17-1.el5.rf.i386.rpm

 

                (from http://packages.sw.be/libssh2/)

 

Unzipped curl-7.19.3.tar.gz

 

                (from http://curl.haxx.se/download/curl-7.19.3.tar.gz)

 

From within the curl directory: [root_at_machine4 curl-7.19.3]#

 

                ./configure --with-libssh2

 

                make

 

                make install
Received on 2009-01-24