On Mon, 14 Aug 2023, 09:57 Emmanuel Charpentier, < emanuel.charpent...@gmail.com> wrote:
> ./configure is inconsistent when handling arb detection. I do have > system’s libraries : > charpent@zen-book-flip:/usr/local/sage-10$ dpkg -l "*arb*" > Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder | > État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=att> > |/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais) ||/ > Nom Version Architecture Description > +++-======================-=============-============-=========================> > ii libflint-arb-dev:amd64 1:2.23.0-1+b1 amd64 C library for arbitrary-p> un > libflint-arb-doc <aucune> <aucune> (aucune description n'est> ii > libflint-arb2:amd64 1:2.23.0-1+b1 amd64 C library for arbitrary-p > > However, ./configure gives inconsistent resulys. From config.log : > ## ---------------------------------------------------- ## ## Checking > whether SageMath should install SPKG arb... ## ## > ---------------------------------------------------- ## configure:15898: > checking installing flint? configure:15905: checking for arb.h > configure:15905: g++ -std=gnu++11 -c conftest.cpp >&5 configure:15905: $? = > 0 configure:15905: result: yes configure:15909: checking for > acb_mat_eig_simple in -larb configure:15931: g++ -std=gnu++11 -o conftest > conftest.cpp -larb -lflint -lmpfr -lglpk -lgmp -lm -lntl >&5 /usr/bin/ld: > cannot find -larb: No such file or directory collect2: error: ld returned 1 > exit status configure:15931: $? = 1 configure: failed program was: | /* > confdefs.h */ | #define PACKAGE_NAME "Sage" | #define PACKAGE_TARNAME > "sage" | #define PACKAGE_VERSION "10.1.rc0" | #define PACKAGE_STRING "Sage > 10.1.rc0" | #define PACKAGE_BUGREPORT "sage-de...@googlegroups.com" | > #define PACKAGE_URL "" | #define PACKAGE "sage" | #define VERSION > "10.1.rc0" | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define > HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | > #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define > HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define STDC_HEADERS 1 | > #define HAVE_LIBM 1 | #define HAVE_CXX11 1 | #define HAVE_GMP_H 1 | #define > ABSOLUTE_GMP_H "///usr/include/x86_64-linux-gnu/gmp.h" | #define > HAVE_NTL_ZZ_H 1 | #define ABSOLUTE_NTL_ZZ_H "///usr/include/NTL/ZZ.h" | /* > end confdefs.h. */ | | namespace conftest { | extern "C" int > acb_mat_eig_simple (); | } | int | main (void) | { | return > conftest::acb_mat_eig_simple (); | ; | return 0; | } configure:15941: > result: no configure:15950: checking for acb_mat_eig_simple in -lflint-arb > configure:15972: g++ -std=gnu++11 -o conftest conftest.cpp -lflint-arb > -lflint -lmpfr -lglpk -lgmp -lm -lntl >&5 configure:15972: $? = 0 > configure:15982: result: yes configure:16004: will use system package and > not install SPKG arb > > As a result, sagelib isn’t built. > > Discounting for the moment the obvious workaround ./configure > --with-system-arb=no, what can be done ? > Do you mean to say that an update to the system arb does not cause a rebuild of sagelib? (otherwise, what's inconsistent?) That's obviously not being checked, and there is no easy way to do this, either. Yes, system updates are tricky. make sagelib-clean sagelib-uninstall will help. > Le dimanche 13 août 2023 à 19:31:15 UTC+2, Volker Braun a écrit : > >> As always, you can get the latest beta version from the "develop" git >> branch. Alternatively, the self-contained source tarball is at >> http://www.sagemath.org/download-latest.html >> >> aa220c4a1e3 (tag: 10.1.rc0, github/develop) Updated SageMath version to >> 10.1.rc0 >> 50208b76199 gh-36077: `sage.graphs`: fix doctest warnings due to >> modularization >> 2b22924ded5 gh-36076: Remove deprecated parameter circular from method >> `is_planar` >> a00ac4f5a5c gh-36075: Remove rename warning in spanning_tree.pyx >> 35ac035e0eb gh-36074: Remove deprecation warnings renaming parameter >> verbosity to verbose in graphs >> 32d375d23ce gh-36073: Stop sorting Graph vertices and edges by default >> 1e6cd50d88d gh-36072: small cleanup of triangulation/base.pyx >> ddcfc9afe34 gh-36068: Speed-up matrix construction by ensuring MatrixArgs >> type MA_ENTRIES_ZERO >> caf98de404c gh-36066: Fix link to tutorial in PDF docs. This fixes #35736. >> 517cdce8d9b gh-36062: Fix typo in docstring >> d6c6f621891 gh-36056: `sage.rings.finite_rings`: Modularization fixes, `# >> needs` >> 03dec7d1d7a gh-36052: `sage.rings.{padics,valuation}`: Modularization >> fixes, `# needs` >> afb74af1e6f gh-36051: `sage.{topology,homology}`: Update # needs, >> modularization fixes >> ba7d11896cf gh-36045: `sage.rings.polynomial`: Modularization fixes, `# >> needs` >> a38d1298dd2 gh-36044: `sage.rings.number_field`: Modularization fixes, >> doctest cosmetics, `# needs` >> 11751dccdb9 gh-36040: Fix failing doctest in sage/graphs/bliss.pyx >> a023470b2a5 gh-36039: cylint: some details in arith, algebras and crypto >> folders >> 47b6151f4b7 gh-36038: `sage.plot`: Add/update `# needs` >> d150b9ac3d1 gh-36037: `sage.typeset`: Update `# needs` >> b26827269bc gh-36036: Fix E721 warnings for .pyx files >> 5b5adf1a711 gh-36035: cython-lint : further fixes in quadratic forms >> 53406923081 gh-36034: Fix block-scoped doctest tags with `\` line >> continuations >> e8453e1cc87 gh-36033: `sage.geometry`: Update `# needs`, use block-scoped >> tags >> 1039d66f0a1 gh-36032: Fix pycodestyle warning E721 >> ad549b60811 gh-36025: Use `# optional - gap_package_grape` etc. instead >> of `# optional - gap_packages` >> 8402923dbc6 gh-35982: some care in sage/graphs/domination.py >> e86a48fefed gh-35981: some improvements in sage/graphs/orientations.py >> df198d044f2 gh-35969: Improve method reverse for digraphs >> de15e88544a gh-35935: add multiple= option to >> EllipticCurvePoint_field.set_order() >> c0b16839bfb gh-35903: Add parameter key to methods multiple_edges and >> edge_boundary >> d5a3fd14e0c gh-35884: `sage.{modular,schemes}`: Modularization fixes for >> imports; update `sage -fiximports`, add relint pattern >> 0fd596703c8 (tag: 10.1.beta9) Updated SageMath version to 10.1.beta9 >> > -- > You received this message because you are subscribed to the Google Groups > "sage-release" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-release+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-release/8e96382d-c4d9-4b59-9c1a-0e1eb409451bn%40googlegroups.com > <https://groups.google.com/d/msgid/sage-release/8e96382d-c4d9-4b59-9c1a-0e1eb409451bn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/CAAWYfq3ww9WzjupWY20OGTYX1rakgdGav%3DpbMg9-SGY_30fGQw%40mail.gmail.com.