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

2020-04-14 Thread David Coudert


> 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

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 (0x7d0843403000)
>> /lib64/ld-linux-x86-64.so.2 (0x7d0843e39000)
>> libntl.so.35 => /usr/lib/libntl.so.35 (0x7d0842fd2000)
>> libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 
>> (0x7d0842e4e000)
>> libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x7d0842e34000)
>> libgf2x.so.1 => /usr/lib/x86_64-linux-gnu/libgf2x.so.1 (0x7d0842c26000)
>> 
>> So you see libntl there.
>> 

Re: [sage-devel] error building brial-1.2.5

2020-04-14 Thread Olivier Guillon
To be more specific, I'm using two different versions of sage on my 
computer, the one brought by arch repos (system-wide, labeled as 
sagemath-9.0-15) and another one build from source from the develop branch 
of sage on github (local, currently SageMath version 9.1 rc0).
I will verify configure options for the latter when I have some time.

-- 
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/07cada8a-f74a-41f1-8322-8003478aaf08%40googlegroups.com.


[sage-devel] https://wiki.sagemath.org/ReleaseTours/sage-9.1

2020-04-14 Thread Matthias Koeppe
Let's prepare https://wiki.sagemath.org/ReleaseTours/sage-9.1
by collaborative editing. 

So far we have:

Sage 9.1 Release Tour

in progress (2020)

Contents

   1. Sage 9.1 Release Tour 
   
  1. Python 3 transition 
  
  2. Portability improvements, increased use of system packages 
  

 1. For developers 
 
  3. Add more here 
  
  4. Easier installation of optional linear and mixed integer linear 
  optimization backends 
  

  5. Polyhedral Geometry 
  
  6. Add more here 
  
  7. Availability of Sage 9.1 in distributions 
  

  8. More details 
  
   

-- 
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/d9198689-d5a3-40dd-99b9-ea5eba13e77f%40googlegroups.com.


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

2020-04-14 Thread Markus Wageringel
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/79f7bfbe-ac80-4ea3-9204-6a33abc31964%40googlegroups.com.


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

2020-04-14 Thread Dima Pasechnik
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 (0x7d0843403000)
>> /lib64/ld-linux-x86-64.so.2 (0x7d0843e39000)
>> libntl.so.35 => /usr/lib/libntl.so.35 (0x7d0842fd2000)
>> libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 
>> (0x7d0842e4e000)
>> libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x7d0842e34000)
>> libgf2x.so.1 => /usr/lib/x86_64-linux-gnu/libgf2x.so.1 (0x7d0842c26000)
>>
>> So you see libntl 

Re: [sage-devel] error building brial-1.2.5

2020-04-14 Thread Olivier Guillon
Ok, I just had a 404 error during build because there were no
'.../upstream/sage_brial/' to download from at that time. Your answer
explains why I was able to build eventually after downloading the brial
tarball directly from FTP repository. I'll try to make a separate build
without doing it so as to verify if I can reproduce this behaviour and give
back more useful info. I wasn't aware of the splitting sorry.

Le mar. 14 avr. 2020 à 03:29, Michael Orlitzky  a
écrit :

> On 4/13/20 7:44 PM, Olivier Guillon wrote:
> > Hello
> > I had an error while building sage from source. It may just be a timing
> > issue but it seems the upstream repo for brial has changed name to
> > '.../upstream/sage_brial/' while this change was not yet reflected on
> > servers (where the repo is still '.../upstream/brial/'). Sage built
> > after getting brial spkg directly from the repository.
> >
>
> We split the brial package into "brial" (the compiled library) and
> "sage_brial" (the python interface to that library) in trac #29369. Both
> of them use the same upstream tarball. What error did you run into?
>
> (Ultimately, sage_brial should just be added to the sage library like
> all of the other library interfaces, but this was the easiest solution
> to implement/review.)
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sage-devel" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/sage-devel/fbMHFgYJq8Q/unsubscribe.
> To unsubscribe from this group and all its topics, 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/4810eec3-67fd-8edb-45e3-0aa0f1d3c3f5%40orlitzky.com
> .
>

-- 
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/CAJJbjsC4%3DoMmpstamoc7zFx4ShfA46cWhqq%2BxQ1U6k7qoWXj8A%40mail.gmail.com.


Re: [sage-devel] error building brial-1.2.5

2020-04-14 Thread Olivier Guillon
I forgot to mention I am on Archlinux with kernel 5.6.4 on a Dell XPS 9560.

-- 
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/bee754d5-12a0-4878-9095-025a34c76e7d%40googlegroups.com.


Re: [sage-devel] error building brial-1.2.5

2020-04-14 Thread Olivier Guillon
I ran in the same issue on a separate build, you'll find the log in the 
attachment.

-- 
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/38f740f5-8596-4a74-b718-898624c55947%40googlegroups.com.
Found local metadata for sage_brial-1.2.5
Attempting to download package brial-1.2.5.tar.bz2 from mirrors
http://mirrors.mit.edu/sage/spkg/upstream/sage_brial/brial-1.2.5.tar.bz2
[xx]
ERROR [transfer|run:135]: [Errno socket error] [Errno 404] Not Found: 
'//mirrors.mit.edu/sage/spkg/upstream/sage_brial/brial-1.2.5.tar.bz2'
http://mirror.yandex.ru/mirrors/sage.math.washington.edu/spkg/upstream/sage_brial/brial-1.2.5.tar.bz2
[xx]
ERROR [transfer|run:135]: [Errno socket error] [Errno 404] Not Found: 
'//mirror.yandex.ru/mirrors/sage.math.washington.edu/spkg/upstream/sage_brial/brial-1.2.5.tar.bz2'
http://files.sagemath.org/spkg/upstream/sage_brial/brial-1.2.5.tar.bz2
[xx]
ERROR [transfer|run:135]: [Errno socket error] [Errno 404] Not Found: 
'//files.sagemath.org/spkg/upstream/sage_brial/brial-1.2.5.tar.bz2'
http://ftp.rediris.es/mirror/sagemath/spkg/upstream/sage_brial/brial-1.2.5.tar.bz2
[xx]
ERROR [transfer|run:135]: [Errno socket error] [Errno 404] Not Found: 
'//ftp.rediris.es/mirror/sagemath/spkg/upstream/sage_brial/brial-1.2.5.tar.bz2'
http://mirror.ufs.ac.za/sagemath/spkg/upstream/sage_brial/brial-1.2.5.tar.bz2
[xx]
ERROR [transfer|run:135]: [Errno socket error] [Errno 404] Not Found: 
'//mirror.ufs.ac.za/sagemath/spkg/upstream/sage_brial/brial-1.2.5.tar.bz2'
http://ftp.sun.ac.za/ftp/pub/mirrors/www.sagemath.org/spkg/upstream/sage_brial/brial-1.2.5.tar.bz2
[xx]
ERROR [transfer|run:135]: [Errno socket error] [Errno 404] Not Found: 
'//ftp.sun.ac.za/ftp/pub/mirrors/www.sagemath.org/spkg/upstream/sage_brial/brial-1.2.5.tar.bz2'
http://ftp.yz.yamagata-u.ac.jp/pub/math/sage/spkg/upstream/sage_brial/brial-1.2.5.tar.bz2
[xx]
ERROR [transfer|run:135]: [Errno socket error] [Errno 404] Not Found: 
'//ftp.yz.yamagata-u.ac.jp/pub/math/sage/spkg/upstream/sage_brial/brial-1.2.5.tar.bz2'
http://ftp.leg.uct.ac.za/pub/packages/sage/spkg/upstream/sage_brial/brial-1.2.5.tar.bz2
[xx]
ERROR [transfer|run:135]: [Errno socket error] [Errno 404] Not Found: 
'//ftp.leg.uct.ac.za/pub/packages/sage/spkg/upstream/sage_brial/brial-1.2.5.tar.bz2'
http://linorg.usp.br/sage/spkg/upstream/sage_brial/brial-1.2.5.tar.bz2
[xx]
ERROR [transfer|run:135]: [Errno socket error] [Errno 404] Not Found: 
'//linorg.usp.br/sage/spkg/upstream/sage_brial/brial-1.2.5.tar.bz2'
http://mirror.hust.edu.cn/sagemath/spkg/upstream/sage_brial/brial-1.2.5.tar.bz2
[xx]
ERROR [transfer|run:135]: [Errno socket error] [Errno 404] Not Found: 
'//mirror.hust.edu.cn/sagemath/spkg/upstream/sage_brial/brial-1.2.5.tar.bz2'
http://ftp.ntua.gr/pub/sagemath/spkg/upstream/sage_brial/brial-1.2.5.tar.bz2
[xx]
ERROR [transfer|run:135]: [Errno socket error] [Errno 404] Not Found: 
'//ftp.ntua.gr/pub/sagemath/spkg/upstream/sage_brial/brial-1.2.5.tar.bz2'
http://ftp.kaist.ac.kr/sage/spkg/upstream/sage_brial/brial-1.2.5.tar.bz2
[xx]
ERROR [transfer|run:135]: [Errno socket error] [Errno 404] Not Found: 
'//ftp.kaist.ac.kr/sage/spkg/upstream/sage_brial/brial-1.2.5.tar.bz2'
https://mirror.koddos.net/sagemath/spkg/upstream/sage_brial/brial-1.2.5.tar.bz2
[xx]
ERROR [transfer|run:135]: [Errno socket error] [Errno 404] Not Found: 
'//mirror.koddos.net/sagemath/spkg/upstream/sage_brial/brial-1.2.5.tar.bz2'
https://mirrors.up.pt/pub/sage/spkg/upstream/sage_brial/brial-1.2.5.tar.bz2
[xx]
ERROR [transfer|run:135]: [Errno socket error] [Errno 404] Not Found: 
'//mirrors.up.pt/pub/sage/spkg/upstream/sage_brial/brial-1.2.5.tar.bz2'
https://mirror-hk.koddos.net/sagemath/spkg/upstream/sage_brial/brial-1.2.5.tar.bz2
[xx]
ERROR [transfer|run:135]: 

Re: [sage-devel] error building brial-1.2.5

2020-04-14 Thread Dima Pasechnik
Note that brial and sage_brial are built off the same tarball
dimpase@penguin:~/sage$ cat build/pkgs/brial/package-version.txt
1.2.5
dimpase@penguin:~/sage$ cat build/pkgs/sage_brial/package-version.txt
1.2.5


dimpase@penguin:~/sage$ cat build/pkgs/sage_brial/checksums.ini
tarball=brial-VERSION.tar.bz2
sha1=5795c0d73b63e9daa5318b0f22514b7797c59823
md5=fddbc0cebfbac161de110acf30a6b89d
cksum=2578889224
upstream_url=https://github.com/BRiAl/BRiAl/releases/download/VERSION/brial-VERSION.tar.bz2

dimpase@penguin:~/sage$ cat build/pkgs/brial/checksums.ini
tarball=brial-VERSION.tar.bz2
sha1=5795c0d73b63e9daa5318b0f22514b7797c59823
md5=fddbc0cebfbac161de110acf30a6b89d
cksum=2578889224
upstream_url=https://github.com/BRiAl/BRiAl/releases/download/VERSION/brial-VERSION.tar.bz2

Thus, if you have upstream/brial-1.2.5.tar.bz present and matching md5
etc checksums,
you should be all set.

But if you have brial from the system, you're in trouble as brial is
not built, so upstream/brial-1.2.5.tar.bz
does not get downloaded, sage_brial can't be built, as here is no
tarball on the mirrors at the URL is tries to use.

For some reason, upstream_url= is not helping here, and mirrors shoud
be fixed to have the tarball at the URL in question too.

As a workaround:

in upstream/, do

wget https://github.com/BRiAl/BRiAl/releases/download/1.2.5/brial-1.2.5.tar.bz2

and re-run the build.

HTH
Dima


PS. Volker - is it easy to create these URLs for sage_brial/ to point
to brial/ on the mirrors?


On Tue, Apr 14, 2020 at 6:07 PM Olivier Guillon
 wrote:
>
> I ran in the same issue on a separate build, you'll find the log in the 
> attachment.
>
> --
> 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/38f740f5-8596-4a74-b718-898624c55947%40googlegroups.com.

-- 
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/CAAWYfq3q_e4SCPgxyDr1OcH6s7SfVNnHia6hRZWSy1Mw0hJsGQ%40mail.gmail.com.


Re: [sage-devel] 9.1.beta0 build failure on Arch

2020-04-14 Thread Dima Pasechnik
On Tue, Apr 14, 2020 at 9:28 PM Antonio Rojas  wrote:
>
> I'm missing some context here... flint does certainly link to ntl already, i 
> don't see how it could work otherwise.

David just posted a message here claiming this not to be the case on
his Arch installation.
Perhaps he has an odd version of Flint conflicting with the system one?
(or just an old installation?)

>
>
> El martes, 14 de abril de 2020, 15:23:08 (UTC+2), Dima Pasechnik escribió:
>>
>> Hi Antonio,
>> can Arch's Flint be fixed so that it links against NTL, like in Sage?
>> Then we won't have to build Flint (and Arb) on Arch...
>>
> --
> 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/7ef8be6f-9bfd-4ac2-9186-949000571265%40googlegroups.com.

-- 
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/CAAWYfq38t8U_5B4z7ovLDjppUs6wgpNTdpWq79XfbM2Dt9QPVg%40mail.gmail.com.


Re: [sage-devel] 9.1.beta0 build failure on Arch

2020-04-14 Thread Antonio Rojas
That's osx, not Arch

El martes, 14 de abril de 2020, 15:38:27 (UTC+2), Dima Pasechnik escribió:
>
> On Tue, Apr 14, 2020 at 9:28 PM Antonio Rojas  > wrote: 
> > 
> > I'm missing some context here... flint does certainly link to ntl 
> already, i don't see how it could work otherwise. 
>
> David just posted a message here claiming this not to be the case on 
> his Arch installation. 
> Perhaps he has an odd version of Flint conflicting with the system one? 
> (or just an old installation?) 
>
> > 
> > 
> > El martes, 14 de abril de 2020, 15:23:08 (UTC+2), Dima Pasechnik 
> escribió: 
> >> 
> >> Hi Antonio, 
> >> can Arch's Flint be fixed so that it links against NTL, like in Sage? 
> >> Then we won't have to build Flint (and Arb) on Arch... 
> >> 
> > -- 
> > 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-...@googlegroups.com . 
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/7ef8be6f-9bfd-4ac2-9186-949000571265%40googlegroups.com.
>  
>
>

-- 
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/8704ea8c-986e-442e-8563-ca40dc243d84%40googlegroups.com.


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

2020-04-14 Thread Dima Pasechnik
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 (0x7d0843403000)
/lib64/ld-linux-x86-64.so.2 (0x7d0843e39000)
libntl.so.35 => /usr/lib/libntl.so.35 (0x7d0842fd2000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x7d0842e4e000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x7d0842e34000)
libgf2x.so.1 => /usr/lib/x86_64-linux-gnu/libgf2x.so.1 (0x7d0842c26000)

So you see libntl there.




> -
>
>
>
>
>
>
> Le jeudi 19 mars 2020 14:52:46 UTC+1, vdelecroix a écrit :
>>
>> Dear all,
>>
>> Thanks to hard work it is now possible to use some package from
>> the system! That is great! But on my archlinux computer that also
>> has sage installed from the package manager the following
>> packages are still detected has "to be installed"
>>
>> * eclib-20190909
>> * givaro-4.1.1
>> * lcalc-1.23.p19
>> * pari-2.11.2
>> * pari_galdata-20080411.p0
>> * pari_seadata_small-20090618.p0
>>
>> The relevant package in archlinux I have are
>>
>> * community/eclib 20190909-8
>> * community/givaro 4.1.1-1
>> * community/lcalc 1.23-19
>> * community/pari 2.11.3-2
>> * community/pari-galdata 20080411-2
>> * community/pari-seadata-small 20090618-2
>>
>> Should I suspect that something is wrong with the Sage
>> configure scripts? Or that something is wrong with the packages
>> from archlinux?
>>
>> Best
>> Vincent
>
> --
> 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/22c61efc-e6c6-48b7-9cfc-483dc548af93%40googlegroups.com.

-- 
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/CAAWYfq3vubtGJ-Qj%3DF_CMZEA22Qw_ORBoJB_VvsPP3%3DhmecZ%3DQ%40mail.gmail.com.


Re: [sage-devel] 9.1.beta0 build failure on Arch

2020-04-14 Thread Antonio Rojas
I'm missing some context here... flint does certainly link to ntl already, 
i don't see how it could work otherwise.


El martes, 14 de abril de 2020, 15:23:08 (UTC+2), Dima Pasechnik escribió:
>
> Hi Antonio, 
> can Arch's Flint be fixed so that it links against NTL, like in Sage? 
> Then we won't have to build Flint (and Arb) on Arch... 
>
>

-- 
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/7ef8be6f-9bfd-4ac2-9186-949000571265%40googlegroups.com.


Re: [sage-devel] 9.1.beta0 build failure on Arch

2020-04-14 Thread Dima Pasechnik
On Tue, Apr 14, 2020 at 9:47 PM Antonio Rojas  wrote:
>
> That's osx, not Arch

oops, sorry for noise.

>
> El martes, 14 de abril de 2020, 15:38:27 (UTC+2), Dima Pasechnik escribió:
>>
>> On Tue, Apr 14, 2020 at 9:28 PM Antonio Rojas  wrote:
>> >
>> > I'm missing some context here... flint does certainly link to ntl already, 
>> > i don't see how it could work otherwise.
>>
>> David just posted a message here claiming this not to be the case on
>> his Arch installation.
>> Perhaps he has an odd version of Flint conflicting with the system one?
>> (or just an old installation?)
>>
>> >
>> >
>> > El martes, 14 de abril de 2020, 15:23:08 (UTC+2), Dima Pasechnik escribió:
>> >>
>> >> Hi Antonio,
>> >> can Arch's Flint be fixed so that it links against NTL, like in Sage?
>> >> Then we won't have to build Flint (and Arb) on Arch...
>> >>
>> > --
>> > 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-...@googlegroups.com.
>> > To view this discussion on the web visit 
>> > https://groups.google.com/d/msgid/sage-devel/7ef8be6f-9bfd-4ac2-9186-949000571265%40googlegroups.com.
>
> --
> 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/8704ea8c-986e-442e-8563-ca40dc243d84%40googlegroups.com.

-- 
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/CAAWYfq15Q-Ftys48nG_Zsc_EfzZPOGBTzk%3DP2atC7QHwzH3p8A%40mail.gmail.com.


Re: [sage-devel] error building brial-1.2.5

2020-04-14 Thread Olivier Guillon
Ok thanks a lot for the help, everything seems to work for my main source
install as I already said. What I did to solve my issue was essentially the
same as the workaround you just mentioned. There were some interferences
with my system version of brial (brial-1.2.8) it appears.
And, again, congratulations for the great job you're all doing !!!

Olivier.

Le mar. 14 avr. 2020 à 12:39, Dima Pasechnik  a écrit :

> Note that brial and sage_brial are built off the same tarball
> dimpase@penguin:~/sage$ cat build/pkgs/brial/package-version.txt
> 1.2.5
> dimpase@penguin:~/sage$ cat build/pkgs/sage_brial/package-version.txt
> 1.2.5
>
>
> dimpase@penguin:~/sage$ cat build/pkgs/sage_brial/checksums.ini
> tarball=brial-VERSION.tar.bz2
> sha1=5795c0d73b63e9daa5318b0f22514b7797c59823
> md5=fddbc0cebfbac161de110acf30a6b89d
> cksum=2578889224
> upstream_url=
> https://github.com/BRiAl/BRiAl/releases/download/VERSION/brial-VERSION.tar.bz2
>
> dimpase@penguin:~/sage$ cat build/pkgs/brial/checksums.ini
> tarball=brial-VERSION.tar.bz2
> sha1=5795c0d73b63e9daa5318b0f22514b7797c59823
> md5=fddbc0cebfbac161de110acf30a6b89d
> cksum=2578889224
> upstream_url=
> https://github.com/BRiAl/BRiAl/releases/download/VERSION/brial-VERSION.tar.bz2
>
> Thus, if you have upstream/brial-1.2.5.tar.bz present and matching md5
> etc checksums,
> you should be all set.
>
> But if you have brial from the system, you're in trouble as brial is
> not built, so upstream/brial-1.2.5.tar.bz
> does not get downloaded, sage_brial can't be built, as here is no
> tarball on the mirrors at the URL is tries to use.
>
> For some reason, upstream_url= is not helping here, and mirrors shoud
> be fixed to have the tarball at the URL in question too.
>
> As a workaround:
>
> in upstream/, do
>
> wget
> https://github.com/BRiAl/BRiAl/releases/download/1.2.5/brial-1.2.5.tar.bz2
>
> and re-run the build.
>
> HTH
> Dima
>
>
> PS. Volker - is it easy to create these URLs for sage_brial/ to point
> to brial/ on the mirrors?
>

-- 
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/CAJJbjsDnL9pFHcSjM6d60WEv0EVwYra%3DMYcriyyBkewK1A230Q%40mail.gmail.com.


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

2020-04-14 Thread David Coudert
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 (0x7d0843403000)
> /lib64/ld-linux-x86-64.so.2 (0x7d0843e39000)
> libntl.so.35 => /usr/lib/libntl.so.35 (0x7d0842fd2000)
> libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 
> (0x7d0842e4e000)
> libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x7d0842e34000)
> libgf2x.so.1 => /usr/lib/x86_64-linux-gnu/libgf2x.so.1 (0x7d0842c26000)
> 
> So you see libntl there.
> 
> 
> 
> 
>> -
>> 
>> 
>> 
>> 
>> 
>> 
>> Le jeudi 19 mars 2020 14:52:46 UTC+1, vdelecroix a écrit :
>>> 
>>> Dear all,
>>> 
>>> Thanks to hard work it is now possible to use some package from
>>> the system! That is great! But on my archlinux computer that also
>>> has sage installed from the package manager the following
>>> packages are still detected has "to be installed"
>>> 
>>> * eclib-20190909
>>> * givaro-4.1.1
>>> * lcalc-1.23.p19
>>> * pari-2.11.2
>>> * pari_galdata-20080411.p0
>>> * pari_seadata_small-20090618.p0
>>> 
>>> The relevant package in archlinux I have are
>>> 
>>> * community/eclib 20190909-8
>>> * community/givaro 4.1.1-1
>>> * community/lcalc 1.23-19
>>> * community/pari 2.11.3-2
>>> * community/pari-galdata 20080411-2
>>> * community/pari-seadata-small 20090618-2
>>> 
>>> Should I suspect that something is wrong with the Sage
>>> configure scripts? Or that something is wrong with the packages
>>> from archlinux?
>>> 
>>> Best
>>> Vincent
>> 
>> --
>> 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/22c61efc-e6c6-48b7-9cfc-483dc548af93%40googlegroups.com.
> 
> -- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "sage-devel" group.
> To unsubscribe from this topic, visit 
> 

Re: [sage-devel] 9.1.beta0 build failure on Arch

2020-04-14 Thread Dima Pasechnik
Hi Antonio,
can Arch's Flint be fixed so that it links against NTL, like in Sage?
Then we won't have to build Flint (and Arb) on Arch...



On Sat, Jan 11, 2020 at 3:53 PM Antonio Rojas  wrote:
>
> Build fails at fflas-ffpack, log attached. Seems related to FS#27870
>
> --
> 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/9768e0af-b10a-4721-844c-6a81832a117b%40googlegroups.com.

-- 
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/CAAWYfq0yJVf6ozDbxWoaBObQ%2Ban6wj9-Wq4aHv8JEDZ7N0r2oA%40mail.gmail.com.


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

2020-04-14 Thread Dima Pasechnik
On Tue, Apr 14, 2020 at 9:21 PM David Coudert  wrote:
>
> I assume there is nothing simple I can do to fix this.

I've notified upstream about this issue, hopefully they fix it soon...

> 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 (0x7d0843403000)
> /lib64/ld-linux-x86-64.so.2 (0x7d0843e39000)
> libntl.so.35 => /usr/lib/libntl.so.35 (0x7d0842fd2000)
> libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 
> (0x7d0842e4e000)
> libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x7d0842e34000)
> libgf2x.so.1 => /usr/lib/x86_64-linux-gnu/libgf2x.so.1 (0x7d0842c26000)
>
> So you see libntl there.
>
>
>
>
> -
>
>
>
>
>
>
> Le jeudi 19 mars 2020 14:52:46 UTC+1, vdelecroix a écrit :
>
>
> Dear all,
>
> Thanks to hard work it is now possible to use some package from
> the system! That is great! But on my archlinux computer that also
> has sage installed from the package manager the following
> packages are still detected has "to be installed"
>
> * eclib-20190909
> * givaro-4.1.1
> * lcalc-1.23.p19
> * pari-2.11.2
> * pari_galdata-20080411.p0
> * pari_seadata_small-20090618.p0
>
> The relevant package in archlinux I have are
>
> * community/eclib 20190909-8
> * community/givaro 4.1.1-1
> * community/lcalc 1.23-19
> * community/pari 2.11.3-2
> * community/pari-galdata 20080411-2
> * community/pari-seadata-small 20090618-2
>
> Should I suspect that something is wrong with the Sage
> configure scripts? Or that something is wrong with the packages
> from archlinux?
>
> Best
> Vincent
>
>
> --
> 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/22c61efc-e6c6-48b7-9cfc-483dc548af93%40googlegroups.com.
>
>
> --
> You received this message because you are subscribed to a topic in the Google 
> Groups "sage-devel" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/sage-devel/JgArPVx7dwg/unsubscribe.
> To unsubscribe from this group and 

Re: [sage-devel] error building brial-1.2.5

2020-04-14 Thread Dima Pasechnik
On Tue, Apr 14, 2020 at 8:55 PM Olivier Guillon
 wrote:
>
> Ok thanks a lot for the help, everything seems to work for my main source 
> install as I already said. What I did to solve my issue was essentially the 
> same as the workaround you just mentioned. There were some interferences with 
> my system version of brial (brial-1.2.8) it appears.

I far as I understand, your setup is using brial the C++ library from
your system, (and sage_brial, aka Sage interface to brial the C++
library, is built),  so that's not "interference",
it's by design.

> And, again, congratulations for the great job you're all doing !!!
>
> Olivier.
>
> Le mar. 14 avr. 2020 à 12:39, Dima Pasechnik  a écrit :
>>
>> Note that brial and sage_brial are built off the same tarball
>> dimpase@penguin:~/sage$ cat build/pkgs/brial/package-version.txt
>> 1.2.5
>> dimpase@penguin:~/sage$ cat build/pkgs/sage_brial/package-version.txt
>> 1.2.5
>>
>>
>> dimpase@penguin:~/sage$ cat build/pkgs/sage_brial/checksums.ini
>> tarball=brial-VERSION.tar.bz2
>> sha1=5795c0d73b63e9daa5318b0f22514b7797c59823
>> md5=fddbc0cebfbac161de110acf30a6b89d
>> cksum=2578889224
>> upstream_url=https://github.com/BRiAl/BRiAl/releases/download/VERSION/brial-VERSION.tar.bz2
>>
>> dimpase@penguin:~/sage$ cat build/pkgs/brial/checksums.ini
>> tarball=brial-VERSION.tar.bz2
>> sha1=5795c0d73b63e9daa5318b0f22514b7797c59823
>> md5=fddbc0cebfbac161de110acf30a6b89d
>> cksum=2578889224
>> upstream_url=https://github.com/BRiAl/BRiAl/releases/download/VERSION/brial-VERSION.tar.bz2
>>
>> Thus, if you have upstream/brial-1.2.5.tar.bz present and matching md5
>> etc checksums,
>> you should be all set.
>>
>> But if you have brial from the system, you're in trouble as brial is
>> not built, so upstream/brial-1.2.5.tar.bz
>> does not get downloaded, sage_brial can't be built, as here is no
>> tarball on the mirrors at the URL is tries to use.
>>
>> For some reason, upstream_url= is not helping here, and mirrors shoud
>> be fixed to have the tarball at the URL in question too.
>>
>> As a workaround:
>>
>> in upstream/, do
>>
>> wget 
>> https://github.com/BRiAl/BRiAl/releases/download/1.2.5/brial-1.2.5.tar.bz2
>>
>> and re-run the build.
>>
>> HTH
>> Dima
>>
>>
>> PS. Volker - is it easy to create these URLs for sage_brial/ to point
>> to brial/ on the mirrors?
>
> --
> 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/CAJJbjsDnL9pFHcSjM6d60WEv0EVwYra%3DMYcriyyBkewK1A230Q%40mail.gmail.com.

-- 
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/CAAWYfq0OYLhChSK9f2M5DAi39LV3haANCfPgSpEAS_HTJ6%3DmBw%40mail.gmail.com.


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

2020-04-14 Thread David Coudert
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

-





Le jeudi 19 mars 2020 14:52:46 UTC+1, vdelecroix a écrit :
>
> Dear all, 
>
> Thanks to hard work it is now possible to use some package from 
> the system! That is great! But on my archlinux computer that also 
> has sage installed from the package manager the following 
> packages are still detected has "to be installed" 
>
> * eclib-20190909 
> * givaro-4.1.1 
> * lcalc-1.23.p19 
> * pari-2.11.2 
> * pari_galdata-20080411.p0 
> * pari_seadata_small-20090618.p0 
>
> The relevant package in archlinux I have are 
>
> * community/eclib 20190909-8 
> * community/givaro 4.1.1-1 
> * community/lcalc 1.23-19 
> * community/pari 2.11.3-2 
> * community/pari-galdata 20080411-2 
> * community/pari-seadata-small 20090618-2 
>
> Should I suspect that something is wrong with the Sage 
> configure scripts? Or that something is wrong with the packages 
> from archlinux? 
>
> Best 
> Vincent 
>

-- 
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/22c61efc-e6c6-48b7-9cfc-483dc548af93%40googlegroups.com.


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

2020-04-14 Thread John H Palmieri
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.


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 (0x7d0843403000)
> /lib64/ld-linux-x86-64.so.2 (0x7d0843e39000)
> libntl.so.35 => /usr/lib/libntl.so.35 (0x7d0842fd2000)
> libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 
> (0x7d0842e4e000)
> libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x7d0842e34000)
> libgf2x.so.1 => /usr/lib/x86_64-linux-gnu/libgf2x.so.1 (0x7d0842c26000)
>
> So you see libntl there.
>
>
>
>
>
> -
>
>
>
>
>
>
> Le jeudi 19 mars 2020 14:52:46 UTC+1, vdelecroix a écrit :
>
>
> Dear all,
>
> Thanks to hard work it is now possible to use some package from
> the system! That is great! But on my archlinux computer that also
> has sage installed from the package manager the following
> packages are still detected has "to be installed"
>
> * eclib-20190909
> * givaro-4.1.1
> * lcalc-1.23.p19
> * pari-2.11.2
> * pari_galdata-20080411.p0
> * pari_seadata_small-20090618.p0
>
> The relevant package in archlinux I have are
>
> * community/eclib 20190909-8
> * community/givaro 4.1.1-1
> * community/lcalc 1.23-19
> * community/pari 2.11.3-2
> * community/pari-galdata 20080411-2
> * community/pari-seadata-small 20090618-2
>
> Should I suspect that something is wrong with the Sage
> configure scripts? Or that something is wrong with the packages
> from archlinux?
>
> Best
> Vincent
>
>
> --
> 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-...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/22c61efc-e6c6-48b7-9cfc-483dc548af93%40googlegroups.com
> .
>
>
> -- 
> You received this message because you are subscribed to a topic in the 
> Google