-
-
Notifications
You must be signed in to change notification settings - Fork 673
Description
Context
Recent work on Sage's build system enables to use many
system packages as possible when building Sage.
See meta-ticket #27330 for an overview.
Part of that effort is to have configure
end with
recommendations of extra system packages to install.
Making this recommendation system very precise would not
be sustainable. As a compromise, it recommends installing
packages whenever
- satisfactory versions of these packages
are not found to be already installed - some version of that OS has versions of these packages
that would avoid having to build them
Problem
With the wording of the recommendation hint up to
Sage 9.2.beta12, users can be puzzled when it recommends
installing a package that is already installed.
Solution
Improve the recommendation message and along the way
make it better stand out.
Before this ticket:
configure: hint: installing the following system packages
is recommended and may avoid building some of the above SPKGs
from source:
configure: $ sudo apt-get update
$ sudo apt-get install libcdd-dev libcdd-tools libnauty-dev
After this ticket:
configure:
hint: installing the following system packages, if not
already present, is recommended and may avoid building
them from source (some may have to be built anyway):
$ sudo apt-get update
$ sudo apt-get install libcdd-dev libcdd-tools libnauty-dev
References
See the 2020-09 discussion on sage-release,
in particular these posts:
- https://groups.google.com/d/msg/sage-release/hobZzw74Rv0/xtBCPrGrAgAJ
- https://groups.google.com/d/msg/sage-release/hobZzw74Rv0/1IYw5RG_BQAJ
- https://groups.google.com/d/msg/sage-release/hobZzw74Rv0/MWUqj400BgAJ
See also
See also #30863 whose aim is the same (e.g., do not suggest to sudo apt install sympow
if the reason was that the sympow already installed on the system was failing some tests).
Depends on #30606
CC: @egourgoulhon @orlitzky @mkoeppe @slel @tobiasdiez @seblabbe
Component: build: configure
Author: Samuel Lelièvre, Matthias Koeppe
Branch/Commit: 72f0081
Reviewer: Matthias Koeppe, Sébastien Labbé
Issue created by migration from https://trac.sagemath.org/ticket/30624