← Back to team overview

registry team mailing list archive

[Bug 311029] Re: curl and pycurl is not compiled with sftp support

 

Here are Martin Lindhe's instructions from post #3 above, updated for
10.04, again assuming you are using 64-bit Ubuntu.  The resulting curl
installation works just as the curl mapage says it should, against an
OpenSSL server.

==========
#the line below will create a temporary directory and move you to it - so that you can easily clean up the build files later 
# you are short on disk space
mkdir -p ~/temp/curl
cd ~/temp/curl

sudo apt-get install build-essential debhelper libssh2-1-dev
sudo apt-get source libcurl3
sudo apt-get build-dep libcurl3

cd curl-7.19.7/debian

gedit rules

   find and replace "--without-libssh2" with "--with-libssh2"

cd ..

sudo dpkg-buildpackage

cd ..

sudo dpkg -i curl_7.19.7-1ubuntu1_amd64.deb
sudo dpkg -i libcurl3_7.19.7-1ubuntu1_amd64.deb
sudo dpkg -i libcurl3-gnutls_7.19.7-1ubuntu1_amd64.deb

#at this point you may move away from, and then remove the entire ~/temp/curl directory if you wish
# alternately, you may choose just to keep the 3 .deb files which were the end product of the building,
# in case you have to use them again in the future.

-- 
curl and pycurl is not compiled with sftp support
https://bugs.launchpad.net/bugs/311029
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Debian.