make error

48 views
Skip to first unread message

Khai Dong

unread,
Apr 16, 2023, 4:01:52 PM4/16/23
to sage-devel
Hello,

I am having some problems with "make". It said there is some problem with installing scipy-1.9.3 regarding sparse. I'm trying to install sagemath 9.8 on WSL2 on Windows 11. The Linux distribution is Ubuntu 20.04. Any idea what is going on?

Thanks,
Khai 
config.log
scipy-1.9.3.log

Matthias Koeppe

unread,
Apr 16, 2023, 4:14:45 PM4/16/23
to sage-devel
From the log:
  g++ -Iscipy/sparse/sparsetools/_sparsetools.cpython-38-x86_64-linux-gnu.so.p -Iscipy/sparse/sparsetools -I../../scipy/sparse/sparsetools -I/home/arucane/sage/sage-9.8/local/var/lib/sage/venv-python3.8/lib/python3.8/site-packages/numpy/core/include -I/usr/include/python3.8 -I/usr/include/x86_64-linux-gnu/python3.8 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++14 -O2 -g -O2 -fPIC -DNPY_NO_DEPRECATED_API=NPY_1_9_API_VERSION -MD -MQ scipy/sparse/sparsetools/_sparsetools.cpython-38-x86_64-linux-gnu.so.p/csr.cxx.o -MF scipy/sparse/sparsetools/_sparsetools.cpython-38-x86_64-linux-gnu.so.p/csr.cxx.o.d -o scipy/sparse/sparsetools/_sparsetools.cpython-38-x86_64-linux-gnu.so.p/csr.cxx.o -c ../../scipy/sparse/sparsetools/csr.cxx
  g++: fatal error: Killed signal terminated program cc1plus

Check if this error persists if you type "make" again.

Dima Pasechnik

unread,
Apr 16, 2023, 4:15:45 PM4/16/23
to sage-...@googlegroups.com
Your C++ compiler (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, released
in 2019, that's before scipy 1.9.3) crashes while compiling some files
in scipy.
Could you perhaps try a newer gcc version?
https://packages.ubuntu.com/focal/gcc-10
> --
> 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/00a9f06d-f4d1-4b71-8c15-c23e358f1fdcn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages