[Inquiry] Two Installation errors of Sage program in Ubuntu

64 views
Skip to first unread message

이용현

unread,
Apr 15, 2021, 4:51:32 AM4/15/21
to sage-devel

Hello
My name is Yonghyun Lee.

I've got two errors while I was installing sage program in Ubuntu in two different environments.

First, I am installing Sage program in Ubuntu in AWS EC2, but the error has occured. 
The environment is
AWS EC2 t3.small
OS: Ubuntu 20.04.2Lis(GNU/Linux 5.4.0-1043-aws x86_64) 
Installed package: sage installation 9.2 Release.pdf -> Reference Package(page 12 4.2.3 Installing prerequisites Ubuntu) + Required package while runned ./configure

The screen message showed "Building wheel for cypari2 (setup.py): finished with status 'error'
[cypari-2.1.1]  ERROR: Failed building wheel for cypari2"

Please find the reason and explain the error by attaching the log file and referring to that part.

The other problem was, when I installed in different environment(AWS EC2 t3.small / OS: Ubuntu 18.04.5 lis(GNU/Linux 5.4.0-1043-aws x86_64), sage build was ok, but there was an error in sagecell. (Attached Screenshot file, "sagecell_make_error")
Some annotations in the optimize part of /sagecell/js/build.js were released and runned, the error attached to the image file(Screenshot file, "sagecell_make_error") did not appear, but it still did not work.

The two errrors have occured in different environments. 
I look forward to the clear answer of these two problems.

Sincerely

Yonghyun Lee
cypari-2.1.1.log
sagecell_make_error.PNG

Dima Pasechnik

unread,
Apr 15, 2021, 6:39:06 AM4/15/21
to sage-devel
It seems that Sagecell instructions need an urgent update, so that
people don't try building Sage on an absolutely minimal system - here
gcc errors out, I guess due to too small RAM.

Can we get a Docker or an LXD containter for SageCell, it surely would
spare people a lot of grief like this...
> --
> 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/b007151b-8c4e-4f1d-a916-177038e3f492n%40googlegroups.com.

이용현

unread,
Apr 16, 2021, 3:49:02 AM4/16/21
to sage-devel
Thank you for your answer.
Then, I am gonna change to bigger RAM instance.
If there is any other problem, I'll post the error issue.
I will try build by dockerfile and I'll upload docker and in docker hub later.

 

2021년 4월 15일 목요일 오후 7시 39분 6초 UTC+9에 dim...@gmail.com님이 작성:

Dima Pasechnik

unread,
Apr 16, 2021, 4:13:34 AM4/16/21
to sage-devel


On Fri, 16 Apr 2021, 08:49 이용현, <adam9...@gmail.com> wrote:
Thank you for your answer.
Then, I am gonna change to bigger RAM instance.
If there is any other problem, I'll post the error issue.
I will try build by dockerfile and I'll upload docker and in docker hub later.

I've updated sagecell install instructions a bit, to explain that it helps to install as many Sage components from the OS, rather than building them.
Reply all
Reply to author
Forward
0 new messages