Bug #44498
opencurl is not checked in `install.sh`
100%
Description
curl program is not checked in `install.sh`, if it remains uninstalled then some libraries like gcc,cmake,rdkafka,etc remains uninstalled.
Updated by Kefu Chai about 4 years ago
could you help me understand why "if it remains uninstalled then some libraries like gcc,cmake,rdkafka,etc remains uninstalled."?
Updated by Abhinav Singh about 4 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.
Updated by Nathan Cutler almost 4 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
3. ./install-deps.sh
After this, check if "libcurl-devel" (RPM-based OSes) or "libcurl4-openssl-dev" (Debian-derivs) is installed. If it is, follow this by:
4. ./run-make-check.sh
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.
Updated by Nathan Cutler almost 4 years ago
- Tracker changed from Support to Bug
- Status changed from New to Need More Info
- Regression set to No
- Severity set to 3 - minor