Compilation error(s) on Fedora 41

asked 2024-11-06 08:34:31 +0100

Sebastien gravatar image

updated 2024-11-06 13:48:00 +0100

Hi,
As far as I remember, Fedora users should compile from source?
In any case I tried to compile on Fedora 41, got various errors, however managed to compile version 10-4, and I assume my feedback can help somebody:
* first the real problem I faced: in a file flock.py, the command import pipes was causing an issue. I had to change it to from urllib.parse import quote and I had to change pipes.quote(arg) into quote(args)
* Next I had a problem with pari: when the function qfcvp0 is called in a file gen.c it has one more argument that the way it is defined in /usr/inclue/pari/paridecl.h (where the argument for precision is missing). My fix was to dnf remove pari before I do the whole compilation process (configure then make).
* On versions 10-0 to 10-3, the ./configure was not able to find gcc. I had to add option --without-system-gcc to the command configure, hence it took ages to compile gcc, but at the end of the day the compilation failed because it was not finding GMP. I gave up on compiling these versions when I manadged to compile 10-4.
Best
Seb

edit retag flag offensive close merge delete

Comments

This is more suitable for discussion in sage-devel: https://groups.google.com/g/sage-devel

Max Alekseyev gravatar imageMax Alekseyev ( 2024-11-06 16:08:52 +0100 )edit