I'm trying to install sage 8.7 from source on Ubuntu 18.04.
cypari fails to build:
gcc -pthread -shared -L/home/kwh/sage-8.7/local/lib
-Wl,-rpath,/home/kwh/sage-8.7/local/lib -L/home/kwh/sage-8.7/local/lib
-Wl,-rpath,/home/kwh/sage-8.7/local/lib
build/temp.linux-x86_64-2.7/cypari2/convert.o -L/home/kwh/sage-8.7/local/lib
-L/home/kwh/sage-8.7/local/lib64 -L/home/kwh/sage-8.7/local/lib -lgmp -lpari
-lpython2.7 -o build/lib.linux-x86_64-2.7/cypari2/convert.so -lpari
building 'cypari2.gen' extension
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused
-fPIC -I./cypari2
-I/home/kwh/sage-8.7/local/lib/python2.7/site-packages/cysignals
-I/home/kwh/sage-8.7/local/include -I/home/kwh/sage-8.7/local/include/python2.7
-c cypari2/gen.c -o build/temp.linux-x86_64-2.7/cypari2/gen.o
gcc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
error: command 'gcc' failed with exit status 4
Running setup.py install for cypari2: finished with status 'error'
Cleaning up...
Removing source in /tmp/pip-req-build-EhTFza
Removed build tracker '/tmp/pip-req-tracker-rEVd31'
Command "/home/kwh/sage-8.7/local/bin/python2 -u -c "import setuptools,
tokenize;__file__='/tmp/pip-req-build-EhTFza/setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" --no-user-cfg install
--record /tmp/pip-record-dvz_Aw/install-record.txt
--single-version-externally-managed --root
/home/kwh/sage-8.7/local/var/tmp/sage/build/cypari-2.1.0.p0/inst --compile"
failed with error code 1 in /tmp/pip-req-build-EhTFza/
Exception information:
Traceback (most recent call last):
File
"/home/kwh/sage-8.7/local/lib/python2.7/site-packages/pip/_internal/cli/base_command.py",
line 143, in main
status = self.run(options, args)
File
"/home/kwh/sage-8.7/local/lib/python2.7/site-packages/pip/_internal/commands/install.py",
line 366, in run
use_user_site=options.use_user_site,
File
"/home/kwh/sage-8.7/local/lib/python2.7/site-packages/pip/_internal/req/__init__.py",
line 49, in install_given_reqs
**kwargs
File
"/home/kwh/sage-8.7/local/lib/python2.7/site-packages/pip/_internal/req/req_install.py",
line 791, in install
spinner=spinner,
File
"/home/kwh/sage-8.7/local/lib/python2.7/site-packages/pip/_internal/utils/misc.py",
line 705, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command "/home/kwh/sage-8.7/local/bin/python2 -u -c "import
setuptools,
tokenize;__file__='/tmp/pip-req-build-EhTFza/setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" --no-user-cfg install
--record /tmp/pip-record-dvz_Aw/install-record.txt
--single-version-externally-managed --root
/home/kwh/sage-8.7/local/var/tmp/sage/build/cypari-2.1.0.p0/inst --compile"
failed with error code 1 in /tmp/pip-req-build-EhTFza/
Error: installing with pip2 failed
********************************************************************************
Error installing cypari-2.1.0.p0
********************************************************************************
real 1m54.940s
user 1m44.406s
sys 0m5.612s
************************************************************************
Error installing package cypari-2.1.0.p0
************************************************************************
======
gcc --version
gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
======
Any advice is appreciated. If there is no resolution, I'll install sage 8.1
using Ubuntu's packages.
thanks,
Kevin
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-support.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-support/33c06aed-6dcc-418d-a576-4069e1b31228%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.