curl is not checked in `install.sh`
curl program is not checked in `install.sh`, if it remains uninstalled then some libraries like gcc,cmake,rdkafka,etc remains uninstalled.
#2 Updated by Abhinav Singh over 2 years ago
Kefu Chai wrote:
could you help me understand why "if it remains uninstalled then some libraries like gcc,cmake,rdkafka,etc remains uninstalled."?
maybe they require curl to download the packages before installing, or maybe if a error is found in running `install.sh` it will straightaway cancel the process and bail out, not sure.
I know when I installed curl on my system the error of 'missing curl' was gone.
#3 Updated by Nathan Cutler over 2 years ago
@Abhinav, please tell us what operating system this is happening on.
On RPM-based operating systems, install-deps.sh will install "libcurl-devel".
On Debian and Debian derivatives, it will install "libcurl4-openssl-dev".
Personally, I doubt curl itself is needed to build ceph from source, but I don't yet have proof of that.
Can you try the following experiment?
1. completely remove/purge the "curl" package (DEB/RPM) from the system
2. create and cd into a fresh clone of ceph upstream master branch
After this, check if "libcurl-devel" (RPM-based OSes) or "libcurl4-openssl-dev" (Debian-derivs) is installed. If it is, follow this by:
If this bug is valid, you should see some build error resulting from the absence of curl in the system. Please cut-and-paste that error here.