[sage-devel] Re: Errors with make on macOS

2023-11-19 Thread John H Palmieri
Try:

% make distclean # remove all progress, just in case
% brew install cddlib fplll gsl maxima python3 singular suite-sparse  # as 
recommended at the end of `./configure`
% ./configure

Then read the output and see if it still recommends installing gsl. I hope 
not. Then

% make


On Sunday, November 19, 2023 at 1:01:09 PM UTC-8 Josh Maglione wrote:

> When running 'make' in my sage directory, I encounter an error with the 
> gsl package. I am on a MacBook Pro using macOS Sonoma 14.1.1. I have also 
> attached logs. 
>
> Any help will be most appreciated. Thank you.
>
> Josh
>

-- 
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/ed2c4de3-e0f1-4795-b85d-a401aefb3f27n%40googlegroups.com.


[sage-devel] Re: sage-10.2.rc4 does not build on opensuse tumbleweed

2023-11-19 Thread Matthias Koeppe
For reference, this 
is https://github.com/sagemath/sage/issues/27750#issuecomment-1432504494 
(the easy fix somehow never made it into Sage)

It will go away in our upgrade to FLINT 3, 
https://github.com/sagemath/sage/pull/35848, which does not have these 
problematic LD_LIBRARY_PATH manipulations in its build system.

On Sunday, November 19, 2023 at 8:21:47 AM UTC-8 Matthias Koeppe wrote:

> We also see this failure on opensuse-tumbleweed in our CI in the "minimal" 
> system package configuration 
> https://github.com/sagemath/sage/actions/runs/6909825582/job/18801882455#step:11:2323
>
> However, the "standard" system package configuration builds and tests 
> fine: 
> https://github.com/sagemath/sage/actions/runs/6909825582/job/18806775962
>
> So likely this can be fixed on your system by installing more system 
> packages.
>
> What's surprising in your config.log is that it is giving recommendations 
> for using "apt-get" (excerpt below). Not sure where apt-get would be coming 
> from, but if you move it away, then you'll receive system package 
> recommendations for OpenSuSE (using zypper), as seen here: 
> https://github.com/sagemath/sage/actions/runs/6909825582/job/18801882455#step:11:1722
>
> = config.log
> notice: the following SPKGs did not find equivalent system packages:
>
> appdirs arb cachetools chardet colorama cypari distlib ecl eclib 
> fflas_ffpack filelock flint fpylll freetype gengetopt giac givaro lcalc 
> libgd linbox lrcalc mathjax matplotlib maxima meson nauty ncurses palp pari 
> pari_galdata pari_seadata_small patchelf pillow pplpy primecount 
> primecountpy primesieve python3 qhull readline rw singular sympow tox 
> virtualenv   4ti2 _develop _recommended cbc coxeter3 gp2c igraph 
> libgraphviz libnauty libxml2 lrslib pandoc pari_elldata pari_galpol 
> pari_nftables pari_seadata pdf2svg perl_cpan_polymake_prereq perl_mongodb 
> polymake
> 
> configure:154937: checking for the package system in use
> configure:154940: result: debian
> configure:154951:
>
> hint: installing the following system packages, if not
> already present, is recommended and may avoid having to
> build them (though some may have to be built anyway):
>
>   $ sudo apt-get update 
>   $ sudo apt-get install  libflint-arb-dev ecl libec-dev eclib-tools 
> fflas-ffpack libflint-dev libfreetype-dev gengetopt libgiac-dev xcas 
> libgivaro-dev lcalc liblfunction-dev libgd-dev liblinbox-dev liblrcalc-dev 
> maxima-sage maxima meson nauty libncurses5-dev palp pari-gp2c libpari-dev 
> pari-doc pari-elldata pari-galdata pari-galpol pari-seadata patchelf 
> libprimesieve-dev python3 libpython3-dev python3-distutils python3-venv 
> libqhull-dev libreadline-dev librw-dev singular singular-doc 
> libsingular4-dev sympow tox
> =
>
>
> On Sunday, November 19, 2023 at 8:03:07 AM UTC-8 Christian Bär wrote:
>
>> Dear all,
>>
>> sage-10.2.rc4 does not compile on opensuse tumbleweed (20231117). The 
>> package arb does not build.  The package arb-devel is not installed on the 
>> system because it is no longer available for tumbleweed. Sage compilation 
>> stops with the error message:
>>
>> /bin/sh: symbol lookup error: /bin/sh: undefined symbol: 
>> rl_trim_arg_from_keyseq, version READLINE_8.2
>> make[8]: *** [../Makefile.subdirs:60: ../build/fmpz_extras/lshift_mpn.lo] 
>> Error 127
>> make[8]: *** [../Makefile.subdirs:60: 
>> ../build/fmpz_extras/sub_small_large.lo] Error 127
>> make[7]: *** [Makefile:128: libarb.so.2.14.0] Error 2
>> make[6]: *** [Makefile:148: library] Error 2
>> make[5]: *** [Makefile:95: verbose] Error 2
>>
>> 
>> Error building arb-2.23.0
>>
>> 
>>
>> The log files are attached. The system has an AMD Ryzen 5950 CPU. 
>>
>> As a matter of fact, the same problem arises when I try to compile 
>> sage-10.1 (with arb-2.22.1). When sage-10.1 came out, it did work 
>> though. After some tumbleweed update 1 or 2 months ago, sage stopped 
>> working and compilation was no longer possible.
>>
>> Best,
>> Christian
>>
>

-- 
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/889cab46-c1bf-4f20-9950-80762ee5f578n%40googlegroups.com.


[sage-devel] Re: sage-10.2.rc4 does not build on opensuse tumbleweed

2023-11-19 Thread Matthias Koeppe
We also see this failure on opensuse-tumbleweed in our CI in the "minimal" 
system package 
configuration 
https://github.com/sagemath/sage/actions/runs/6909825582/job/18801882455#step:11:2323

However, the "standard" system package configuration builds and tests 
fine: https://github.com/sagemath/sage/actions/runs/6909825582/job/18806775962

So likely this can be fixed on your system by installing more system 
packages.

What's surprising in your config.log is that it is giving recommendations 
for using "apt-get" (excerpt below). Not sure where apt-get would be coming 
from, but if you move it away, then you'll receive system package 
recommendations for OpenSuSE (using zypper), as seen 
here: 
https://github.com/sagemath/sage/actions/runs/6909825582/job/18801882455#step:11:1722

= config.log
notice: the following SPKGs did not find equivalent system packages:

appdirs arb cachetools chardet colorama cypari distlib ecl eclib 
fflas_ffpack filelock flint fpylll freetype gengetopt giac givaro lcalc 
libgd linbox lrcalc mathjax matplotlib maxima meson nauty ncurses palp pari 
pari_galdata pari_seadata_small patchelf pillow pplpy primecount 
primecountpy primesieve python3 qhull readline rw singular sympow tox 
virtualenv   4ti2 _develop _recommended cbc coxeter3 gp2c igraph 
libgraphviz libnauty libxml2 lrslib pandoc pari_elldata pari_galpol 
pari_nftables pari_seadata pdf2svg perl_cpan_polymake_prereq perl_mongodb 
polymake

configure:154937: checking for the package system in use
configure:154940: result: debian
configure:154951:

hint: installing the following system packages, if not
already present, is recommended and may avoid having to
build them (though some may have to be built anyway):

  $ sudo apt-get update 
  $ sudo apt-get install  libflint-arb-dev ecl libec-dev eclib-tools 
fflas-ffpack libflint-dev libfreetype-dev gengetopt libgiac-dev xcas 
libgivaro-dev lcalc liblfunction-dev libgd-dev liblinbox-dev liblrcalc-dev 
maxima-sage maxima meson nauty libncurses5-dev palp pari-gp2c libpari-dev 
pari-doc pari-elldata pari-galdata pari-galpol pari-seadata patchelf 
libprimesieve-dev python3 libpython3-dev python3-distutils python3-venv 
libqhull-dev libreadline-dev librw-dev singular singular-doc 
libsingular4-dev sympow tox
=


On Sunday, November 19, 2023 at 8:03:07 AM UTC-8 Christian Bär wrote:

> Dear all,
>
> sage-10.2.rc4 does not compile on opensuse tumbleweed (20231117). The 
> package arb does not build.  The package arb-devel is not installed on the 
> system because it is no longer available for tumbleweed. Sage compilation 
> stops with the error message:
>
> /bin/sh: symbol lookup error: /bin/sh: undefined symbol: 
> rl_trim_arg_from_keyseq, version READLINE_8.2
> make[8]: *** [../Makefile.subdirs:60: ../build/fmpz_extras/lshift_mpn.lo] 
> Error 127
> make[8]: *** [../Makefile.subdirs:60: 
> ../build/fmpz_extras/sub_small_large.lo] Error 127
> make[7]: *** [Makefile:128: libarb.so.2.14.0] Error 2
> make[6]: *** [Makefile:148: library] Error 2
> make[5]: *** [Makefile:95: verbose] Error 2
>
> 
> Error building arb-2.23.0
>
> 
>
> The log files are attached. The system has an AMD Ryzen 5950 CPU. 
>
> As a matter of fact, the same problem arises when I try to compile 
> sage-10.1 (with arb-2.22.1). When sage-10.1 came out, it did work though. 
> After some tumbleweed update 1 or 2 months ago, sage stopped working and 
> compilation was no longer possible.
>
> Best,
> Christian
>

-- 
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/ce8af88d-f0a9-4eb7-b387-fb1ff6915110n%40googlegroups.com.