Error Building Sage

57 views
Skip to first unread message

Tanav Shah

unread,
Feb 22, 2020, 1:47:21 PM2/22/20
to sage-devel
Hi

I have downloaded the source code for SageMath from https://www.sagemath.org/download-source.html and am willing to contribute for the same. I have been following the steps provided in this page http://doc.sagemath.org/html/en/installation/source.html#prerequisites, but am getting an error while building.

When running the 'make' command, I get an error that "[arb-2.16.0.p0] spkg-install should not be marked executable in the build/pkgs directory" and it displays "Error building Sage". I have been trying to find a solution to it but have not found one. I am working on HP-SPECTRE with Windows-10 Home installed in it. I am using Windows Subsytem for Linux(WSL) Ubuntu 18.04 LTS for executing the commands. I have attached the error log files.

Can someone please help me solve this issue?

Thanks in advance,
Tanav Shah
arb-2.16.0.p0.log

Dima Pasechnik

unread,
Feb 22, 2020, 2:17:26 PM2/22/20
to sage-devel
I don't think anyone managed to build Sage on WSL.


--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/cd9d5155-d82b-4e99-9b65-654d423c6671%40googlegroups.com.

Volker Braun

unread,
Feb 22, 2020, 6:20:33 PM2/22/20
to sage-devel
I've built Sage in WSL before, its really a pretty standard Ubuntu.

OP's problem is that he's building it on /mnt/c/, the mounted windows filesystem. That one is not POSIX so there is little chance. You have to build it on the internal WSL filesystem, which is fully POSIX compatible.



On Saturday, February 22, 2020 at 8:17:26 PM UTC+1, Dima Pasechnik wrote:
I don't think anyone managed to build Sage on WSL.
On Sat, 22 Feb 2020, 19:47 Tanav Shah, <ts...@cs.iitr.ac.in> wrote:
Hi

I have downloaded the source code for SageMath from https://www.sagemath.org/download-source.html and am willing to contribute for the same. I have been following the steps provided in this page http://doc.sagemath.org/html/en/installation/source.html#prerequisites, but am getting an error while building.

When running the 'make' command, I get an error that "[arb-2.16.0.p0] spkg-install should not be marked executable in the build/pkgs directory" and it displays "Error building Sage". I have been trying to find a solution to it but have not found one. I am working on HP-SPECTRE with Windows-10 Home installed in it. I am using Windows Subsytem for Linux(WSL) Ubuntu 18.04 LTS for executing the commands. I have attached the error log files.

Can someone please help me solve this issue?

Thanks in advance,
Tanav Shah

--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-...@googlegroups.com.

Tanav Shah

unread,
Feb 23, 2020, 2:23:42 AM2/23/20
to sage-devel
Hi

I tried building the sage module in the internal wsl file system and it seems to be working better than before, but still there are a couple of errors. It says

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

* package: gap-4.10.2.p1
  log file: /home/tanav/sage-9.0/logs/pkgs/gap-4.10.2.p1.log
  build directory: /home/tanav/sage-9.0/SAGE_LOCAL/var/tmp/sage/build/gap-4.10.2.p1

* package: python3-3.7.3.p1
  log file: /home/tanav/sage-9.0/logs/pkgs/python3-3.7.3.p1.log
  build directory: /home/tanav/sage-9.0/SAGE_LOCAL/var/tmp/sage/build/python3-3.7.3.p1

After this it terminates building. I have attached the log files here. Can you please help me out with this?

Thanks in advance.

Tanav Shah
python3-3.7.3.p1.log
gap-4.10.2.p1.log

Volker Braun

unread,
Feb 23, 2020, 6:58:45 AM2/23/20
to sage-devel
Python picks up the wrong readline, is there stuff in /usr/local?
Reply all
Reply to author
Forward
0 new messages