I had the exact same trouble building the optional package barvinok
that has 3 dependencies : ntl, isl and polylib. Running
'sage -i barvinok' gave me an error that shows that isl was not built

[barvinok-0.41.1] basis_reduction.c:5:10: fatal error: isl/val_gmp.h: No such file or directory
[barvinok-0.41.1]     5 | #include <isl/val_gmp.h>
[barvinok-0.41.1]       |          ^~~~~~~~~~~~~~~
[barvinok-0.41.1] compilation terminated.
[barvinok-0.41.1] make[5]: *** [Makefile:1517: basis_reduction.lo] Error 1
[barvinok-0.41.1] make[4]: *** [Makefile:1825: all-recursive] Error 1
[barvinok-0.41.1] make[3]: *** [Makefile:1094: all] Error 2

After doing 'sage -i isl' and then 'sage -i barvinok' it worked.

Vincent

Le 29/09/2021 à 11:20, Dima Pasechnik a écrit :
On Wed, Sep 29, 2021 at 10:06 AM Kwankyu Lee <ekwan...@gmail.com> wrote:

My question is: why "make" does not build openblas first and then gsl,
instead of forcing me to do this manually?


"make" does what ./configure tells it to do. Normally speaking one doesn't
need to build openblas nor gsl if using Homebrew or Conda...

Probably you have some old openblas installed that confuses configure or
make.






On Wednesday, September 29, 2021 at 6:03:15 PM UTC+9 Kwankyu Lee wrote:

Hi,

I started to build the latest Sage 9.5.beta2 from some old Sage
installation on Mac. Then it failed while building "gsl" complaining
missing "openblas" library. I could overcome the problem by issuing "sage
-i openblas". I went through this twice on two Sage installations on the
same machine.

But my question is: if openblas is a requirement of building gsl, then
why "make" build openblas first and then gsl, instead of forcing me to do
this manually?  I guess there is a bug in the make script...

Thank you for attention.

--
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/010c54f8-3ade-41ba-aee8-83e7985c0832n%40googlegroups.com
<https://groups.google.com/d/msgid/sage-devel/010c54f8-3ade-41ba-aee8-83e7985c0832n%40googlegroups.com?utm_medium=email&utm_source=footer>
.



--
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/9259df28-b880-0fbd-874d-6a1ff2301f2a%40gmail.com.

Reply via email to