Project

General

Profile

Bug #44498

curl is not checked in `install.sh`

Added by Abhinav Singh 7 months ago. Updated 4 months ago.

Status:
Need More Info
Priority:
Normal
Assignee:
-
Category:
build
Target version:
% Done:

100%

Source:
Tags:
ceph installation
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
03/07/2020
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

curl program is not checked in `install.sh`, if it remains uninstalled then some libraries like gcc,cmake,rdkafka,etc remains uninstalled.

History

#1 Updated by Kefu Chai 6 months ago

could you help me understand why "if it remains uninstalled then some libraries like gcc,cmake,rdkafka,etc remains uninstalled."?

#2 Updated by Abhinav Singh 6 months 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 4 months 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.

#4 Updated by Nathan Cutler 4 months ago

  • Tracker changed from Support to Bug
  • Status changed from New to Need More Info
  • Regression set to No
  • Severity set to 3 - minor

Also available in: Atom PDF