Installation problem

29 views
Skip to first unread message

Santanu Sarkar

unread,
Apr 21, 2020, 12:59:01 PM4/21/20
to sage-support
Dear all,
  I am trying to install Sage 9.0. But I am getting error. 
I have upgraded from Ubuntu 14.04 to Ubuntu 18.04.
I am getting this:

(base) santanu@Santanu-Laptop:~/Documents/sage-9.0-Ubuntu_18.04-i686/SageMath$ make
...............
.........
make[1]: *** [/home/santanu/Documents/sage-9.0-Ubuntu_18.04-i686/SageMath/local/var/lib/sage/installed/pkgconf-0.9.7.p2] Error 1
make[1]: Leaving directory '/home/santanu/Documents/sage-9.0-Ubuntu_18.04-i686/SageMath/build/make'

real 0m48.492s
user 0m1.040s
sys 0m0.363s
***************************************************************
Error building Sage.

The following package(s) may have failed to build (not necessarily
during this run of 'make base-toolchain'):

* package: pkgconf-0.9.7.p2
  log file: /home/santanu/Documents/sage-9.0-Ubuntu_18.04-i686/SageMath/logs/pkgs/pkgconf-0.9.7.p2.log
  build directory: /home/santanu/Documents/sage-9.0-Ubuntu_18.04-i686/SageMath/local/var/tmp/sage/build/pkgconf-0.9.7.p2

The build directory may contain configuration files and other potentially
helpful information. WARNING: if you now run 'make' again, the build
directory will, by default, be deleted. Set the environment variable
SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.

Makefile:31: recipe for target 'base-toolchain' failed
make: *** [base-toolchain] Error 1
(base) santanu@Santanu-Laptop:~/Documents/sage-9.0-Ubuntu_18.04-i686/SageMath$

slelievre

unread,
Apr 21, 2020, 6:33:31 PM4/21/20
to sage-support
If you downloaded the Ubuntu version

  sage-9.0-Ubuntu_18.04-i686

from the download-linux page on the SageMath website,
you don't need to run `make`, it should be ready to use.

If you want to build from source, you should

- download the source file, preferrably for the latest
  development version, currently SageMath 9.1.rc0

- install the prerequisites listed at


- run

    make configure
    ./configure

- follow the recommendations at the end of that stage
  (it might suggest installing a few more system packages)

- then run

    make -s V=0



Reply all
Reply to author
Forward
0 new messages