I would try to skip cache and ccache options in your call to
./configure


On Saturday, January 6, 2024 at 6:05:42 PM UTC wouter....@gmail.com wrote:

> Hi all,
>
> I'm trying to build Sage 10.3 beta from source in Ubuntu 22.04 by rather 
> naively following
>
> https://doc.sagemath.org/html/en/installation/source.html#installation-in-a-multiuser-environment
> but I keep bumping into errors when it tries to compile the sagelib 
> package. I pasted part of the error below, but see the attached config.log 
> and sagelib-10.3.beta4.log files for the full logs.
>
> These specific instances correspond to the following configuration:
>
> ./configure --config-cache --enable-ccache --prefix=/opt/sage/sage-10.3 
> --with-system-pari=no
>
> But this is just one of several attempts; the issue is always similar. 
> (Here, the pari option was because I had read in another post about a 
> potential conflict with giac.)
>
> Any help would be most welcome, thanks!
>
> best,
> Wouter
>
> ------
>
> [sagelib-10.3.beta4]       g++ -std=gnu++11 -shared -Wl,-O1 
> -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 
> -Wl,-rpath-link,/opt/sage/sage-10.3/lib -L/opt/sage/sage-10.3/lib 
> -Wl,-rpath,/opt/sage/sage-10.3/lib -g -O2 
> build/temp.linux-x86_64-cpython-310/sage/matrix/matrix_integer_sparse.o 
> -L/opt/sage/sage-10.3/lib -L/usr/lib/x86_64-linux-gnu/openblas-pthread/ 
> -L/opt/sage/sage-10.3/lib -L/opt/sage/sage-10.3/lib 
> -L/usr/lib/x86_64-linux-gnu -lgmp -llinbox -lntl -lmpfr -liml -lflint 
> -lfflas -lffpack -lopenblas -lgivaro -lgmp -lgmpxx -lgivaro -lgmp -lgmpxx 
> -lfflas -lffpack -lopenblas -lgivaro -lgmp -lgmpxx -lflint -o 
> build/lib.linux-x86_64-cpython-310/sage/matrix/
> matrix_integer_sparse.cpython-310-x86_64-linux-gnu.so -lpari -fopenmp
> [sagelib-10.3.beta4]       error: command 
> '/opt/sage/sage-10.3/libexec/ccache/g++' failed with exit code 1
> [sagelib-10.3.beta4]       error: subprocess-exited-with-error
> [sagelib-10.3.beta4]       
> [sagelib-10.3.beta4]       × python setup.py develop did not run 
> successfully.
> [sagelib-10.3.beta4]       │ exit code: 1
> [sagelib-10.3.beta4]       ╰─> See above for output.
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/ee01a19e-1496-48b6-ac89-3f359c71f9bcn%40googlegroups.com.

Reply via email to