Re: [sage-devel] Re: Installing sagemath on macOS

2024-02-09 Thread Sai Chandhrasekhar
I was able to install SageMath and get it running. Thank you very much for all of your help. On Friday, February 9, 2024 at 12:38:29 AM UTC-6 Matthias Koeppe wrote: > In the terminal output, it looks like you are installing sagemath-standard > 10.2 in an environment with sage-conf 10.3.beta7.

Re: [sage-devel] Re: Installing sagemath on macOS

2024-02-08 Thread Matthias Koeppe
In the terminal output, it looks like you are installing sagemath-standard 10.2 in an environment with sage-conf 10.3.beta7. Try forcing sagemath-standard==10.3.beta7 (or use the switch "--pre" with pip install). (In https://github.com/sagemath/sage/pull/37261 I am updating the instructions; yo

Re: [sage-devel] Re: Installing sagemath on macOS

2024-02-08 Thread Matthias Koeppe
You can try if 'export MAKE="make -j4"' fixes this On Thursday, February 8, 2024 at 1:21:32 PM UTC-8 Sai Chandhrasekhar wrote: > When running python3 -m pip install --no-build-isolation > sagemath-standard I got this error message: > > clang -bundle -undefined dynamic_lookup -g > -L/Users/user/

Re: [sage-devel] Re: Installing sagemath on macOS

2024-02-08 Thread Sai Chandhrasekhar
When running python3 -m pip install --no-build-isolation sagemath-standard I got this error message: clang -bundle -undefined dynamic_lookup -g -L/Users/user/.sage/sage-10.3.beta7-Darwin-x86_64/local/lib -Wl,-rpath,/Users/user/.sage/sage-10.3.beta7-Darwin-x86_64/local/lib build/temp.macosx-10.

Re: [sage-devel] Re: Installing sagemath on macOS

2024-02-08 Thread Sai Chandhrasekhar
I was able to get it to work. I found out I added the wrong location to PATH. I fixed it and got the command to work. On Thursday, February 8, 2024 at 1:00:52 PM UTC-6 Sai Chandhrasekhar wrote: > I did get a warning about that and added it to my PATH before running the > command, but I still g

Re: [sage-devel] Re: Installing sagemath on macOS

2024-02-08 Thread Sai Chandhrasekhar
I did get a warning about that and added it to my PATH before running the command, but I still got the result. I did what you suggested and still got the same error message. On Thursday, February 8, 2024 at 12:27:29 PM UTC-6 Matthias Koeppe wrote: > That's great progress. > > Did pip issue an

Re: [sage-devel] Re: Installing sagemath on macOS

2024-02-08 Thread Matthias Koeppe
That's great progress. Did pip issue any warnings when you installed sage_conf? In particular, it may have warned that the installation location for scripts is not in your PATH. If so, you can fix it as follows: export PATH="$(python3 -c 'import sysconfig; print(sysconfig.get_path("scripts", "

Re: [sage-devel] Re: Installing sagemath on macOS

2024-02-08 Thread Sai Chandhrasekhar
I was able to install sage_conf successfully, but when I run, "python3 -m pip install $(sage-config SAGE_SPKG_WHEELS)/*.whl sage_setup", I get the following error messages: zsh: command not found: sage-config zsh: no matches found: /*.whl On Wednesday, February 7, 2024 at 3:13:27 PM UTC-6 Mat

Re: [sage-devel] Re: Installing sagemath on macOS

2024-02-07 Thread Matthias Koeppe
To start from scratch in this mode of installation, you will need to remove the directory "/Users/user/.sage/sage-10.3.beta7-Darwin-x86_64/" On Wednesday, February 7, 2024 at 12:10:21 PM UTC-8 Sai Chandhrasekhar wrote: > I am still getting the same error. In the config.log files, I see this: >

Re: [sage-devel] Re: Installing sagemath on macOS

2024-02-07 Thread Sai Chandhrasekhar
I am still getting the same error. In the config.log files, I see this: x86_64-apple-darwin13.4.0-clang: command not found. I have tried uninstalling and reinstalling Xcode and the Xcode command line tools, but I still get the same result. On Wednesday, February 7, 2024 at 11:06:12 AM UTC-6 Ma

Re: [sage-devel] Re: Installing sagemath on macOS

2024-02-07 Thread Matthias Koeppe
Thanks for sharing these logs. The key failure is here: configure:3938: x86_64-apple-darwin13.4.0-clang -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -isystem /Users/user/anaconda3/include -D_FORTIFY_SOURCE=2 -isystem /Users/user/anaconda3/include

Re: [sage-devel] Re: Installing sagemath on macOS

2024-02-06 Thread Sai Chandhrasekhar
I also tried to run the install command again with the --pre flag and got the same result. On Tuesday, February 6, 2024 at 5:54:11 PM UTC-6 Sai Chandhrasekhar wrote: > On Tuesday, February 6, 2024 at 5:14:56 PM UTC-6 Matthias Koeppe wrote: > >> >> and >> /Users/user/.sage/sage-10.2-Darwin-x86_

Re: [sage-devel] Re: Installing sagemath on macOS

2024-02-06 Thread Sai Chandhrasekhar
On Tuesday, February 6, 2024 at 5:14:56 PM UTC-6 Matthias Koeppe wrote: > > and > /Users/user/.sage/sage-10.2-Darwin-x86_64/local/var/tmp/sage/build/libatomic_ops-7.8.0/src/config.log > > please > > On Tuesday, February 6, 2024 at 2:36:21 PM UTC-8 Sai Chandhrasekhar wrote: > >> On Tuesday, Febr

Re: [sage-devel] Re: Installing sagemath on macOS

2024-02-06 Thread Matthias Koeppe
and /Users/user/.sage/sage-10.2-Darwin-x86_64/local/var/tmp/sage/build/libatomic_ops-7.8.0/src/config.log please On Tuesday, February 6, 2024 at 2:36:21 PM UTC-8 Sai Chandhrasekhar wrote: > On Tuesday, February 6, 2024 at 4:22:59 PM UTC-6 Matthias Koeppe wrote: > >> Could you post one of these

Re: [sage-devel] Re: Installing sagemath on macOS

2024-02-06 Thread Sai Chandhrasekhar
On Tuesday, February 6, 2024 at 4:22:59 PM UTC-6 Matthias Koeppe wrote: > Could you post one of these log files please? For example info-6.8.log > > And could you try "python3 -m pip install --pre sage_conf" also? > > On Tuesday, February 6, 2024 at 12:15:08 PM UTC-8 Sai Chandhrasekhar wrote: > >>

Re: [sage-devel] Re: Installing sagemath on macOS

2024-02-06 Thread Matthias Koeppe
Could you post one of these log files please? For example info-6.8.log And could you try "python3 -m pip install --pre sage_conf" also? On Tuesday, February 6, 2024 at 12:15:08 PM UTC-8 Sai Chandhrasekhar wrote: > When I ran python3 -m pip install sage_conf I got this error message: > > Error bu

Re: [sage-devel] Re: Installing sagemath on macOS

2024-02-06 Thread Sai Chandhrasekhar
When I ran python3 -m pip install sage_conf I got this error message: Error building Sage. The following package(s) may have failed to build (not necessarily during this run of 'make all-build'): * package: gf2x-1.3.0 last build time: Feb 6 14:

Re: [sage-devel] Re: Installing sagemath on macOS

2024-02-06 Thread Dima Pasechnik
On 6 February 2024 16:50:13 GMT, Sai Chandhrasekhar wrote: >How do I change clang to GCC? hmm, what do you mean? You cannot build Sage on macOS with gcc (not "gcc" the alias of clang, but real gcc from gcc.gnu.org project). The problem is that gcc cannot compile some of macOS headers. >O

Re: [sage-devel] Re: Installing sagemath on macOS

2024-02-06 Thread Matthias Koeppe
According to your config.log, the run of "configure" succeeded. That config.log contains error messages from various compiler invocations is a normal part of the configure process. What is the actual problem that you encountered? On Monday, February 5, 2024 at 2:58:36 PM UTC-8 Sai Chandhrasekh

Re: [sage-devel] Re: Installing sagemath on macOS

2024-02-06 Thread Sai Chandhrasekhar
How do I change clang to GCC? On Monday, February 5, 2024 at 4:58:36 PM UTC-6 Sai Chandhrasekhar wrote: > On Monday, February 5, 2024 at 4:48:08 PM UTC-6 Dima Pasechnik wrote: > >> >> >> On 5 February 2024 21:58:54 GMT, "dan...@gmail.com" >> wrote: >> >You could just use Sage_macOS >> >

Re: [sage-devel] Re: Installing sagemath on macOS

2024-02-05 Thread Dima Pasechnik
On 5 February 2024 21:58:54 GMT, "dan...@gmail.com" wrote: >You could just use Sage_macOS >, quick and >easy! for Sage development, you need a source install. > >On Monday, February 5, 2024 at 3:49:02 PM UTC-6 Matthias Koeppe wr

[sage-devel] Re: Installing sagemath on macOS

2024-02-05 Thread dan...@gmail.com
You could just use Sage_macOS , quick and easy! On Monday, February 5, 2024 at 3:49:02 PM UTC-6 Matthias Koeppe wrote: > We would need to see the full logs > > On Monday, February 5, 2024 at 1:26:31 PM UTC-8 Sai Chandhrasekhar wrote

[sage-devel] Re: Installing sagemath on macOS

2024-02-05 Thread Matthias Koeppe
We would need to see the full logs On Monday, February 5, 2024 at 1:26:31 PM UTC-8 Sai Chandhrasekhar wrote: > Hello, > > When I tried to run python3 -m pip install sage_conf, I got this error > message from config.log. I tried to change to GCC but then I got a message > that Sage cannot be bui

[sage-devel] Re: Installing SageMath on macOS Big Sur 11.1

2020-12-21 Thread John H Palmieri
For what it's worth, I was able to build Sage on 11.0 using homebrew, but since the upgrade to 11.1, the build fails for me. Discussion at #30651 (started at #30589, but should be continued at #30651). On Monday, December 21, 2020 at 2:46:00 PM UTC-8 Samuel Lelievre wrote: > Supporting macOS 1

Re: [sage-devel] Re: Installing SageMath on macOS Big Sur 11.1

2020-12-21 Thread William Stein
Hi, I also posted recently about some of my attempts to get Sage running on my Big Sur apple M1 macbook pro here a few days ago: https://groups.google.com/g/sage-devel/c/_vYkTlLRWWY In particular, > Binaries for Sage 9.2 from the Sage download website > will not work for macOS 11 Big Sur. ...

[sage-devel] Re: Installing SageMath on macOS Big Sur 11.1

2020-12-21 Thread Samuel Lelievre
Supporting macOS 11 Big Sur is tracked at - Sage Trac ticket 30651 Meta-ticket: support macOS 11 Big Sur https://trac.sagemath.org/ticket/30651 Binaries for Sage 9.2 from the Sage download website will not work for macOS 11 Big Sur. Hopefully we will be able to provide Big Sur binaries for Sa