Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

looking for a sane installation process #31817

Closed
themaddoctor mannequin opened this issue May 12, 2021 · 5 comments
Closed

looking for a sane installation process #31817

themaddoctor mannequin opened this issue May 12, 2021 · 5 comments

Comments

@themaddoctor
Copy link
Mannequin

themaddoctor mannequin commented May 12, 2021

I'm looking for a sane installation process. We have a linux system that
already has python2, python3, pkgconf, gcc, gdb, openblas, scipy,...., yet
the sage source code insists on downloading and compiling what amounts
to an entire new linux system. Is there not a sane installation process that
builds against the libraries that already exist on the system and uses
the compilation tools that already exist?

I'm going to leave the priority at "major" because this blocks us from
producing a package for this linux distribution.

CC: @slel

Component: build: configure

Reviewer: Dima Pasechnik

Issue created by migration from https://trac.sagemath.org/ticket/31817

@themaddoctor themaddoctor mannequin added this to the sage-9.4 milestone May 12, 2021
@themaddoctor themaddoctor mannequin added the p: major / 3 label May 12, 2021
@mkoeppe
Copy link
Contributor

mkoeppe commented May 12, 2021

comment:1

Try with reading the README first.

@sheerluck
Copy link
Contributor

comment:2

Take a look at Gentoo Linux: emerge sage literally builds against the libraries that already exist on the system and uses the compilation tools that already exist

@slel
Copy link
Member

slel commented May 12, 2021

comment:3

Is there not a sane installation process that
builds against the libraries that already exist
on the system and uses the compilation tools
that already exist?

There is. Follow the instructions in the README:

In particular, the output of the ./configure step
ends with recommendations of system packages to install
to ensure Sage installs as few components as possible.

This works for many distributions (Arch Linux, Conda,
Cygwin, Debian, Fedora, FreeBSD, Gentoo, Homebrew, . Yours might
be supported; you only mention "a linux system".

For many packages, an spkg-configure.m4 script detects
whether that package is already present system-wide
so Sage will use it instead of building its own.

Progress of this "spkg-configure" effort is tracked at

@slel
Copy link
Member

slel commented May 12, 2021

comment:4

Marking as duplicate as improving the installation
process is tracked elsewhere.

When you say

this blocks us from producing a package
for this linux distribution

does it blocks installing Sage, or does it block
producing another package that depends on it?

@slel slel removed this from the sage-9.4 milestone May 12, 2021
@dimpase
Copy link
Member

dimpase commented Jun 3, 2021

Reviewer: Dima Pasechnik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants