Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X

2019-10-02 Thread Ben Salisbury
Success!!! Thank you for all your help! -- 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

Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X

2019-10-01 Thread Dima Pasechnik
The error is different, it is related to png. and the error message even tells you what Homebrew package to install and how. * The following required packages can not be built: * png * Try installing png with `brew

Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X

2019-10-01 Thread Ben Salisbury
Another build failure (seemingly at the same spot). The log file is attached. -- 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

Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X

2019-10-01 Thread Dima Pasechnik
Sorry, I was too quick. ./configure needs to be run as follows CC=clang CXX=clang++ ./configure (otherwise Homebrew's gcc will be used, and it will break...) (we only need gfortran from Homebrew,no gcc) On Wed, Oct 2, 2019 at 1:30 AM Dima Pasechnik wrote: > OK, apparently "brew update" did

Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X

2019-10-01 Thread Dima Pasechnik
OK, apparently "brew update" did its magic, phew... now do make distclean ./configure make should not build Sage's gcc/gfortran... On Wed, Oct 2, 2019 at 1:12 AM Ben Salisbury wrote: > Running 'brew install gcc' works without an error. > > mth153844pe212:sage-git salis1bt$ brew

Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X

2019-10-01 Thread Ben Salisbury
Running 'brew install gcc' works without an error. mth153844pe212:sage-git salis1bt$ brew install gcc ==> Downloading https://homebrew.bintray.com/bottles/gcc-9.2.0_1.mojave.bottle.tar.gz ==> Downloading from

Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X

2019-10-01 Thread Dima Pasechnik
and what happens after brew install gcc ? Does it finish without an error? Does it install any gfortan* ? On Wed, Oct 2, 2019 at 1:00 AM Ben Salisbury wrote: > > Same error as before. > > mth153844pe212:sage-git salis1bt$ brew update > Updated 1 tap (homebrew/core). > ==> Updated Formulae >

Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X

2019-10-01 Thread Ben Salisbury
Same error as before. mth153844pe212:sage-git salis1bt$ brew update Updated 1 tap (homebrew/core). ==> Updated Formulae django-completion kubeseal mth153844pe212:sage-git salis1bt$ brew uninstall gcc Error: No

Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X

2019-10-01 Thread Dima Pasechnik
maybe now (i.e after brew update) brew uninstall gcc followed by brew install gfortran will work? (cause this: $ brew uninstall gcc Error: No such keg: /usr/local/Cellar/gcc didn't succeed, IMHO) On Tue, Oct 1, 2019 at 11:17 PM Dima Pasechnik wrote: > > looks like our brews are

Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X

2019-10-01 Thread Dima Pasechnik
looks like our brews are different... On Tue, Oct 1, 2019 at 10:55 PM Ben Salisbury wrote: > > No such luck. > > mth153844pe212:sage-git salis1bt$ brew update > > Updated 1 tap (homebrew/core). > > No changes to formulae. > > -- > You received this message because you are subscribed to the

Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X

2019-10-01 Thread Ben Salisbury
No such luck. mth153844pe212:sage-git salis1bt$ brew update Updated 1 tap (homebrew/core). No changes to formulae. -- 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

Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X

2019-10-01 Thread Dima Pasechnik
maybe you need to run "brew update" ? Cause, here is the formula for gfortran https://formulae.brew.sh/cask/gfortran#default and it works on my OSX 10.13 (I'd be very surprised if it didn't on 10,14) On Tue, Oct 1, 2019 at 10:26 PM Ben Salisbury wrote: > > I had uninstalled and did a distclean

Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X

2019-10-01 Thread Ben Salisbury
I had uninstalled and did a distclean before posting the last post, and brew install gfortran still does not work. mth153844pe212:sage-git salis1bt$ brew uninstall gcc Error: No such keg: /usr/local/Cellar/gcc mth153844pe212:sage-git salis1bt$ brew install gfortran Error: No available formula

Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X

2019-10-01 Thread Dima Pasechnik
On Tue, Oct 1, 2019 at 10:09 PM Ben Salisbury wrote: > > I've uninstalled the Homebrew install of gcc. I had posted that before > because, upon attempting to install gfortran using Homebrew, I get > > Error: No available formula with the name "gfortran" > GNU Fortran is part of the GCC formula:

Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X

2019-10-01 Thread Ben Salisbury
I've uninstalled the Homebrew install of gcc. I had posted that before because, upon attempting to install gfortran using Homebrew, I get Error: No available formula with the name "gfortran" GNU Fortran is part of the GCC formula: brew install gcc For completeness, in case something else

Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X

2019-09-25 Thread Dima Pasechnik
On Wed, Sep 25, 2019 at 8:56 PM Ben Salisbury wrote: > > mth153844pe212:sage-git salis1bt$ brew install gcc brew install gfortran https://formulae.brew.sh/cask/gfortran#default in fact, you do not need gcc from brew, it might even be leading to problems. I'd suggest you remove it. > Warning:

Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X

2019-09-25 Thread Ben Salisbury
mth153844pe212:sage-git salis1bt$ brew install gcc Warning: gcc 9.2.0 is already installed and up-to-date To reinstall 9.2.0, run `brew reinstall gcc` On Wednesday, September 25, 2019 at 3:54:08 PM UTC-4, John H Palmieri wrote: > > Could you also trying using Homebrew to install gfortran? > > >

Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X

2019-09-25 Thread John H Palmieri
Could you also trying using Homebrew to install gfortran? On Wednesday, September 25, 2019 at 12:09:55 PM UTC-7, Ben Salisbury wrote: > > Ok, I tried the Homebrew route, and still the build failed. First, the > computer successfully executed the following: > > brew install

Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X

2019-09-25 Thread Ben Salisbury
Ok, I tried the Homebrew route, and still the build failed. First, the computer successfully executed the following: brew install dimpase/science/flint brew install dimpase/science/arb brew tap brewsci/bio brew install matplotlib Then I tried to build Sage again, after a distclean, and another

Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X

2019-09-25 Thread Ben Salisbury
Here are the outputs: mth153844pe212:~ salis1bt$ otool -L /Users/salis1bt/sage-git/local/lib/ libdfftpack.dylib /Library/Developer/CommandLineTools/usr/bin/objdump: '/Users/salis1bt/sage-git/local/lib/libdfftpack.dylib': No such file or directory mth153844pe212:~ salis1bt$ otool -L

Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X

2019-09-25 Thread Dima Pasechnik
On Wed, Sep 25, 2019 at 2:04 PM Ben Salisbury wrote: > > Sorry, I had left for the day when these messages came in yesterday. Given > the output of the otool - L /Users/salis1bt/sage-git/local/bin/gfortran, > should I still do those brew installs? The output of otool -L looks OK, but I

Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X

2019-09-25 Thread Ben Salisbury
Sorry, I had left for the day when these messages came in yesterday. Given the output of the otool - L /Users/salis1bt/sage-git/local/bin/gfortran, should I still do those brew installs? -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To

Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X

2019-09-25 Thread Ben Salisbury
mth153844pe212:~ salis1bt$ otool -L /Users/salis1bt/sage-git/local/bin/ gfortran /Users/salis1bt/sage-git/local/bin/gfortran: /usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0 .0) /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 400.9 .4)

Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X

2019-09-25 Thread Dima Pasechnik
I don't know really why (well, lack of information, surely) MacOS people continue to put themselves and their machines through the torture of building full Sagemath toolchain, whereas a considerable number of Homebrew packages can be used instead, including gfortran, gmp, yasm, NTL, etc etc etc.

Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X

2019-09-24 Thread Dima Pasechnik
On Tue, Sep 24, 2019 at 8:54 PM Ben Salisbury wrote: > > Trying "./sage -f libpng" first did not work. But there are new errors this > time! hmm, in the scipy log one sees > ld: library not found for -lSystem coming from gfortran, more precisely, from

Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X

2019-09-24 Thread Dima Pasechnik
by the way, there is https://trac.sagemath.org/ticket/28513 where I proposed a fix for this sort of error -- least the error message is much more clear... On Tue, Sep 24, 2019 at 6:53 PM John H Palmieri wrote: > > > > On Tuesday, September 24, 2019 at 10:12:17 AM UTC-7, Ben Salisbury wrote: >>

[sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X

2019-09-24 Thread Ben Salisbury
I'll try "./sage -f libpng". In the meantime, I've attached the log file requested. Also: mth153844pe212:~ salis1bt$ git --version git version 2.20.1 (Apple Git-117) mth153844pe212:~ salis1bt$ gcc --version Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx

[sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X

2019-09-24 Thread John H Palmieri
On Tuesday, September 24, 2019 at 10:12:17 AM UTC-7, Ben Salisbury wrote: > > Hi, > > I'm attempting to build Sage from the develop branch on a new office > computer running OS X 10.14.6. I've installed Xcode and Command Line Tools > (or at least I thought I had), and I'm getting a build