Project

General

Profile

Actions

Bug #44498

open

curl is not checked in `install.sh`

Added by Abhinav Singh about 4 years ago. Updated almost 4 years 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 (v1):
Crash signature (v2):

Description

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

Actions #1

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."?

Actions #2

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.

Actions #3

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.

Actions #4

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
Actions

Also available in: Atom PDF