My bash version: GNU bash, version 4.3.0(1)-release (x86_64-unknown-linux-gnu)
The reason I want to install from source as to use on my linux box I am not sure what you meant by "a clean docker container". Anyway, I have managed to overcome some problems after last mail. Still working on it... On Tue, Mar 12, 2019 at 4:54 AM E. Madison Bray <erik.m.b...@gmail.com> wrote: > On Mon, Mar 11, 2019 at 10:53 PM Ai Bo <boaisp...@gmail.com> wrote: > > > > yes, switching to bash can pass this error. > > > > However, now error: > > ERROR: BLAS not found! > > [fflas_ffpack-2.3.2] > > [fflas_ffpack-2.3.2] BLAS routines are required for this library to > compile. Please > > [fflas_ffpack-2.3.2] make sure BLAS are installed and specify its > location with the option > > [fflas_ffpack-2.3.2] --with-blas-libs=<libs> and if necessary > --with-blas-cflags=<cflags> > > Without being able to divine exactly what you did, if I were you I > would just start the build over again by running `make distclean` > followed by `make` again. > > Sage's build system will build and install its own copy of OpenBLAS > unless otherwise specified. If you're later getting errors like > "BLAS not found" it indicates that something went wrong with your > OpenBLAS install as well. Normally the build should not have even > proceeded from this point but it's hard to say what's wrong. > > As a more general question, for what purpose are you trying to build > Sage from source? Do you need to build it on this specific platform? > You might have more luck in a clean docker container, for example. > > I'm still a bit confused about this bash issue. If you run at the command > line > > $ /usr/bin/env bash --version > > What does it output? > > I think there might actually a bug (?) in Sage's makefile. It reads > > # Always use bash for make rules > SHELL = /bin/sh > > Except there's no guarantee that /bin/sh is bash. That might be part > of the problem. If you set SHELL=/bin/bash in your environment it > might help with that. > > -- > 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 post to this group, send email to sage-devel@googlegroups.com. > Visit this group at https://groups.google.com/group/sage-devel. > For more options, visit https://groups.google.com/d/optout. > -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.