Dear Sagemath developers,,
I am trying to install sagemath from git.
I am following the instructions at
https://doc.sagemath.org/html/en/installation/source.html
First I did a tentative without anything special when configuring, but
there were errors building singular and eclib. Then I tried to force
sagemath to use the packages of the system (ubuntu) instead of
installing them again so I tried:
git clean -x -f -d # clean the previous tentative of installation
export MAKE="make -j4" # exploit the 4 processors
make configure
./configure --help
./configure --with-system-singular=yes --with-system-eclib=yes
--config-cache --enable-ccache
First there is this repeated warning:
[flint-3.0.1] ./src/ulong_extras.h:92:36: warning: implicit declaration
of function 'mpn_gcd_11'; did you mean 'mpn_gcd_1'?
[-Wimplicit-function-declaration]
[flint-3.0.1] 92 | res = (x != 1 && y != 1) ? mpn_gcd_11(x,
y) : 1;
Then
[singular-4.3.2p8] Error installing package singular-4.3.2p8
The two log files are attached to this email.
I suspect the problem is some incompatibility of versions of packages?
(very common with a ubuntu LTS). Here are the installed packages:
apt list
*eclib* *singular*
En train de lister... Fait
eclib-tools/jammy,now 20210625-1build1 amd64 [installé]
libsingular4-dev-common/jammy,jammy,now 1:4.2.1-p3+ds-1 all [installé,
automatique]
libsingular4-dev/jammy,now 1:4.2.1-p3+ds-1 amd64 [installé]
libsingular4m2n1/jammy,now 1:4.2.1-p3+ds-1 amd64 [installé, automatique]
singular-data/jammy,jammy,now 1:4.2.1-p3+ds-1 all [installé, automatique]
singular-doc/jammy,jammy,now 1:4.2.1-p3+ds-1 all [installé]
singular-modules/jammy,now 1:4.2.1-p3+ds-1 amd64 [installé, automatique]
singular-ui/jammy,now 1:4.2.1-p3+ds-1 amd64 [installé, automatique]
singular/jammy,now 1:4.2.1-p3+ds-1 amd64 [installé]
Many thanks for your help,
Aurore.