Problems installing the devtools package
If you are using Ubuntu/Linux:
sudo apt-get install libcurl4-openssl-dev libssl-dev
In case if you are using CentOS:
Try:
sudo yum -y install libcurl libcurl-devel
As per damienfrancois's suggestion, I installed libcurl4-gnutls-dev and the problem was solved.
EDIT (@dardisco)
In your shell:
apt-get -y build-dep libcurl4-gnutls-dev
apt-get -y install libcurl4-gnutls-dev