Unable to build sage-10.2 on Ubuntu 22.04 WSL

113 views
Skip to first unread message

Gaurish Korpal

unread,
Jan 11, 2024, 1:44:14 AM1/11/24
to sage-devel
Hello,

I'm trying to build Sage 10.2 from source in Ubuntu 22.04 WSL by following
https://doc.sagemath.org/html/en/installation/source.html
but I get errors when it tries to compile the scipy-1.11.3 package. 

I have attached config.log and scipy-1.11.3.log files for the full logs. Here are the steps I took:

1. Created the directory ~/sage/
2. Downloaded source file and saved it in ~/sage/
3. tar xf sage-10.2.tar.gz 
4. cd sage-10.2/
5. export PATH=/usr/sbin/:/sbin/:/bin/:/usr/lib/wsl/lib/
6. export MAKE="make -j4 -l5.5" 
7. export V=0
8. ./configure --disable-editable --prefix=/home/gkorpal/sage/sage-10.2/local
9. make

Any help would be most welcome.

Sincerely,
Gaurish
config.log
scipy-1.11.3.log

Dima Pasechnik

unread,
Jan 11, 2024, 1:46:40 AM1/11/24
to sage-devel
Hi,
you need  to give your WSL more RAM.
Otherwise big C++ compilations don't go through.

Gaurish Korpal

unread,
Jan 11, 2024, 2:48:53 AM1/11/24
to sage-...@googlegroups.com
Thank you, Dima! It was indeed due to an accidental allocation of a significant portion of RAM to the integrated graphics.

--
You received this message because you are subscribed to a topic in the Google Groups "sage-devel" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-devel/W4gMvzNaPs0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-devel+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/904645c5-7d43-4d0e-8088-32129dbadfbdn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages