Failure to compile Sage 10.3.rc0

46 views
Skip to first unread message

Peter Mueller

unread,
Feb 26, 2024, 9:50:40 AMFeb 26
to sage-support
Installation of Sage 10.3.rc0 from source on an up-to-date Arch Linux machine fails. I'm not sure if the following snippet of the log file hints to the problem:

[sagelib-10.3.rc0]     In file included from sage/symbolic/ginac/pseries.cpp:26:
[sagelib-10.3.rc0]     sage/symbolic/ginac/useries-flint.h:31:11: error: 'fmpq_init_set_mpz_frac_readonly' is deprecated.
[sagelib-10.3.rc0]        31 | extern "C" void fmpq_init_set_mpz_frac_readonly(fmpq_t z, const mpz_t p, const mpz_t q);
[sagelib-10.3.rc0]           |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[sagelib-10.3.rc0]     sage/symbolic/ginac/useries-flint.h:31:55: error: expected ')' before 'z'
[sagelib-10.3.rc0]        31 | extern "C" void fmpq_init_set_mpz_frac_readonly(fmpq_t z, const mpz_t p, const mpz_t q);
[sagelib-10.3.rc0]           |                                                ~      ^~
[sagelib-10.3.rc0]           |                                                       )

Antonio Rojas

unread,
Feb 26, 2024, 10:06:24 AMFeb 26
to sage-support
Sage doesn't currently support flint 3.1. Either build with the bundled flint or patch [1] sagelib

Reply all
Reply to author
Forward
0 new messages