>From config.log: configure:13475: will use system package and not install SPKG gmp configure:13511: checking absolute name of <gmp.h> configure:13517: checking for gmp.h configure:13517: result: yes configure:13538: result: ///usr/local/include/gmp.h
Try removing the installation in /usr/local On Monday, January 15, 2024 at 1:59:28 PM UTC-8 Aurore Guillevic wrote: > 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. -- 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/18586ae2-4824-464a-b30c-b9a30e12c4bfn%40googlegroups.com.