1. last couple of lines of sagelib-9.0.log
/usr/bin/ld: cannot find crti.o: No such file or directory
collect2: error: ld returned 1 exit status
g++ -pthread -shared -L/home/aria/sage-9.0/local/lib -Wl,-rpath,/home/aria/sage-9.0/local/lib -L. -L/home/aria/sage-9.0/local/lib -Wl,-rpath,/home/aria/sage-9.0/local/lib -L/home/aria/sage-9.0/local/lib -Wl,-rpath,/home/aria/sage-9.0/local/lib build/temp.linux-x86_64-3.7/build/cythonized/sage/symbolic/ring.o -L/home/aria/sage-9.0/local/lib -L/home/aria/sage-9.0/local/lib -lgmp -lpynac -lstdc++ -lpython3.7m -o build/lib.linux-x86_64-3.7/sage/symbolic/
ring.cpython-37m-x86_64-linux-gnu.so/usr/bin/ld: cannot find crti.o: No such file or directory
collect2: error: ld returned 1 exit status
g++ -pthread -shared -L/home/aria/sage-9.0/local/lib -Wl,-rpath,/home/aria/sage-9.0/local/lib -L. -L/home/aria/sage-9.0/local/lib -Wl,-rpath,/home/aria/sage-9.0/local/lib -L/home/aria/sage-9.0/local/lib -Wl,-rpath,/home/aria/sage-9.0/local/lib build/temp.linux-x86_64-3.7/build/cythonized/sage/symbolic/expression.o -L/home/aria/sage-9.0/local/lib -L/home/aria/sage-9.0/local/lib -lgmp -lpynac -lstdc++ -lpython3.7m -o build/lib.linux-x86_64-3.7/sage/symbolic/
expression.cpython-37m-x86_64-linux-gnu.so -lpari
/usr/bin/ld: cannot find crti.o: No such file or directory
collect2: error: ld returned 1 exit status
error: command 'g++' failed with exit status 1
make[4]: *** [Makefile:33: sage] Error 1
make[4]: Leaving directory '/home/aria/sage-9.0/src'
real 31m9.136s
user 113m32.482s
sys 2m13.602s
2. last couple of lines of yasm-1.3.0.p0.log
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/aria/sage-9.0/local/var/tmp/sage/build/yasm-1.3.0.p0/src':
configure: error: C compiler cannot create executables
See `config.log' for more details
********************************************************************************
Error configuring yasm-1.3.0.p0
See the file
/home/aria/sage-9.0/local/var/tmp/sage/build/yasm-1.3.0.p0/src/config.log
for details.
********************************************************************************
real 0m0.568s
user 0m0.314s
sys 0m0.272s
************************************************************************
Error installing package yasm-1.3.0.p0
************************************************************************
Please email sage-devel (
http://groups.google.com/group/sage-devel)
explaining the problem and including the log file
/home/aria/sage-9.0/logs/pkgs/yasm-1.3.0.p0.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/aria/sage-9.0/local/var/tmp/sage/build/yasm-1.3.0.p0 and type 'make' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
(cd '/home/aria/sage-9.0/local/var/tmp/sage/build/yasm-1.3.0.p0' && '/home/aria/sage-9.0/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************
I have tried to remove yasm and do make again but I got error as well. I appreciate it if anyone can help me figure out what is going on.