Re: [sage-devel] Re: Unable to compile sage 8.7.beta3 on mojave...

2019-02-26 Thread Andrew
Thanks. I agree that the obvious solution. Samuel Lelièvre has supplied the patch and, for completeness, I have checked that it fixes the issue by recompiling and given a positive review. Andrew On Tuesday, 26 February 2019 23:08:07 UTC+11, E. Madison Bray wrote: > > Hi Andrew, > > On Tue,

Re: [sage-devel] Re: Unable to compile sage 8.7.beta3 on mojave...

2019-02-26 Thread E. Madison Bray
Hi Andrew, On Tue, Feb 26, 2019 at 12:31 AM Andrew wrote: > > Thanks very much for this Erik! It's the height of the grant writing season > in the antipodeans so I have only just gotten back to this but you told how > to troubleshoot and hence fix my problem, which turned out to be annoyingly

Re: [sage-devel] Re: Unable to compile sage 8.7.beta3 on mojave...

2019-02-25 Thread Andrew
Thanks very much for this Erik! It's the height of the grant writing season in the antipodeans so I have only just gotten back to this but you told how to troubleshoot and hence fix my problem, which turned out to be annoyingly trivial. The reason that sage would not compile for me comes down

Re: [sage-devel] Re: Unable to compile sage 8.7.beta3 on mojave...

2019-02-20 Thread kcrisman
> > > > I think we really should look into using Homebrew for building on OSX, > > otherwise we are doomed to repeat what's done there... > > Personally I would suggest not developing software that isn't built > for Apple products with Apple's toolchain on an Apple OS, because > Apple is

Re: [sage-devel] Re: Unable to compile sage 8.7.beta3 on mojave...

2019-02-19 Thread E. Madison Bray
On Tue, Feb 19, 2019 at 1:51 PM Andrew wrote: > > > >> Do you mean that after installing Mojave you never again managed >> to compile Sage? Do you still have a working version of Sage? >> Which version is that? > > > I no longer have a working version of sage. >> >> >> Have you tried installing

Re: [sage-devel] Re: Unable to compile sage 8.7.beta3 on mojave...

2019-02-19 Thread E. Madison Bray
On Tue, Feb 19, 2019 at 9:18 AM Dima Pasechnik wrote: > > On Mon, Feb 18, 2019 at 11:37 PM John H Palmieri > wrote: > > > > On one of my machines running OS X Mojave, when I run 'make', the pip > > installation fails, saying > > > > ModuleNotFoundError: No module named 'zlib' > > > > That's

[sage-devel] Re: Unable to compile sage 8.7.beta3 on mojave...

2019-02-19 Thread Andrew
Do you mean that after installing Mojave you never again managed > to compile Sage? Do you still have a working version of Sage? > Which version is that? > I no longer have a working version of sage. > > Have you tried installing the SageMath 8.6 binary for macOS from > >

Re: [sage-devel] Re: Unable to compile sage 8.7.beta3 on mojave...

2019-02-19 Thread Dima Pasechnik
On Mon, Feb 18, 2019 at 11:37 PM John H Palmieri wrote: > > On one of my machines running OS X Mojave, when I run 'make', the pip > installation fails, saying > > ModuleNotFoundError: No module named 'zlib' > > That's when the solution is > > ./sage -f zlib python2 python3 > make > so this

[sage-devel] Re: Unable to compile sage 8.7.beta3 on mojave...

2019-02-18 Thread Samuel Lelievre
Andrew wrote: > I have been unable to compile sage for a while on both an imac > and a macbook pro that are running mojave Do you mean that after installing Mojave you never again managed to compile Sage? Do you still have a working version of Sage? Which version is that? Have you tried

[sage-devel] Re: Unable to compile sage 8.7.beta3 on mojave...

2019-02-18 Thread Andrew
> The full log is below. > Found local metadata for pip-18.1 Using cached file /usr/local/src/sage/upstream/pip-18.1.tar.gz pip-18.1 Setting up build directory for pip-18.1 /usr/local/src/sage/local/var/tmp/sage/build/pip-18.1 Finished

[sage-devel] Re: Unable to compile sage 8.7.beta3 on mojave...

2019-02-18 Thread Andrew
I'm not seeing a ModuleNotFoundError error. Above, when i mentioned using sage -sh, I tried this only after your suggestion of ./sage -f zlib python2 python3 make failed. Running make distclean && make still gives me the pip-18.1 error and adding ./sage -f zlib python2 python3 && make

[sage-devel] Re: Unable to compile sage 8.7.beta3 on mojave...

2019-02-18 Thread John H Palmieri
On one of my machines running OS X Mojave, when I run 'make', the pip installation fails, saying ModuleNotFoundError: No module named 'zlib' That's when the solution is ./sage -f zlib python2 python3 make On Monday, February 18, 2019 at 12:58:19 PM UTC-8, John H Palmieri wrote: > > At this

[sage-devel] Re: Unable to compile sage 8.7.beta3 on mojave...

2019-02-18 Thread John H Palmieri
At this point you should probably do 'make distclean' and start again. There should be no need to do 'sage --sh' and easy_install, and that could easily mess things up. On Monday, February 18, 2019 at 12:29:20 PM UTC-8, Andrew wrote: > > > > On Tuesday, 19 February 2019 03:44:02 UTC+11, John

[sage-devel] Re: Unable to compile sage 8.7.beta3 on mojave...

2019-02-18 Thread Andrew
On Tuesday, 19 February 2019 03:44:02 UTC+11, John H Palmieri wrote: > > Can you post the end of the file logs/pkgs/pip-18.1.log? The last 30 lines > or so? Or post the whole file if you can. > > The log from after the failed make is s below. It says that No record that 'pip' was ever

[sage-devel] Re: Unable to compile sage 8.7.beta3 on mojave...

2019-02-18 Thread John H Palmieri
Can you post the end of the file logs/pkgs/pip-18.1.log? The last 30 lines or so? Or post the whole file if you can. On Monday, February 18, 2019 at 3:35:59 AM UTC-8, Andrew wrote: > > Thanks John. Unfortunately, zlib and python 2 and 3 compile then then make > fails again on pip-18.1. > I

[sage-devel] Re: Unable to compile sage 8.7.beta3 on mojave...

2019-02-18 Thread Andrew
Thanks John. Unfortunately, zlib and python 2 and 3 compile then then make fails again on pip-18.1. I tried a couple of different variations on this but it always ended up at the same place. What else should I look for? Is make distclean the best way to get back to a clean install? It's not

[sage-devel] Re: Unable to compile sage 8.7.beta3 on mojave...

2019-02-17 Thread John H Palmieri
Sorry, that's wrong. Try: ./sage -f zlip <-- This is the correction ./sage -f python2 ./sage -f python3 make See also https://trac.sagemath.org/ticket/26899. John On Sunday, February 17, 2019 at 10:40:59 PM UTC-8, John H Palmieri wrote: > > Please try: > > ./sage -f zip > ./sage -f python2

[sage-devel] Re: Unable to compile sage 8.7.beta3 on mojave...

2019-02-17 Thread John H Palmieri
Please try: ./sage -f zlib ./sage -f python2 ./sage -f python3 and if those work, try 'make' again. John On Sunday, February 17, 2019 at 6:11:51 PM UTC-8, Andrew wrote: > > I have been unable to compile sage for a while on both an imac and a > macbook pro that are running mojave (clearly

[sage-devel] Re: Unable to compile sage 8.7.beta3 on mojave...

2019-02-17 Thread John H Palmieri
Please try: ./sage -f zip ./sage -f python2 ./sage -f python3 and if those work, try 'make' again. John On Sunday, February 17, 2019 at 6:11:51 PM UTC-8, Andrew wrote: > > I have been unable to compile sage for a while on both an imac and a > macbook pro that are running mojave (clearly my