[sage-devel] Generation of sample points for log-scale plots

2020-04-15 Thread Blair Mason
Hello all,

Should generate_plot_points() be modified to log-sample on plots where the 
x scale is logarithmic? I'd be willing to write the patch up but I'd like 
to know that it would be desired behavior before I do so.

I've been using sage to graph the frequency responses of a couple of 
filters.  While I was generating the plots, the results sage generated by 
default were not correct - sage had picked too few sample points.  
Increasing the number of points by an order of magnitude worked, but it 
significantly slowed generation of the figures, which was undesirable as I 
was looking to make them interactive.  Restating the function in terms of x 
<- 2^x and changing the axes appropriately solved the problem.

I think plot() should 'just work' the way one would intuitively expect.  
However, I don't know - there may be (/probably are) use cases where this 
would be far from expected behavior.

Code, to illustrate:

def mag2db(x):
return 20*log(x, 10)

def plot_tf(tf, cutoff, var, domain=(1, 1e6), thresh=1e-2, **kwargs):
tf = tf.substitute({var:var*i})
return plot_semilogx(mag2db(abs(tf)), (var, domain[0], domain[1]), base=
2, **kwargs)

def plot_tf_log(tf, cutoff, var, domain=(1, 1e6), thresh=1e-2, **kwargs):
tf = tf.substitute({var:2^(var)*i})
return plot(mag2db(abs(tf)), (var, log(domain[0], 2), log(domain[1], 2
)), **kwargs)

@interact
def _(w=slider(0, 2, step_size=500, default=2000, label='$\\omega_c$'), 
R=slider(0, 5, default=1, step_size=0.2), C=slider(0, 10, default=1, 
step_size=0.2)):
l = L.substitute(omega_c=w, r=R, c=C)
b = B.substitute(omega_c=w, r=R, c=C)
h = H.substitute(omega_c=w, r=R, c=C)

p = plot_tf(l, w, s, color='blue')
p += plot_tf(b, w, s, color='red')
p += plot_tf(h, w, s, color='green')
p.show(ymin=-30, ymax=5)

p2 = plot_tf_log(l, w, s, color='blue')
p2 += plot_tf_log(b, w, s, color='red')
p2 += plot_tf_log(h, w, s, color='green')
p2.show(ymin=-30, ymax=5)

print(l) # 400/(s^2 + 4000*s + 400)
print(b) # 2000*s/(s^2 + 4000*s + 400)
print(h) # s^2/(s^2 + 4000.000*s + 400)

[image: a.png] [image: b.png]

Thanks,


Blair Mason





-- 
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/7164f726-788d-4718-8ddc-90eba8e858ce%40googlegroups.com.


[sage-devel] Help needed with various bugfix tickets waiting for review

2020-04-15 Thread Matthias Koeppe
https://trac.sagemath.org/query?milestone=sage-9.1=1=status=1500=id=summary=author=reviewer=time=changetime=component=keywords=component


-- 
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/7ec4058d-5b87-46e2-956f-e5774a4afa10%40googlegroups.com.


[sage-devel] Re: Segmentation fault factoring a multivariate polynomial over IntegerModRing

2020-04-15 Thread Sebastian Oehms

>
> It looks like this problem is going to be fixed by the upgrade to Singular 
> 4.1.3 (#25993).
>
Indeed! Thanks for pointing this out!
 

> There is another segmentation fault related to the non-commutative 
> subsystem Plural, though, causing a doctest failure on the upgrade branch. 
> See https://trac.sagemath.org/ticket/25993#comment:22 for details. Any 
> help with this is appreciated.
>
I fear I'm not familiar enought with that, but I will do an attempt. 

On Tuesday, April 14, 2020 at 7:54:03 PM UTC+2, Markus Wageringel wrote:
>
> It looks like this problem is going to be fixed by the upgrade to Singular 
> 4.1.3 (#25993).
>
> sage: R. = Integers(7)[]
> sage: p = x**2-1
> sage: p.factor()
> (x + 1) * (x + 6)
>
> There is another segmentation fault related to the non-commutative 
> subsystem Plural, though, causing a doctest failure on the upgrade branch. 
> See https://trac.sagemath.org/ticket/25993#comment:22 for details. Any 
> help with this is appreciated.
>
>

-- 
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/91e7fe98-33aa-498f-95c5-6fb3bcf33c05%40googlegroups.com.


Re: [sage-devel] Re: archlinux: some system package not recognized

2020-04-15 Thread David Coudert


> Le 15 avr. 2020 à 16:41, Dima Pasechnik  a écrit :
> 
> You need to copy/symlink all these m4 files.
> Spicifically, you seems to have forgotten lib-link.m4, which contains
> the definition of AC_LIB_RPATH
> you see the error about.

Right. thank you. 

This way it’s much better and after .configure, I get

config.status: creating directory local/var/lib/sage/installed
configure: notice: the following SPKGs did not find equivalent system packages: 
flintqs gf2x gp2c libsemigroups nauty pari_elldata pari_galpol pari_nftables 
pari_seadata perl_term_readline_gnu
checking for the package system in use... homebrew
configure: No equivalent system packages for homebrew are known to Sage


The last part is curious...

I will follow #29504  

> 
> On Wed, Apr 15, 2020 at 10:19 PM David Coudert  wrote:
>> 
>> 
>> 
>> Le 15 avr. 2020 à 15:50, Dima Pasechnik  a écrit :
>> 
>> On Wed, Apr 15, 2020 at 7:13 PM David Coudert  wrote:
>> 
>> 
>> 
>> 
>> Le 15 avr. 2020 à 12:40, Dima Pasechnik  a écrit :
>> 
>> On Wed, Apr 15, 2020 at 6:22 PM David Coudert  wrote:
>> 
>> 
>> I tried that already, but:
>> 
>> confetti:sage dcoudert$ brew install gettext
>> Warning: gettext 0.20.1 is already installed and up-to-date
>> To reinstall 0.20.1, run `brew reinstall gettext`
>> confetti:sage dcoudert$ brew link --force gettext
>> Warning: Refusing to link macOS provided/shadowed software: gettext
>> If you need to have gettext first in your PATH run:
>> echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.bash_profile
>> 
>> For compilers to find gettext you may need to set:
>> export LDFLAGS="-L/usr/local/opt/gettext/lib"
>> export CPPFLAGS="-I/usr/local/opt/gettext/include"
>> 
>> 
>> this is not enough, as you need m4 macros that come with gettext, in
>> particular iconv.m4
>> I am not sure where brew installes them exactly, but probably
>> somewhere under /usr/local/opt/gettext/
>> Probably /usr/local/opt/gettext/share/aclocal
>> but you can find it by running
>> 
>> find /usr/local/opt/ -name iconv.m4
>> 
>> and then
>> 
>> export M4PATH=$M4PATH:/usr/local/opt/gettext/share/aclocal # (or
>> whatever the correct value of the directory is)
>> ./bootstrap
>> 
>> PS. Homebrew should get a bug report on this, I gather…
>> 
>> 
>> not working :((
>> 
>> confetti:sage dcoudert$ ll /usr/local/opt/gettext/share/aclocal/
>> total 280
>> -rw-r--r--  1 dcoudert  staff  14483 12 mai  2019 gettext.m4
>> -rw-r--r--  1 dcoudert  staff  21489 12 mai  2019 host-cpu-c-abi.m4
>> -rw-r--r--  1 dcoudert  staff   9731 12 mai  2019 iconv.m4
>> -rw-r--r--  1 dcoudert  staff   3321 12 mai  2019 intlmacosx.m4
>> -rw-r--r--  1 dcoudert  staff   5370 12 mai  2019 lib-ld.m4
>> -rw-r--r--  1 dcoudert  staff  32772 15 avr 09:35 lib-link.m4
>> -rw-r--r--  1 dcoudert  staff   9680 15 avr 09:35 lib-prefix.m4
>> -rw-r--r--  1 dcoudert  staff   1229 12 mai  2019 nls.m4
>> -rw-r--r--  1 dcoudert  staff  18831 12 mai  2019 po.m4
>> -rw-r--r--  1 dcoudert  staff   3092 12 mai  2019 progtest.m4
>> confetti:sage dcoudert$ export 
>> M4PATH=$M4PATH:/usr/local/opt/gettext/share/aclocal/
>> 
>> 
>> maybe it should not have / at the end?
>> 
>> Anyway, I presume you can just copy or symlink these files to
>> /usr/local/share/aclocal
>> and try ./bootstrap again
>> 
>> 
>> 
>> I tried that and it’s not better
>> 
>> confetti:sage dcoudert$ ./bootstrap
>> rm -rf config configure build/make/Makefile-auto.in
>> rm -f src/doc/en/installation/*.txt
>> src/doc/bootstrap:48: installing src/doc/en/installation/arch.txt and 
>> src/doc/en/installation/arch-optional.txt
>> src/doc/bootstrap:48: installing src/doc/en/installation/debian.txt and 
>> src/doc/en/installation/debian-optional.txt
>> src/doc/bootstrap:48: installing src/doc/en/installation/fedora.txt and 
>> src/doc/en/installation/fedora-optional.txt
>> src/doc/bootstrap:48: installing src/doc/en/installation/cygwin.txt and 
>> src/doc/en/installation/cygwin-optional.txt
>> bootstrap:69: installing 'config/config.rpath'
>> m4/sage_spkg_configures.m4:103: warning: AC_LIB_RPATH is m4_require'd but 
>> not m4_defun'd
>> /usr/local/share/aclocal/iconv.m4:19: AM_ICONV_LINKFLAGS_BODY is expanded 
>> from...
>> /usr/local/share/aclocal/iconv.m4:226: AM_ICONV_LINK is expanded from...
>> ../../lib/m4sugar/m4sh.m4:643: AS_IF is expanded from...
>> ../../lib/m4sugar/m4sh.m4:643: AS_IF is expanded from...
>> ../../lib/m4sugar/m4sh.m4:643: AS_IF is expanded from...
>> m4/sage_spkg_collect.m4:310: SAGE_SPKG_COLLECT is expanded from...
>> m4/sage_spkg_configures.m4:103: the top level
>> m4/sage_spkg_configures.m4:103: warning: AC_LIB_RPATH is m4_require'd but 
>> not m4_defun'd
>> /usr/local/share/aclocal/iconv.m4:19: AM_ICONV_LINKFLAGS_BODY is expanded 
>> from...
>> /usr/local/share/aclocal/iconv.m4:226: AM_ICONV_LINK is expanded from...
>> ../../lib/m4sugar/m4sh.m4:643: AS_IF is expanded from...
>> ../../lib/m4sugar/m4sh.m4:643: AS_IF is expanded from...
>> 

Re: [sage-devel] Re: archlinux: some system package not recognized

2020-04-15 Thread Dima Pasechnik
You need to copy/symlink all these m4 files.
Spicifically, you seems to have forgotten lib-link.m4, which contains
the definition of AC_LIB_RPATH
you see the error about.

On Wed, Apr 15, 2020 at 10:19 PM David Coudert  wrote:
>
>
>
> Le 15 avr. 2020 à 15:50, Dima Pasechnik  a écrit :
>
> On Wed, Apr 15, 2020 at 7:13 PM David Coudert  wrote:
>
>
>
>
> Le 15 avr. 2020 à 12:40, Dima Pasechnik  a écrit :
>
> On Wed, Apr 15, 2020 at 6:22 PM David Coudert  wrote:
>
>
> I tried that already, but:
>
> confetti:sage dcoudert$ brew install gettext
> Warning: gettext 0.20.1 is already installed and up-to-date
> To reinstall 0.20.1, run `brew reinstall gettext`
> confetti:sage dcoudert$ brew link --force gettext
> Warning: Refusing to link macOS provided/shadowed software: gettext
> If you need to have gettext first in your PATH run:
> echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.bash_profile
>
> For compilers to find gettext you may need to set:
> export LDFLAGS="-L/usr/local/opt/gettext/lib"
> export CPPFLAGS="-I/usr/local/opt/gettext/include"
>
>
> this is not enough, as you need m4 macros that come with gettext, in
> particular iconv.m4
> I am not sure where brew installes them exactly, but probably
> somewhere under /usr/local/opt/gettext/
> Probably /usr/local/opt/gettext/share/aclocal
> but you can find it by running
>
> find /usr/local/opt/ -name iconv.m4
>
> and then
>
> export M4PATH=$M4PATH:/usr/local/opt/gettext/share/aclocal # (or
> whatever the correct value of the directory is)
> ./bootstrap
>
> PS. Homebrew should get a bug report on this, I gather…
>
>
> not working :((
>
> confetti:sage dcoudert$ ll /usr/local/opt/gettext/share/aclocal/
> total 280
> -rw-r--r--  1 dcoudert  staff  14483 12 mai  2019 gettext.m4
> -rw-r--r--  1 dcoudert  staff  21489 12 mai  2019 host-cpu-c-abi.m4
> -rw-r--r--  1 dcoudert  staff   9731 12 mai  2019 iconv.m4
> -rw-r--r--  1 dcoudert  staff   3321 12 mai  2019 intlmacosx.m4
> -rw-r--r--  1 dcoudert  staff   5370 12 mai  2019 lib-ld.m4
> -rw-r--r--  1 dcoudert  staff  32772 15 avr 09:35 lib-link.m4
> -rw-r--r--  1 dcoudert  staff   9680 15 avr 09:35 lib-prefix.m4
> -rw-r--r--  1 dcoudert  staff   1229 12 mai  2019 nls.m4
> -rw-r--r--  1 dcoudert  staff  18831 12 mai  2019 po.m4
> -rw-r--r--  1 dcoudert  staff   3092 12 mai  2019 progtest.m4
> confetti:sage dcoudert$ export 
> M4PATH=$M4PATH:/usr/local/opt/gettext/share/aclocal/
>
>
> maybe it should not have / at the end?
>
> Anyway, I presume you can just copy or symlink these files to
> /usr/local/share/aclocal
> and try ./bootstrap again
>
>
>
> I tried that and it’s not better
>
> confetti:sage dcoudert$ ./bootstrap
> rm -rf config configure build/make/Makefile-auto.in
> rm -f src/doc/en/installation/*.txt
> src/doc/bootstrap:48: installing src/doc/en/installation/arch.txt and 
> src/doc/en/installation/arch-optional.txt
> src/doc/bootstrap:48: installing src/doc/en/installation/debian.txt and 
> src/doc/en/installation/debian-optional.txt
> src/doc/bootstrap:48: installing src/doc/en/installation/fedora.txt and 
> src/doc/en/installation/fedora-optional.txt
> src/doc/bootstrap:48: installing src/doc/en/installation/cygwin.txt and 
> src/doc/en/installation/cygwin-optional.txt
> bootstrap:69: installing 'config/config.rpath'
> m4/sage_spkg_configures.m4:103: warning: AC_LIB_RPATH is m4_require'd but not 
> m4_defun'd
> /usr/local/share/aclocal/iconv.m4:19: AM_ICONV_LINKFLAGS_BODY is expanded 
> from...
> /usr/local/share/aclocal/iconv.m4:226: AM_ICONV_LINK is expanded from...
> ../../lib/m4sugar/m4sh.m4:643: AS_IF is expanded from...
> ../../lib/m4sugar/m4sh.m4:643: AS_IF is expanded from...
> ../../lib/m4sugar/m4sh.m4:643: AS_IF is expanded from...
> m4/sage_spkg_collect.m4:310: SAGE_SPKG_COLLECT is expanded from...
> m4/sage_spkg_configures.m4:103: the top level
> m4/sage_spkg_configures.m4:103: warning: AC_LIB_RPATH is m4_require'd but not 
> m4_defun'd
> /usr/local/share/aclocal/iconv.m4:19: AM_ICONV_LINKFLAGS_BODY is expanded 
> from...
> /usr/local/share/aclocal/iconv.m4:226: AM_ICONV_LINK is expanded from...
> ../../lib/m4sugar/m4sh.m4:643: AS_IF is expanded from...
> ../../lib/m4sugar/m4sh.m4:643: AS_IF is expanded from...
> ../../lib/m4sugar/m4sh.m4:643: AS_IF is expanded from...
> m4/sage_spkg_collect.m4:310: SAGE_SPKG_COLLECT is expanded from...
> m4/sage_spkg_configures.m4:103: the top level
> m4/sage_spkg_configures.m4:103: warning: AC_LIB_RPATH is m4_require'd but not 
> m4_defun'd
> aclocal.m4:41: AM_ICONV_LINKFLAGS_BODY is expanded from...
> aclocal.m4:248: AM_ICONV_LINK is expanded from...
> ../../lib/m4sugar/m4sh.m4:643: AS_IF is expanded from...
> ../../lib/m4sugar/m4sh.m4:643: AS_IF is expanded from...
> ../../lib/m4sugar/m4sh.m4:643: AS_IF is expanded from...
> m4/sage_spkg_collect.m4:310: SAGE_SPKG_COLLECT is expanded from...
> m4/sage_spkg_configures.m4:103: the top level
> configure.ac:336: installing 'config/compile'
> configure.ac:113: installing 'config/config.guess'
> 

Re: [sage-devel] Re: archlinux: some system package not recognized

2020-04-15 Thread Matthias Koeppe
On Wednesday, April 15, 2020 at 1:58:09 AM UTC-7, David Coudert wrote:
>
> unfortunately not. 
> I installed gettext with brew some time ago now and added 
> /usr/local/opt/gettext/bin to my PATH, but it’s not working.
>
> Checking whether SageMath should install SPKG iconv...
> ./configure: line 20606: AM_ICONV: command not found
> configure: no suitable system package found for SPKG iconv
>
>
See #29504  

-- 
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/58a121ef-9bd3-4f12-9eb2-cd408526fd71%40googlegroups.com.


Re: [sage-devel] Re: archlinux: some system package not recognized

2020-04-15 Thread David Coudert


> Le 15 avr. 2020 à 15:50, Dima Pasechnik  a écrit :
> 
> On Wed, Apr 15, 2020 at 7:13 PM David Coudert  > wrote:
>> 
>> 
>> 
>> Le 15 avr. 2020 à 12:40, Dima Pasechnik  a écrit :
>> 
>> On Wed, Apr 15, 2020 at 6:22 PM David Coudert  wrote:
>> 
>> 
>> I tried that already, but:
>> 
>> confetti:sage dcoudert$ brew install gettext
>> Warning: gettext 0.20.1 is already installed and up-to-date
>> To reinstall 0.20.1, run `brew reinstall gettext`
>> confetti:sage dcoudert$ brew link --force gettext
>> Warning: Refusing to link macOS provided/shadowed software: gettext
>> If you need to have gettext first in your PATH run:
>> echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.bash_profile
>> 
>> For compilers to find gettext you may need to set:
>> export LDFLAGS="-L/usr/local/opt/gettext/lib"
>> export CPPFLAGS="-I/usr/local/opt/gettext/include"
>> 
>> 
>> this is not enough, as you need m4 macros that come with gettext, in
>> particular iconv.m4
>> I am not sure where brew installes them exactly, but probably
>> somewhere under /usr/local/opt/gettext/
>> Probably /usr/local/opt/gettext/share/aclocal
>> but you can find it by running
>> 
>> find /usr/local/opt/ -name iconv.m4
>> 
>> and then
>> 
>> export M4PATH=$M4PATH:/usr/local/opt/gettext/share/aclocal # (or
>> whatever the correct value of the directory is)
>> ./bootstrap
>> 
>> PS. Homebrew should get a bug report on this, I gather…
>> 
>> 
>> not working :((
>> 
>> confetti:sage dcoudert$ ll /usr/local/opt/gettext/share/aclocal/
>> total 280
>> -rw-r--r--  1 dcoudert  staff  14483 12 mai  2019 gettext.m4
>> -rw-r--r--  1 dcoudert  staff  21489 12 mai  2019 host-cpu-c-abi.m4
>> -rw-r--r--  1 dcoudert  staff   9731 12 mai  2019 iconv.m4
>> -rw-r--r--  1 dcoudert  staff   3321 12 mai  2019 intlmacosx.m4
>> -rw-r--r--  1 dcoudert  staff   5370 12 mai  2019 lib-ld.m4
>> -rw-r--r--  1 dcoudert  staff  32772 15 avr 09:35 lib-link.m4
>> -rw-r--r--  1 dcoudert  staff   9680 15 avr 09:35 lib-prefix.m4
>> -rw-r--r--  1 dcoudert  staff   1229 12 mai  2019 nls.m4
>> -rw-r--r--  1 dcoudert  staff  18831 12 mai  2019 po.m4
>> -rw-r--r--  1 dcoudert  staff   3092 12 mai  2019 progtest.m4
>> confetti:sage dcoudert$ export 
>> M4PATH=$M4PATH:/usr/local/opt/gettext/share/aclocal/
> 
> maybe it should not have / at the end?
> 
> Anyway, I presume you can just copy or symlink these files to
> /usr/local/share/aclocal
> and try ./bootstrap again
> 


I tried that and it’s not better

confetti:sage dcoudert$ ./bootstrap 
rm -rf config configure build/make/Makefile-auto.in
rm -f src/doc/en/installation/*.txt
src/doc/bootstrap:48: installing src/doc/en/installation/arch.txt and 
src/doc/en/installation/arch-optional.txt
src/doc/bootstrap:48: installing src/doc/en/installation/debian.txt and 
src/doc/en/installation/debian-optional.txt
src/doc/bootstrap:48: installing src/doc/en/installation/fedora.txt and 
src/doc/en/installation/fedora-optional.txt
src/doc/bootstrap:48: installing src/doc/en/installation/cygwin.txt and 
src/doc/en/installation/cygwin-optional.txt
bootstrap:69: installing 'config/config.rpath'
m4/sage_spkg_configures.m4:103: warning: AC_LIB_RPATH is m4_require'd but not 
m4_defun'd
/usr/local/share/aclocal/iconv.m4:19: AM_ICONV_LINKFLAGS_BODY is expanded 
from...
/usr/local/share/aclocal/iconv.m4:226: AM_ICONV_LINK is expanded from...
../../lib/m4sugar/m4sh.m4:643: AS_IF is expanded from...
../../lib/m4sugar/m4sh.m4:643: AS_IF is expanded from...
../../lib/m4sugar/m4sh.m4:643: AS_IF is expanded from...
m4/sage_spkg_collect.m4:310: SAGE_SPKG_COLLECT is expanded from...
m4/sage_spkg_configures.m4:103: the top level
m4/sage_spkg_configures.m4:103: warning: AC_LIB_RPATH is m4_require'd but not 
m4_defun'd
/usr/local/share/aclocal/iconv.m4:19: AM_ICONV_LINKFLAGS_BODY is expanded 
from...
/usr/local/share/aclocal/iconv.m4:226: AM_ICONV_LINK is expanded from...
../../lib/m4sugar/m4sh.m4:643: AS_IF is expanded from...
../../lib/m4sugar/m4sh.m4:643: AS_IF is expanded from...
../../lib/m4sugar/m4sh.m4:643: AS_IF is expanded from...
m4/sage_spkg_collect.m4:310: SAGE_SPKG_COLLECT is expanded from...
m4/sage_spkg_configures.m4:103: the top level
m4/sage_spkg_configures.m4:103: warning: AC_LIB_RPATH is m4_require'd but not 
m4_defun'd
aclocal.m4:41: AM_ICONV_LINKFLAGS_BODY is expanded from...
aclocal.m4:248: AM_ICONV_LINK is expanded from...
../../lib/m4sugar/m4sh.m4:643: AS_IF is expanded from...
../../lib/m4sugar/m4sh.m4:643: AS_IF is expanded from...
../../lib/m4sugar/m4sh.m4:643: AS_IF is expanded from...
m4/sage_spkg_collect.m4:310: SAGE_SPKG_COLLECT is expanded from...
m4/sage_spkg_configures.m4:103: the top level
configure.ac:336: installing 'config/compile'
configure.ac:113: installing 'config/config.guess'
configure.ac:113: installing 'config/config.sub'
configure.ac:68: installing 'config/install-sh'
configure.ac:68: installing 'config/missing'
m4/sage_spkg_configures.m4:103: warning: AC_LIB_RPATH is m4_require'd but not 

Re: [sage-devel] Re: archlinux: some system package not recognized

2020-04-15 Thread Dima Pasechnik
On Wed, Apr 15, 2020 at 7:13 PM David Coudert  wrote:
>
>
>
> Le 15 avr. 2020 à 12:40, Dima Pasechnik  a écrit :
>
> On Wed, Apr 15, 2020 at 6:22 PM David Coudert  wrote:
>
>
> I tried that already, but:
>
> confetti:sage dcoudert$ brew install gettext
> Warning: gettext 0.20.1 is already installed and up-to-date
> To reinstall 0.20.1, run `brew reinstall gettext`
> confetti:sage dcoudert$ brew link --force gettext
> Warning: Refusing to link macOS provided/shadowed software: gettext
> If you need to have gettext first in your PATH run:
>  echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.bash_profile
>
> For compilers to find gettext you may need to set:
>  export LDFLAGS="-L/usr/local/opt/gettext/lib"
>  export CPPFLAGS="-I/usr/local/opt/gettext/include"
>
>
> this is not enough, as you need m4 macros that come with gettext, in
> particular iconv.m4
> I am not sure where brew installes them exactly, but probably
> somewhere under /usr/local/opt/gettext/
> Probably /usr/local/opt/gettext/share/aclocal
> but you can find it by running
>
> find /usr/local/opt/ -name iconv.m4
>
> and then
>
> export M4PATH=$M4PATH:/usr/local/opt/gettext/share/aclocal # (or
> whatever the correct value of the directory is)
> ./bootstrap
>
> PS. Homebrew should get a bug report on this, I gather…
>
>
> not working :((
>
> confetti:sage dcoudert$ ll /usr/local/opt/gettext/share/aclocal/
> total 280
> -rw-r--r--  1 dcoudert  staff  14483 12 mai  2019 gettext.m4
> -rw-r--r--  1 dcoudert  staff  21489 12 mai  2019 host-cpu-c-abi.m4
> -rw-r--r--  1 dcoudert  staff   9731 12 mai  2019 iconv.m4
> -rw-r--r--  1 dcoudert  staff   3321 12 mai  2019 intlmacosx.m4
> -rw-r--r--  1 dcoudert  staff   5370 12 mai  2019 lib-ld.m4
> -rw-r--r--  1 dcoudert  staff  32772 15 avr 09:35 lib-link.m4
> -rw-r--r--  1 dcoudert  staff   9680 15 avr 09:35 lib-prefix.m4
> -rw-r--r--  1 dcoudert  staff   1229 12 mai  2019 nls.m4
> -rw-r--r--  1 dcoudert  staff  18831 12 mai  2019 po.m4
> -rw-r--r--  1 dcoudert  staff   3092 12 mai  2019 progtest.m4
> confetti:sage dcoudert$ export 
> M4PATH=$M4PATH:/usr/local/opt/gettext/share/aclocal/

maybe it should not have / at the end?

Anyway, I presume you can just copy or symlink these files to
 /usr/local/share/aclocal
and try ./bootstrap again


> confetti:sage dcoudert$ ./bootstrap
> rm -rf config configure build/make/Makefile-auto.in
> rm -f src/doc/en/installation/*.txt
> src/doc/bootstrap:48: installing src/doc/en/installation/arch.txt and 
> src/doc/en/installation/arch-optional.txt
> src/doc/bootstrap:48: installing src/doc/en/installation/debian.txt and 
> src/doc/en/installation/debian-optional.txt
> src/doc/bootstrap:48: installing src/doc/en/installation/fedora.txt and 
> src/doc/en/installation/fedora-optional.txt
> src/doc/bootstrap:48: installing src/doc/en/installation/cygwin.txt and 
> src/doc/en/installation/cygwin-optional.txt
> bootstrap:69: installing 'config/config.rpath'
> build/pkgs/iconv/spkg-configure.m4:2: warning: macro 'AM_ICONV' not found in 
> library
> configure.ac:336: installing 'config/compile'
> configure.ac:113: installing 'config/config.guess'
> configure.ac:113: installing 'config/config.sub'
> configure.ac:68: installing 'config/install-sh'
> configure.ac:68: installing 'config/missing'
> configure:20606: error: possibly undefined macro: AM_ICONV
>   If this token and others are legitimate, please use m4_pattern_allow.
>   See the Autoconf documentation.
>
>
>
>
>
>
>
>
>
>
>
> even setting the LDFLAGS and CPPFLAGS, I still get
> Checking whether SageMath should install SPKG iconv...
> ./configure: line 20606: AM_ICONV: command not found
> configure: no suitable system package found for SPKG iconv
>
>
> I can work with that for now.
>
> Best,
> David.
>
>
> Le 15 avr. 2020 à 12:00, Dima Pasechnik  a écrit :
>
> On Wed, Apr 15, 2020 at 5:33 PM David Coudert  wrote:
>
>
> it gives the following. Not clear to me.
>
> confetti:sage dcoudert$ ./bootstrap
> rm -rf config configure build/make/Makefile-auto.in
> rm -f src/doc/en/installation/*.txt
> src/doc/bootstrap:48: installing src/doc/en/installation/arch.txt and 
> src/doc/en/installation/arch-optional.txt
> src/doc/bootstrap:48: installing src/doc/en/installation/debian.txt and 
> src/doc/en/installation/debian-optional.txt
> src/doc/bootstrap:48: installing src/doc/en/installation/fedora.txt and 
> src/doc/en/installation/fedora-optional.txt
> src/doc/bootstrap:48: installing src/doc/en/installation/cygwin.txt and 
> src/doc/en/installation/cygwin-optional.txt
> bootstrap:69: installing 'config/config.rpath'
> build/pkgs/iconv/spkg-configure.m4:2: warning: macro 'AM_ICONV' not found in 
> library
> configure.ac:336: installing 'config/compile'
> configure.ac:113: installing 'config/config.guess'
> configure.ac:113: installing 'config/config.sub'
> configure.ac:68: installing 'config/install-sh'
> configure.ac:68: installing 'config/missing'
> configure:20606: error: possibly undefined macro: AM_ICONV
> 

Re: [sage-devel] Re: archlinux: some system package not recognized

2020-04-15 Thread David Coudert


> Le 15 avr. 2020 à 12:40, Dima Pasechnik  a écrit :
> 
> On Wed, Apr 15, 2020 at 6:22 PM David Coudert  > wrote:
>> 
>> I tried that already, but:
>> 
>> confetti:sage dcoudert$ brew install gettext
>> Warning: gettext 0.20.1 is already installed and up-to-date
>> To reinstall 0.20.1, run `brew reinstall gettext`
>> confetti:sage dcoudert$ brew link --force gettext
>> Warning: Refusing to link macOS provided/shadowed software: gettext
>> If you need to have gettext first in your PATH run:
>>  echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.bash_profile
>> 
>> For compilers to find gettext you may need to set:
>>  export LDFLAGS="-L/usr/local/opt/gettext/lib"
>>  export CPPFLAGS="-I/usr/local/opt/gettext/include"
> 
> this is not enough, as you need m4 macros that come with gettext, in
> particular iconv.m4
> I am not sure where brew installes them exactly, but probably
> somewhere under /usr/local/opt/gettext/
> Probably /usr/local/opt/gettext/share/aclocal
> but you can find it by running
> 
> find /usr/local/opt/ -name iconv.m4
> 
> and then
> 
> export M4PATH=$M4PATH:/usr/local/opt/gettext/share/aclocal # (or
> whatever the correct value of the directory is)
> ./bootstrap
> 
> PS. Homebrew should get a bug report on this, I gather…

not working :((

confetti:sage dcoudert$ ll /usr/local/opt/gettext/share/aclocal/
total 280
-rw-r--r--  1 dcoudert  staff  14483 12 mai  2019 gettext.m4
-rw-r--r--  1 dcoudert  staff  21489 12 mai  2019 host-cpu-c-abi.m4
-rw-r--r--  1 dcoudert  staff   9731 12 mai  2019 iconv.m4
-rw-r--r--  1 dcoudert  staff   3321 12 mai  2019 intlmacosx.m4
-rw-r--r--  1 dcoudert  staff   5370 12 mai  2019 lib-ld.m4
-rw-r--r--  1 dcoudert  staff  32772 15 avr 09:35 lib-link.m4
-rw-r--r--  1 dcoudert  staff   9680 15 avr 09:35 lib-prefix.m4
-rw-r--r--  1 dcoudert  staff   1229 12 mai  2019 nls.m4
-rw-r--r--  1 dcoudert  staff  18831 12 mai  2019 po.m4
-rw-r--r--  1 dcoudert  staff   3092 12 mai  2019 progtest.m4
confetti:sage dcoudert$ export 
M4PATH=$M4PATH:/usr/local/opt/gettext/share/aclocal/
confetti:sage dcoudert$ ./bootstrap 
rm -rf config configure build/make/Makefile-auto.in
rm -f src/doc/en/installation/*.txt
src/doc/bootstrap:48: installing src/doc/en/installation/arch.txt and 
src/doc/en/installation/arch-optional.txt
src/doc/bootstrap:48: installing src/doc/en/installation/debian.txt and 
src/doc/en/installation/debian-optional.txt
src/doc/bootstrap:48: installing src/doc/en/installation/fedora.txt and 
src/doc/en/installation/fedora-optional.txt
src/doc/bootstrap:48: installing src/doc/en/installation/cygwin.txt and 
src/doc/en/installation/cygwin-optional.txt
bootstrap:69: installing 'config/config.rpath'
build/pkgs/iconv/spkg-configure.m4:2: warning: macro 'AM_ICONV' not found in 
library
configure.ac:336: installing 'config/compile'
configure.ac:113: installing 'config/config.guess'
configure.ac:113: installing 'config/config.sub'
configure.ac:68: installing 'config/install-sh'
configure.ac:68: installing 'config/missing'
configure:20606: error: possibly undefined macro: AM_ICONV
  If this token and others are legitimate, please use m4_pattern_allow.
  See the Autoconf documentation.







> 
>> 
>> 
>> 
>> even setting the LDFLAGS and CPPFLAGS, I still get
>> Checking whether SageMath should install SPKG iconv...
>> ./configure: line 20606: AM_ICONV: command not found
>> configure: no suitable system package found for SPKG iconv
>> 
>> 
>> I can work with that for now.
>> 
>> Best,
>> David.
>> 
>> 
>> Le 15 avr. 2020 à 12:00, Dima Pasechnik  a écrit :
>> 
>> On Wed, Apr 15, 2020 at 5:33 PM David Coudert  wrote:
>> 
>> 
>> it gives the following. Not clear to me.
>> 
>> confetti:sage dcoudert$ ./bootstrap
>> rm -rf config configure build/make/Makefile-auto.in
>> rm -f src/doc/en/installation/*.txt
>> src/doc/bootstrap:48: installing src/doc/en/installation/arch.txt and 
>> src/doc/en/installation/arch-optional.txt
>> src/doc/bootstrap:48: installing src/doc/en/installation/debian.txt and 
>> src/doc/en/installation/debian-optional.txt
>> src/doc/bootstrap:48: installing src/doc/en/installation/fedora.txt and 
>> src/doc/en/installation/fedora-optional.txt
>> src/doc/bootstrap:48: installing src/doc/en/installation/cygwin.txt and 
>> src/doc/en/installation/cygwin-optional.txt
>> bootstrap:69: installing 'config/config.rpath'
>> build/pkgs/iconv/spkg-configure.m4:2: warning: macro 'AM_ICONV' not found in 
>> library
>> configure.ac:336: installing 'config/compile'
>> configure.ac:113: installing 'config/config.guess'
>> configure.ac:113: installing 'config/config.sub'
>> configure.ac:68: installing 'config/install-sh'
>> configure.ac:68: installing 'config/missing'
>> configure:20606: error: possibly undefined macro: AM_ICONV
>> If this token and others are legitimate, please use m4_pattern_allow.
>> See the Autoconf documentation.
>> 
>> 
>> internet says that you need
>> 
>> brew Install gettext
>> brew link 

Re: [sage-devel] Re: archlinux: some system package not recognized

2020-04-15 Thread Dima Pasechnik
On Wed, Apr 15, 2020 at 6:22 PM David Coudert  wrote:
>
> I tried that already, but:
>
> confetti:sage dcoudert$ brew install gettext
> Warning: gettext 0.20.1 is already installed and up-to-date
> To reinstall 0.20.1, run `brew reinstall gettext`
> confetti:sage dcoudert$ brew link --force gettext
> Warning: Refusing to link macOS provided/shadowed software: gettext
> If you need to have gettext first in your PATH run:
>   echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.bash_profile
>
> For compilers to find gettext you may need to set:
>   export LDFLAGS="-L/usr/local/opt/gettext/lib"
>   export CPPFLAGS="-I/usr/local/opt/gettext/include"

this is not enough, as you need m4 macros that come with gettext, in
particular iconv.m4
I am not sure where brew installes them exactly, but probably
somewhere under /usr/local/opt/gettext/
Probably /usr/local/opt/gettext/share/aclocal
but you can find it by running

find /usr/local/opt/ -name iconv.m4

and then

export M4PATH=$M4PATH:/usr/local/opt/gettext/share/aclocal # (or
whatever the correct value of the directory is)
./bootstrap

PS. Homebrew should get a bug report on this, I gather...

>
>
>
> even setting the LDFLAGS and CPPFLAGS, I still get
> Checking whether SageMath should install SPKG iconv...
> ./configure: line 20606: AM_ICONV: command not found
> configure: no suitable system package found for SPKG iconv
>
>
> I can work with that for now.
>
> Best,
> David.
>
>
> Le 15 avr. 2020 à 12:00, Dima Pasechnik  a écrit :
>
> On Wed, Apr 15, 2020 at 5:33 PM David Coudert  wrote:
>
>
> it gives the following. Not clear to me.
>
> confetti:sage dcoudert$ ./bootstrap
> rm -rf config configure build/make/Makefile-auto.in
> rm -f src/doc/en/installation/*.txt
> src/doc/bootstrap:48: installing src/doc/en/installation/arch.txt and 
> src/doc/en/installation/arch-optional.txt
> src/doc/bootstrap:48: installing src/doc/en/installation/debian.txt and 
> src/doc/en/installation/debian-optional.txt
> src/doc/bootstrap:48: installing src/doc/en/installation/fedora.txt and 
> src/doc/en/installation/fedora-optional.txt
> src/doc/bootstrap:48: installing src/doc/en/installation/cygwin.txt and 
> src/doc/en/installation/cygwin-optional.txt
> bootstrap:69: installing 'config/config.rpath'
> build/pkgs/iconv/spkg-configure.m4:2: warning: macro 'AM_ICONV' not found in 
> library
> configure.ac:336: installing 'config/compile'
> configure.ac:113: installing 'config/config.guess'
> configure.ac:113: installing 'config/config.sub'
> configure.ac:68: installing 'config/install-sh'
> configure.ac:68: installing 'config/missing'
> configure:20606: error: possibly undefined macro: AM_ICONV
>  If this token and others are legitimate, please use m4_pattern_allow.
>  See the Autoconf documentation.
>
>
> internet says that you need
>
> brew Install gettext
> brew link --force gettext
>
>
>
> confetti:sage dcoudert$
>
>
> Le 15 avr. 2020 à 11:26, David Coudert  a écrit :
>
> no. I will try that.
> David.
>
> Le 15 avr. 2020 à 11:24, Dima Pasechnik  a écrit :
>
> On Wed, Apr 15, 2020 at 4:58 PM David Coudert  wrote:
>
>
> unfortunately not.
> I installed gettext with brew some time ago now and added 
> /usr/local/opt/gettext/bin to my PATH, but it’s not working.
>
> did you re-run
>
> ./bootstrap
>
> ?
>
> Checking whether SageMath should install SPKG iconv...
> ./configure: line 20606: AM_ICONV: command not found
> configure: no suitable system package found for SPKG iconv
>
>
>
> Le 15 avr. 2020 à 03:06, Dima Pasechnik  a écrit :
>
> On Wed, Apr 15, 2020 at 2:22 AM David Coudert  wrote:
>
>
>
>
> Le 14 avr. 2020 à 18:15, John H Palmieri  a écrit :
>
> I would suggest two things:
>
>  $ brew install pkg-config
>
> and then before building Sage, while in SAGE_ROOT:
>
>  $ source .homebrew-build-env
>
> Then try ./configure to see what it says at the end about system packages.
>
>
>
> I installed some more packages and did what you proposed.
> I still get issues with pari / flint and so all related packages.
>
> configure: notice: the following SPKGs did not find equivalent system 
> packages: arb brial cddlib cliquer eclib ecm fflas_ffpack flint flintqs fplll 
> gf2x givaro gp2c iconv lcalc libatomic_ops libbraiding libsemigroups lrcalc 
> m4rie nauty pari pari_elldata pari_galdata pari_galpol pari_nftables 
> pari_seadata pari_seadata_small perl_term_readline_gnu planarity r rw 
> symmetrica tachyon
> checking for the package system in use... homebrew
> configure: hint: installing the following system packages is recommended and 
> may avoid building some of the above SPKGs from source:
> configure:   $ brew install r
>
> I also have an issue with AM_ICONV, although I have gettext (with path in 
> $PATH), readline (recognized) and libiconv.
> Checking whether SageMath should install SPKG iconv...
> ./configure: line 20606: AM_ICONV: command not found
> configure: no suitable system package found for SPKG iconv
>
>
> AM_ICONV is a part of gettext
>
> brew install 

Re: [sage-devel] Re: archlinux: some system package not recognized

2020-04-15 Thread David Coudert
I tried that already, but:

confetti:sage dcoudert$ brew install gettext
Warning: gettext 0.20.1 is already installed and up-to-date
To reinstall 0.20.1, run `brew reinstall gettext`
confetti:sage dcoudert$ brew link --force gettext
Warning: Refusing to link macOS provided/shadowed software: gettext
If you need to have gettext first in your PATH run:
  echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.bash_profile

For compilers to find gettext you may need to set:
  export LDFLAGS="-L/usr/local/opt/gettext/lib"
  export CPPFLAGS="-I/usr/local/opt/gettext/include"



even setting the LDFLAGS and CPPFLAGS, I still get
Checking whether SageMath should install SPKG iconv...
./configure: line 20606: AM_ICONV: command not found
configure: no suitable system package found for SPKG iconv


I can work with that for now.

Best,
David.


> Le 15 avr. 2020 à 12:00, Dima Pasechnik  a écrit :
> 
> On Wed, Apr 15, 2020 at 5:33 PM David Coudert  > wrote:
>> 
>> it gives the following. Not clear to me.
>> 
>> confetti:sage dcoudert$ ./bootstrap
>> rm -rf config configure build/make/Makefile-auto.in
>> rm -f src/doc/en/installation/*.txt
>> src/doc/bootstrap:48: installing src/doc/en/installation/arch.txt and 
>> src/doc/en/installation/arch-optional.txt
>> src/doc/bootstrap:48: installing src/doc/en/installation/debian.txt and 
>> src/doc/en/installation/debian-optional.txt
>> src/doc/bootstrap:48: installing src/doc/en/installation/fedora.txt and 
>> src/doc/en/installation/fedora-optional.txt
>> src/doc/bootstrap:48: installing src/doc/en/installation/cygwin.txt and 
>> src/doc/en/installation/cygwin-optional.txt
>> bootstrap:69: installing 'config/config.rpath'
>> build/pkgs/iconv/spkg-configure.m4:2: warning: macro 'AM_ICONV' not found in 
>> library
>> configure.ac:336: installing 'config/compile'
>> configure.ac:113: installing 'config/config.guess'
>> configure.ac:113: installing 'config/config.sub'
>> configure.ac:68: installing 'config/install-sh'
>> configure.ac:68: installing 'config/missing'
>> configure:20606: error: possibly undefined macro: AM_ICONV
>>  If this token and others are legitimate, please use m4_pattern_allow.
>>  See the Autoconf documentation.
> 
> internet says that you need
> 
> brew Install gettext
> brew link --force gettext
> 
> 
> 
>> confetti:sage dcoudert$
>> 
>> 
>> Le 15 avr. 2020 à 11:26, David Coudert  a écrit :
>> 
>> no. I will try that.
>> David.
>> 
>> Le 15 avr. 2020 à 11:24, Dima Pasechnik  a écrit :
>> 
>> On Wed, Apr 15, 2020 at 4:58 PM David Coudert  wrote:
>> 
>> 
>> unfortunately not.
>> I installed gettext with brew some time ago now and added 
>> /usr/local/opt/gettext/bin to my PATH, but it’s not working.
>> 
>> did you re-run
>> 
>> ./bootstrap
>> 
>> ?
>> 
>> Checking whether SageMath should install SPKG iconv...
>> ./configure: line 20606: AM_ICONV: command not found
>> configure: no suitable system package found for SPKG iconv
>> 
>> 
>> 
>> Le 15 avr. 2020 à 03:06, Dima Pasechnik  a écrit :
>> 
>> On Wed, Apr 15, 2020 at 2:22 AM David Coudert  wrote:
>> 
>> 
>> 
>> 
>> Le 14 avr. 2020 à 18:15, John H Palmieri  a écrit :
>> 
>> I would suggest two things:
>> 
>>  $ brew install pkg-config
>> 
>> and then before building Sage, while in SAGE_ROOT:
>> 
>>  $ source .homebrew-build-env
>> 
>> Then try ./configure to see what it says at the end about system packages.
>> 
>> 
>> 
>> I installed some more packages and did what you proposed.
>> I still get issues with pari / flint and so all related packages.
>> 
>> configure: notice: the following SPKGs did not find equivalent system 
>> packages: arb brial cddlib cliquer eclib ecm fflas_ffpack flint flintqs 
>> fplll gf2x givaro gp2c iconv lcalc libatomic_ops libbraiding libsemigroups 
>> lrcalc m4rie nauty pari pari_elldata pari_galdata pari_galpol pari_nftables 
>> pari_seadata pari_seadata_small perl_term_readline_gnu planarity r rw 
>> symmetrica tachyon
>> checking for the package system in use... homebrew
>> configure: hint: installing the following system packages is recommended and 
>> may avoid building some of the above SPKGs from source:
>> configure:   $ brew install r
>> 
>> I also have an issue with AM_ICONV, although I have gettext (with path in 
>> $PATH), readline (recognized) and libiconv.
>> Checking whether SageMath should install SPKG iconv...
>> ./configure: line 20606: AM_ICONV: command not found
>> configure: no suitable system package found for SPKG iconv
>> 
>> 
>> AM_ICONV is a part of gettext
>> 
>> brew install gettext
>> 
>> should fix it.
>> 
>> 
>> Don’t know how to fix that.
>> I think it’s currently why r is not accepted.
>> 
>> Best,
>> David.
>> 
>> 
>> 
>> On Tuesday, April 14, 2020 at 6:21:40 AM UTC-7, David Coudert wrote:
>> 
>> 
>> I assume there is nothing simple I can do to fix this.
>> Thanks,
>> David.
>> 
>> Le 14 avr. 2020 à 15:09, Dima Pasechnik  a écrit :
>> 
>> On Tue, Apr 14, 2020 at 8:41 PM David Coudert  wrote:
>> 
>> 

Re: [sage-devel] Re: archlinux: some system package not recognized

2020-04-15 Thread Dima Pasechnik
On Wed, Apr 15, 2020 at 5:33 PM David Coudert  wrote:
>
> it gives the following. Not clear to me.
>
> confetti:sage dcoudert$ ./bootstrap
> rm -rf config configure build/make/Makefile-auto.in
> rm -f src/doc/en/installation/*.txt
> src/doc/bootstrap:48: installing src/doc/en/installation/arch.txt and 
> src/doc/en/installation/arch-optional.txt
> src/doc/bootstrap:48: installing src/doc/en/installation/debian.txt and 
> src/doc/en/installation/debian-optional.txt
> src/doc/bootstrap:48: installing src/doc/en/installation/fedora.txt and 
> src/doc/en/installation/fedora-optional.txt
> src/doc/bootstrap:48: installing src/doc/en/installation/cygwin.txt and 
> src/doc/en/installation/cygwin-optional.txt
> bootstrap:69: installing 'config/config.rpath'
> build/pkgs/iconv/spkg-configure.m4:2: warning: macro 'AM_ICONV' not found in 
> library
> configure.ac:336: installing 'config/compile'
> configure.ac:113: installing 'config/config.guess'
> configure.ac:113: installing 'config/config.sub'
> configure.ac:68: installing 'config/install-sh'
> configure.ac:68: installing 'config/missing'
> configure:20606: error: possibly undefined macro: AM_ICONV
>   If this token and others are legitimate, please use m4_pattern_allow.
>   See the Autoconf documentation.

internet says that you need

brew Install gettext
brew link --force gettext



> confetti:sage dcoudert$
>
>
> Le 15 avr. 2020 à 11:26, David Coudert  a écrit :
>
> no. I will try that.
> David.
>
> Le 15 avr. 2020 à 11:24, Dima Pasechnik  a écrit :
>
> On Wed, Apr 15, 2020 at 4:58 PM David Coudert  wrote:
>
>
> unfortunately not.
> I installed gettext with brew some time ago now and added 
> /usr/local/opt/gettext/bin to my PATH, but it’s not working.
>
> did you re-run
>
> ./bootstrap
>
> ?
>
> Checking whether SageMath should install SPKG iconv...
> ./configure: line 20606: AM_ICONV: command not found
> configure: no suitable system package found for SPKG iconv
>
>
>
> Le 15 avr. 2020 à 03:06, Dima Pasechnik  a écrit :
>
> On Wed, Apr 15, 2020 at 2:22 AM David Coudert  wrote:
>
>
>
>
> Le 14 avr. 2020 à 18:15, John H Palmieri  a écrit :
>
> I would suggest two things:
>
>   $ brew install pkg-config
>
> and then before building Sage, while in SAGE_ROOT:
>
>   $ source .homebrew-build-env
>
> Then try ./configure to see what it says at the end about system packages.
>
>
>
> I installed some more packages and did what you proposed.
> I still get issues with pari / flint and so all related packages.
>
> configure: notice: the following SPKGs did not find equivalent system 
> packages: arb brial cddlib cliquer eclib ecm fflas_ffpack flint flintqs fplll 
> gf2x givaro gp2c iconv lcalc libatomic_ops libbraiding libsemigroups lrcalc 
> m4rie nauty pari pari_elldata pari_galdata pari_galpol pari_nftables 
> pari_seadata pari_seadata_small perl_term_readline_gnu planarity r rw 
> symmetrica tachyon
> checking for the package system in use... homebrew
> configure: hint: installing the following system packages is recommended and 
> may avoid building some of the above SPKGs from source:
> configure:   $ brew install r
>
> I also have an issue with AM_ICONV, although I have gettext (with path in 
> $PATH), readline (recognized) and libiconv.
> Checking whether SageMath should install SPKG iconv...
> ./configure: line 20606: AM_ICONV: command not found
> configure: no suitable system package found for SPKG iconv
>
>
> AM_ICONV is a part of gettext
>
> brew install gettext
>
> should fix it.
>
>
> Don’t know how to fix that.
> I think it’s currently why r is not accepted.
>
> Best,
> David.
>
>
>
> On Tuesday, April 14, 2020 at 6:21:40 AM UTC-7, David Coudert wrote:
>
>
> I assume there is nothing simple I can do to fix this.
> Thanks,
> David.
>
> Le 14 avr. 2020 à 15:09, Dima Pasechnik  a écrit :
>
> On Tue, Apr 14, 2020 at 8:41 PM David Coudert  wrote:
>
>
> I have similar issues on osx.
>
> I installed several packages using brew. Some of them are recognized, but not 
> some others.
> I suspect that I'm missing some dependencies, and possibly some environment 
> variables.
>
> For instance, I installed amp, mpfr, mpir, ntl and flint, and flint is the 
> only one not accepted. Why ?
>
> I have also an issue with readline. I'm unable to tell sage that it has been 
> installed with brew :(
>
> Any advise is more than welcome.
> Best,
> David.
>
> -
>
> Checking whether SageMath should install SPKG mpfr...
>
> checking installing gmp/mpir? ... no
>
> checking mpfr.h usability... yes
>
> checking mpfr.h presence... yes
>
> checking for mpfr.h... yes
>
> checking for library containing mpfr_free_pool... -lmpfr
>
> configure: will use system package and not install SPKG mpfr
>
> using mpfr library from the system
>
> -
>
> Checking whether SageMath should install SPKG ntl...
>
> checking installing gmp/mpir? ... no

Re: [sage-devel] Re: archlinux: some system package not recognized

2020-04-15 Thread David Coudert
it gives the following. Not clear to me.

confetti:sage dcoudert$ ./bootstrap 
rm -rf config configure build/make/Makefile-auto.in
rm -f src/doc/en/installation/*.txt
src/doc/bootstrap:48: installing src/doc/en/installation/arch.txt and 
src/doc/en/installation/arch-optional.txt
src/doc/bootstrap:48: installing src/doc/en/installation/debian.txt and 
src/doc/en/installation/debian-optional.txt
src/doc/bootstrap:48: installing src/doc/en/installation/fedora.txt and 
src/doc/en/installation/fedora-optional.txt
src/doc/bootstrap:48: installing src/doc/en/installation/cygwin.txt and 
src/doc/en/installation/cygwin-optional.txt
bootstrap:69: installing 'config/config.rpath'
build/pkgs/iconv/spkg-configure.m4:2: warning: macro 'AM_ICONV' not found in 
library
configure.ac:336: installing 'config/compile'
configure.ac:113: installing 'config/config.guess'
configure.ac:113: installing 'config/config.sub'
configure.ac:68: installing 'config/install-sh'
configure.ac:68: installing 'config/missing'
configure:20606: error: possibly undefined macro: AM_ICONV
  If this token and others are legitimate, please use m4_pattern_allow.
  See the Autoconf documentation.
confetti:sage dcoudert$ 


> Le 15 avr. 2020 à 11:26, David Coudert  a écrit :
> 
> no. I will try that.
> David.
> 
>> Le 15 avr. 2020 à 11:24, Dima Pasechnik > > a écrit :
>> 
>> On Wed, Apr 15, 2020 at 4:58 PM David Coudert > > wrote:
>>> 
>>> unfortunately not.
>>> I installed gettext with brew some time ago now and added 
>>> /usr/local/opt/gettext/bin to my PATH, but it’s not working.
>>> 
>> did you re-run
>> 
>> ./bootstrap
>> 
>> ?
>>> Checking whether SageMath should install SPKG iconv...
>>> ./configure: line 20606: AM_ICONV: command not found
>>> configure: no suitable system package found for SPKG iconv
>>> 
>>> 
>>> 
>>> Le 15 avr. 2020 à 03:06, Dima Pasechnik >> > a écrit :
>>> 
>>> On Wed, Apr 15, 2020 at 2:22 AM David Coudert >> > wrote:
>>> 
>>> 
>>> 
>>> 
>>> Le 14 avr. 2020 à 18:15, John H Palmieri >> > a écrit :
>>> 
>>> I would suggest two things:
>>> 
>>>   $ brew install pkg-config
>>> 
>>> and then before building Sage, while in SAGE_ROOT:
>>> 
>>>   $ source .homebrew-build-env
>>> 
>>> Then try ./configure to see what it says at the end about system packages.
>>> 
>>> 
>>> 
>>> I installed some more packages and did what you proposed.
>>> I still get issues with pari / flint and so all related packages.
>>> 
>>> configure: notice: the following SPKGs did not find equivalent system 
>>> packages: arb brial cddlib cliquer eclib ecm fflas_ffpack flint flintqs 
>>> fplll gf2x givaro gp2c iconv lcalc libatomic_ops libbraiding libsemigroups 
>>> lrcalc m4rie nauty pari pari_elldata pari_galdata pari_galpol pari_nftables 
>>> pari_seadata pari_seadata_small perl_term_readline_gnu planarity r rw 
>>> symmetrica tachyon
>>> checking for the package system in use... homebrew
>>> configure: hint: installing the following system packages is recommended 
>>> and may avoid building some of the above SPKGs from source:
>>> configure:   $ brew install r
>>> 
>>> I also have an issue with AM_ICONV, although I have gettext (with path in 
>>> $PATH), readline (recognized) and libiconv.
>>> Checking whether SageMath should install SPKG iconv...
>>> ./configure: line 20606: AM_ICONV: command not found
>>> configure: no suitable system package found for SPKG iconv
>>> 
>>> 
>>> AM_ICONV is a part of gettext
>>> 
>>> brew install gettext
>>> 
>>> should fix it.
>>> 
>>> 
>>> Don’t know how to fix that.
>>> I think it’s currently why r is not accepted.
>>> 
>>> Best,
>>> David.
>>> 
>>> 
>>> 
>>> On Tuesday, April 14, 2020 at 6:21:40 AM UTC-7, David Coudert wrote:
>>> 
>>> 
>>> I assume there is nothing simple I can do to fix this.
>>> Thanks,
>>> David.
>>> 
>>> Le 14 avr. 2020 à 15:09, Dima Pasechnik >> > a écrit :
>>> 
>>> On Tue, Apr 14, 2020 at 8:41 PM David Coudert >> > wrote:
>>> 
>>> 
>>> I have similar issues on osx.
>>> 
>>> I installed several packages using brew. Some of them are recognized, but 
>>> not some others.
>>> I suspect that I'm missing some dependencies, and possibly some environment 
>>> variables.
>>> 
>>> For instance, I installed amp, mpfr, mpir, ntl and flint, and flint is the 
>>> only one not accepted. Why ?
>>> 
>>> I have also an issue with readline. I'm unable to tell sage that it has 
>>> been installed with brew :(
>>> 
>>> Any advise is more than welcome.
>>> Best,
>>> David.
>>> 
>>> -
>>> 
>>> Checking whether SageMath should install SPKG mpfr...
>>> 
>>> checking installing gmp/mpir? ... no
>>> 
>>> checking mpfr.h usability... yes
>>> 
>>> checking mpfr.h presence... yes
>>> 
>>> checking for mpfr.h... yes
>>> 
>>> checking for library containing 

Re: [sage-devel] Re: archlinux: some system package not recognized

2020-04-15 Thread David Coudert
no. I will try that.
David.

> Le 15 avr. 2020 à 11:24, Dima Pasechnik  a écrit :
> 
> On Wed, Apr 15, 2020 at 4:58 PM David Coudert  > wrote:
>> 
>> unfortunately not.
>> I installed gettext with brew some time ago now and added 
>> /usr/local/opt/gettext/bin to my PATH, but it’s not working.
>> 
> did you re-run
> 
> ./bootstrap
> 
> ?
>> Checking whether SageMath should install SPKG iconv...
>> ./configure: line 20606: AM_ICONV: command not found
>> configure: no suitable system package found for SPKG iconv
>> 
>> 
>> 
>> Le 15 avr. 2020 à 03:06, Dima Pasechnik  a écrit :
>> 
>> On Wed, Apr 15, 2020 at 2:22 AM David Coudert  wrote:
>> 
>> 
>> 
>> 
>> Le 14 avr. 2020 à 18:15, John H Palmieri  a écrit :
>> 
>> I would suggest two things:
>> 
>>   $ brew install pkg-config
>> 
>> and then before building Sage, while in SAGE_ROOT:
>> 
>>   $ source .homebrew-build-env
>> 
>> Then try ./configure to see what it says at the end about system packages.
>> 
>> 
>> 
>> I installed some more packages and did what you proposed.
>> I still get issues with pari / flint and so all related packages.
>> 
>> configure: notice: the following SPKGs did not find equivalent system 
>> packages: arb brial cddlib cliquer eclib ecm fflas_ffpack flint flintqs 
>> fplll gf2x givaro gp2c iconv lcalc libatomic_ops libbraiding libsemigroups 
>> lrcalc m4rie nauty pari pari_elldata pari_galdata pari_galpol pari_nftables 
>> pari_seadata pari_seadata_small perl_term_readline_gnu planarity r rw 
>> symmetrica tachyon
>> checking for the package system in use... homebrew
>> configure: hint: installing the following system packages is recommended and 
>> may avoid building some of the above SPKGs from source:
>> configure:   $ brew install r
>> 
>> I also have an issue with AM_ICONV, although I have gettext (with path in 
>> $PATH), readline (recognized) and libiconv.
>> Checking whether SageMath should install SPKG iconv...
>> ./configure: line 20606: AM_ICONV: command not found
>> configure: no suitable system package found for SPKG iconv
>> 
>> 
>> AM_ICONV is a part of gettext
>> 
>> brew install gettext
>> 
>> should fix it.
>> 
>> 
>> Don’t know how to fix that.
>> I think it’s currently why r is not accepted.
>> 
>> Best,
>> David.
>> 
>> 
>> 
>> On Tuesday, April 14, 2020 at 6:21:40 AM UTC-7, David Coudert wrote:
>> 
>> 
>> I assume there is nothing simple I can do to fix this.
>> Thanks,
>> David.
>> 
>> Le 14 avr. 2020 à 15:09, Dima Pasechnik  a écrit :
>> 
>> On Tue, Apr 14, 2020 at 8:41 PM David Coudert  wrote:
>> 
>> 
>> I have similar issues on osx.
>> 
>> I installed several packages using brew. Some of them are recognized, but 
>> not some others.
>> I suspect that I'm missing some dependencies, and possibly some environment 
>> variables.
>> 
>> For instance, I installed amp, mpfr, mpir, ntl and flint, and flint is the 
>> only one not accepted. Why ?
>> 
>> I have also an issue with readline. I'm unable to tell sage that it has been 
>> installed with brew :(
>> 
>> Any advise is more than welcome.
>> Best,
>> David.
>> 
>> -
>> 
>> Checking whether SageMath should install SPKG mpfr...
>> 
>> checking installing gmp/mpir? ... no
>> 
>> checking mpfr.h usability... yes
>> 
>> checking mpfr.h presence... yes
>> 
>> checking for mpfr.h... yes
>> 
>> checking for library containing mpfr_free_pool... -lmpfr
>> 
>> configure: will use system package and not install SPKG mpfr
>> 
>> using mpfr library from the system
>> 
>> -
>> 
>> Checking whether SageMath should install SPKG ntl...
>> 
>> checking installing gmp/mpir? ... no
>> 
>> checking NTL/ZZ.h usability... yes
>> 
>> checking NTL/ZZ.h presence... yes
>> 
>> checking for NTL/ZZ.h... yes
>> 
>> checking whether we can link a program using NTL... yes
>> 
>> checking NTL version >= 10.3... 11.4.3
>> 
>> configure: will use system package and not install SPKG ntl
>> 
>> using ntl library from the system
>> 
>> -
>> 
>> Checking whether SageMath should install SPKG flint...
>> 
>> checking installing mpfr or ntl? ... checking flint/flint.h usability... yes
>> 
>> checking flint/flint.h presence... yes
>> 
>> checking for flint/flint.h... yes
>> 
>> checking for library containing fmpz_mat_is_hadamard... -lflint
>> 
>> checking for library containing fmpz_poly_get_ZZX... no
>> 
>> configure: no suitable system package found for SPKG flint
>> 
>> using Sage's flint SPKG
>> 
>> 
>> Apparently in your Arch Flint is not linked with NTL, while this is a
>> requirement for it to be
>> in useful in Sage.
>> 
>> E.g. that's on Debian:
>> 
>> dimpase@penguin:~/sage$ ldd /usr/lib/x86_64-linux-gnu/libflint-arb.so
>> linux-vdso.so.1 (0x7fff6a5fe000)
>> libflint-2.5.2.so => /usr/lib/libflint-2.5.2.so (0x7d084386d000)
>> 

Re: [sage-devel] Re: archlinux: some system package not recognized

2020-04-15 Thread Dima Pasechnik
On Wed, Apr 15, 2020 at 4:58 PM David Coudert  wrote:
>
> unfortunately not.
> I installed gettext with brew some time ago now and added 
> /usr/local/opt/gettext/bin to my PATH, but it’s not working.
>
did you re-run

./bootstrap

?
> Checking whether SageMath should install SPKG iconv...
> ./configure: line 20606: AM_ICONV: command not found
> configure: no suitable system package found for SPKG iconv
>
>
>
> Le 15 avr. 2020 à 03:06, Dima Pasechnik  a écrit :
>
> On Wed, Apr 15, 2020 at 2:22 AM David Coudert  wrote:
>
>
>
>
> Le 14 avr. 2020 à 18:15, John H Palmieri  a écrit :
>
> I would suggest two things:
>
>$ brew install pkg-config
>
> and then before building Sage, while in SAGE_ROOT:
>
>$ source .homebrew-build-env
>
> Then try ./configure to see what it says at the end about system packages.
>
>
>
> I installed some more packages and did what you proposed.
> I still get issues with pari / flint and so all related packages.
>
> configure: notice: the following SPKGs did not find equivalent system 
> packages: arb brial cddlib cliquer eclib ecm fflas_ffpack flint flintqs fplll 
> gf2x givaro gp2c iconv lcalc libatomic_ops libbraiding libsemigroups lrcalc 
> m4rie nauty pari pari_elldata pari_galdata pari_galpol pari_nftables 
> pari_seadata pari_seadata_small perl_term_readline_gnu planarity r rw 
> symmetrica tachyon
> checking for the package system in use... homebrew
> configure: hint: installing the following system packages is recommended and 
> may avoid building some of the above SPKGs from source:
> configure:   $ brew install r
>
> I also have an issue with AM_ICONV, although I have gettext (with path in 
> $PATH), readline (recognized) and libiconv.
> Checking whether SageMath should install SPKG iconv...
> ./configure: line 20606: AM_ICONV: command not found
> configure: no suitable system package found for SPKG iconv
>
>
> AM_ICONV is a part of gettext
>
> brew install gettext
>
> should fix it.
>
>
> Don’t know how to fix that.
> I think it’s currently why r is not accepted.
>
> Best,
> David.
>
>
>
> On Tuesday, April 14, 2020 at 6:21:40 AM UTC-7, David Coudert wrote:
>
>
> I assume there is nothing simple I can do to fix this.
> Thanks,
> David.
>
> Le 14 avr. 2020 à 15:09, Dima Pasechnik  a écrit :
>
> On Tue, Apr 14, 2020 at 8:41 PM David Coudert  wrote:
>
>
> I have similar issues on osx.
>
> I installed several packages using brew. Some of them are recognized, but not 
> some others.
> I suspect that I'm missing some dependencies, and possibly some environment 
> variables.
>
> For instance, I installed amp, mpfr, mpir, ntl and flint, and flint is the 
> only one not accepted. Why ?
>
> I have also an issue with readline. I'm unable to tell sage that it has been 
> installed with brew :(
>
> Any advise is more than welcome.
> Best,
> David.
>
> -
>
> Checking whether SageMath should install SPKG mpfr...
>
> checking installing gmp/mpir? ... no
>
> checking mpfr.h usability... yes
>
> checking mpfr.h presence... yes
>
> checking for mpfr.h... yes
>
> checking for library containing mpfr_free_pool... -lmpfr
>
> configure: will use system package and not install SPKG mpfr
>
> using mpfr library from the system
>
> -
>
> Checking whether SageMath should install SPKG ntl...
>
> checking installing gmp/mpir? ... no
>
> checking NTL/ZZ.h usability... yes
>
> checking NTL/ZZ.h presence... yes
>
> checking for NTL/ZZ.h... yes
>
> checking whether we can link a program using NTL... yes
>
> checking NTL version >= 10.3... 11.4.3
>
> configure: will use system package and not install SPKG ntl
>
> using ntl library from the system
>
> -
>
> Checking whether SageMath should install SPKG flint...
>
> checking installing mpfr or ntl? ... checking flint/flint.h usability... yes
>
> checking flint/flint.h presence... yes
>
> checking for flint/flint.h... yes
>
> checking for library containing fmpz_mat_is_hadamard... -lflint
>
> checking for library containing fmpz_poly_get_ZZX... no
>
> configure: no suitable system package found for SPKG flint
>
> using Sage's flint SPKG
>
>
> Apparently in your Arch Flint is not linked with NTL, while this is a
> requirement for it to be
> in useful in Sage.
>
> E.g. that's on Debian:
>
> dimpase@penguin:~/sage$ ldd /usr/lib/x86_64-linux-gnu/libflint-arb.so
> linux-vdso.so.1 (0x7fff6a5fe000)
> libflint-2.5.2.so => /usr/lib/libflint-2.5.2.so (0x7d084386d000)
> libmpfr.so.6 => /usr/lib/x86_64-linux-gnu/libmpfr.so.6 (0x7d08437eb000)
> libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 (0x7d0843768000)
> libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7d08435e5000)
> libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x7d08435c4000)
> libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 

Re: [sage-devel] Re: archlinux: some system package not recognized

2020-04-15 Thread David Coudert
unfortunately not. 
I installed gettext with brew some time ago now and added 
/usr/local/opt/gettext/bin to my PATH, but it’s not working.

Checking whether SageMath should install SPKG iconv...
./configure: line 20606: AM_ICONV: command not found
configure: no suitable system package found for SPKG iconv



> Le 15 avr. 2020 à 03:06, Dima Pasechnik  a écrit :
> 
> On Wed, Apr 15, 2020 at 2:22 AM David Coudert  > wrote:
>> 
>> 
>> 
>> Le 14 avr. 2020 à 18:15, John H Palmieri  a écrit :
>> 
>> I would suggest two things:
>> 
>>$ brew install pkg-config
>> 
>> and then before building Sage, while in SAGE_ROOT:
>> 
>>$ source .homebrew-build-env
>> 
>> Then try ./configure to see what it says at the end about system packages.
>> 
>> 
>> 
>> I installed some more packages and did what you proposed.
>> I still get issues with pari / flint and so all related packages.
>> 
>> configure: notice: the following SPKGs did not find equivalent system 
>> packages: arb brial cddlib cliquer eclib ecm fflas_ffpack flint flintqs 
>> fplll gf2x givaro gp2c iconv lcalc libatomic_ops libbraiding libsemigroups 
>> lrcalc m4rie nauty pari pari_elldata pari_galdata pari_galpol pari_nftables 
>> pari_seadata pari_seadata_small perl_term_readline_gnu planarity r rw 
>> symmetrica tachyon
>> checking for the package system in use... homebrew
>> configure: hint: installing the following system packages is recommended and 
>> may avoid building some of the above SPKGs from source:
>> configure:   $ brew install r
>> 
>> I also have an issue with AM_ICONV, although I have gettext (with path in 
>> $PATH), readline (recognized) and libiconv.
>> Checking whether SageMath should install SPKG iconv...
>> ./configure: line 20606: AM_ICONV: command not found
>> configure: no suitable system package found for SPKG iconv
> 
> AM_ICONV is a part of gettext
> 
> brew install gettext
> 
> should fix it.
> 
>> 
>> Don’t know how to fix that.
>> I think it’s currently why r is not accepted.
>> 
>> Best,
>> David.
>> 
>> 
>> 
>> On Tuesday, April 14, 2020 at 6:21:40 AM UTC-7, David Coudert wrote:
>>> 
>>> I assume there is nothing simple I can do to fix this.
>>> Thanks,
>>> David.
>>> 
>>> Le 14 avr. 2020 à 15:09, Dima Pasechnik  a écrit :
>>> 
>>> On Tue, Apr 14, 2020 at 8:41 PM David Coudert  wrote:
>>> 
>>> 
>>> I have similar issues on osx.
>>> 
>>> I installed several packages using brew. Some of them are recognized, but 
>>> not some others.
>>> I suspect that I'm missing some dependencies, and possibly some environment 
>>> variables.
>>> 
>>> For instance, I installed amp, mpfr, mpir, ntl and flint, and flint is the 
>>> only one not accepted. Why ?
>>> 
>>> I have also an issue with readline. I'm unable to tell sage that it has 
>>> been installed with brew :(
>>> 
>>> Any advise is more than welcome.
>>> Best,
>>> David.
>>> 
>>> -
>>> 
>>> Checking whether SageMath should install SPKG mpfr...
>>> 
>>> checking installing gmp/mpir? ... no
>>> 
>>> checking mpfr.h usability... yes
>>> 
>>> checking mpfr.h presence... yes
>>> 
>>> checking for mpfr.h... yes
>>> 
>>> checking for library containing mpfr_free_pool... -lmpfr
>>> 
>>> configure: will use system package and not install SPKG mpfr
>>> 
>>> using mpfr library from the system
>>> 
>>> -
>>> 
>>> Checking whether SageMath should install SPKG ntl...
>>> 
>>> checking installing gmp/mpir? ... no
>>> 
>>> checking NTL/ZZ.h usability... yes
>>> 
>>> checking NTL/ZZ.h presence... yes
>>> 
>>> checking for NTL/ZZ.h... yes
>>> 
>>> checking whether we can link a program using NTL... yes
>>> 
>>> checking NTL version >= 10.3... 11.4.3
>>> 
>>> configure: will use system package and not install SPKG ntl
>>> 
>>> using ntl library from the system
>>> 
>>> -
>>> 
>>> Checking whether SageMath should install SPKG flint...
>>> 
>>> checking installing mpfr or ntl? ... checking flint/flint.h usability... yes
>>> 
>>> checking flint/flint.h presence... yes
>>> 
>>> checking for flint/flint.h... yes
>>> 
>>> checking for library containing fmpz_mat_is_hadamard... -lflint
>>> 
>>> checking for library containing fmpz_poly_get_ZZX... no
>>> 
>>> configure: no suitable system package found for SPKG flint
>>> 
>>> using Sage's flint SPKG
>>> 
>>> 
>>> Apparently in your Arch Flint is not linked with NTL, while this is a
>>> requirement for it to be
>>> in useful in Sage.
>>> 
>>> E.g. that's on Debian:
>>> 
>>> dimpase@penguin:~/sage$ ldd /usr/lib/x86_64-linux-gnu/libflint-arb.so
>>> linux-vdso.so.1 (0x7fff6a5fe000)
>>> libflint-2.5.2.so => /usr/lib/libflint-2.5.2.so (0x7d084386d000)
>>> libmpfr.so.6 => /usr/lib/x86_64-linux-gnu/libmpfr.so.6 (0x7d08437eb000)
>>> libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10