Re: [sage-devel] trouble installing sage

2024-09-24 Thread Dima Pasechnik
>From the log: ./configure --enable-system-site-packagesls (SIC!) ## Checking whether SageMath should install SPKG scipy... ## ## -- ## configure:90867: checking whether any of openblas is installed as or will be installed as SPKG configure:908

Re: [sage-devel] Re: Error Building from Source

2024-09-24 Thread Dima Pasechnik
Ross, You use a weird Python, /opt/sage/bin/python3 as is seen in the log: [spkg-install] full command: /opt/sage/bin/python3 -c ' Is this the one you really must use? If not, make sure that /opt/sage/bin/ is not in your PATH. Use a system-wide Python3.12 instead. Dima On Tue, Sep 24, 20

Re: [sage-devel] trouble installing sage

2024-09-24 Thread John H Palmieri
On Tuesday, September 24, 2024 at 3:19:07 PM UTC-7 dim...@gmail.com wrote: >From the log: ./configure --enable-system-site-packagesls (SIC!) ## Checking whether SageMath should install SPKG scipy... ## ## -- ## configure:90867: checking

Re: [sage-devel] trouble installing sage

2024-09-24 Thread Kwankyu Lee
Though Sage officially supports python 3.9 to python 3.12, in my experience, python 3.9 is "too old" and python 3.12 is somewhat "too new", in the sense that packages on which sage depends on may not work well with them. So I suggest to try ./configure --with-python=PYTHON3 where PYTHON3 is t

Re: [sage-devel] trouble installing sage

2024-09-24 Thread Anne Schilling
Thank you, Dima and Kwankyu, for your suggestions. I tried make distclean source .homebrew-build-env ./configure --with-python=/usr/local/bin/python3.10 make Now kiwisolver-1.4.5 cannot be installed. See attached log file. Best wishes, Anne On Tuesday, September 24, 2024 at 4:57:42 PM UTC-7 K

Re: [sage-devel] trouble installing sage

2024-09-24 Thread Dima Pasechnik
On Tue, Sep 24, 2024 at 11:32 PM Anne Schilling wrote: > > Ok, sorry, here is the result after > > make distclean > source .homebrew-build-env > ./bootstrap > ./configure --enable-system-site-packages Well, with scipy in Homebrew you need Python from Homebrew, the Python into which site-packages

Re: [sage-devel] trouble installing sage

2024-09-24 Thread Kwankyu Lee
Is Xcode command line tools up to date? If not, do xcode-select --install -- 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.

Re: [sage-devel] trouble installing sage

2024-09-24 Thread Anne Schilling
It looks like Xcode command line tools are up to date: MacBook-Pro-3:~ anne$ xcode-select --install xcode-select: note: Command line tools are already installed. Use "Software Update" in System Settings or the softwareupdate command line interface to install updates When I check on Software Upd

Re: [sage-devel] trouble installing sage

2024-09-24 Thread Dima Pasechnik
from your scipy log: [spkg-install] Library m found: YES [spkg-install] [spkg-install] ../meson.build:80:0: ERROR: Compiler gfortran cannot compile programs. [spkg-install] [spkg-install] A full log can be found at /Users/anne/sage/sage/local/var/lib/sage/venv-python3.9/var/tmp/sage/build/scipy-1.

Re: [sage-devel] trouble installing sage

2024-09-24 Thread Anne Schilling
Hi Kwankyu, Here are the logs for MacOS 15.0. Best wishes, Anne On Tuesday, September 24, 2024 at 2:24:39 AM UTC-7 Kwankyu Lee wrote: > Uploading the logs of the failed packages > > /Applications/sage/logs/pkgs/ipykernel-6.27.1.log > /Applications/sage/logs/pkgs/scipy-1.12.0.log > > would help

Re: [sage-devel] Re: Error Building from Source

2024-09-24 Thread Dima Pasechnik
On Tue, Sep 24, 2024 at 4:38 AM Kwankyu Lee wrote: > It is unusual to pick "/home/username/.sage/sage" as the sage root directory. > We recommend "/home/username/sage/sage". Indeed, ~/.sage/ has a special purpose in Sage, for storing various temporary things, configs, etc. Better avoid this doub

Re: [sage-devel] trouble installing sage

2024-09-24 Thread Dima Pasechnik
Hi Anne, Please post the log file for this: package: ipykernel-6.27.1 last build time: Sep 23 23:48 log file:/Users/anne/sage/sage/logs/pkgs/ipykernel-6.27.1.log On Tue, Sep 24, 2024 at 8:10 AM Anne Schilling wrote: > > > Dear All, > > To add further confusion to this issue,

Re: [sage-devel] trouble installing sage

2024-09-24 Thread Anne Schilling
Dear All, To add further confusion to this issue, I now tried to install sage from source on an older MacOS 10.15.7 and got this error message. I followed all the instructions in README.md: ... [cypari-2.1.5] [spkg-pipinst] Looking in links: /Users/anne/sage/sage/local/var/lib/sage/venv-pytho

Re: [sage-devel] trouble installing sage

2024-09-24 Thread Kwankyu Lee
Uploading the logs of the failed packages /Applications/sage/logs/pkgs/ipykernel-6.27.1.log /Applications/sage/logs/pkgs/scipy-1.12.0.log would help. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receivi

Re: [sage-devel] trouble installing sage

2024-09-24 Thread Anne Schilling
Thank you for your suggestions, Dima! I am still having trouble though: MacBook-Pro-3:sage anne$ brew update ==> Updating Homebrew... Already up-to-date. MacBook-Pro-3:sage anne$ brew reinstall scipy ==> Downloading https://ghcr.io/v2/homebrew/core/scipy/manifests/1.14.1 Already downloaded: /Use

Re: [sage-devel] trouble installing sage

2024-09-24 Thread Kwankyu Lee
I get $ gcc --version Apple clang version 14.0.0 (clang-1400.0.29.202) Target: x86_64-apple-darwin21.6.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin What do you get? -- You received this message because you are subscribed to the Google Groups "sage-devel" grou

Re: [sage-devel] trouble installing sage

2024-09-24 Thread Dima Pasechnik
On Tue, Sep 24, 2024 at 9:41 PM Anne Schilling wrote: > > Thank you for your suggestions, Dima! > > I am still having trouble though: > [...] > ==> Reinstalling scipy > ==> Pouring scipy--1.14.1.arm64_sequoia.bottle.tar.gz > 🍺 /opt/homebrew/Cellar/scipy/1.14.1: 1,389 files, 63.8MB > ==> Running

Re: [sage-devel] trouble installing sage

2024-09-24 Thread John H Palmieri
For what it's worth, I just upgraded a machine to OS X 15.0, Xcode 16.0, and as many homebrew packages as Sage requested, and Sage built just fine. I'm seeing some doctest errors, presumably because of the new Xcode: lots of warning messages saying something like "warning: ld_classic is deprec

Re: [sage-devel] trouble installing sage

2024-09-24 Thread Anne Schilling
I get MacBook-Pro-3:sage anne$ gcc --version Apple clang version 16.0.0 (clang-1600.0.26.3) Target: arm64-apple-darwin24.0.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin On Tuesday, September 24, 2024 at 7:56:11 PM UTC-7

Re: [sage-devel] trouble installing sage

2024-09-24 Thread Kwankyu Lee
According to your kiwisolver-1.4.5 log, [spkg-install] py/src/constraint.cpp:8:10: fatal error: 'algorithm' file not found [spkg-install] 8 | #include [spkg-install] | ^~~ [spkg-install] 1 error generated. [spkg-install] error: command '/usr/bin/gcc' failed with exit code 1 your gcc

Re: [sage-devel] trouble installing sage

2024-09-24 Thread Anne Schilling
Hi Dima, Here is the log for MacOS 10.15.7. Thank you for your help! Anne On Tuesday, September 24, 2024 at 8:38:02 AM UTC-7 dim...@gmail.com wrote: > Hi Anne, > > Please post the log file for this: > > package: ipykernel-6.27.1 > last build time: Sep 23 23:48 > log file: /Users/anne/sage/sage

[sage-devel] Re: Error Building from Source

2024-09-24 Thread Ross George
Kwankyu, I tried changing the directory name, but the same error persists. Thank you, Ross George On Monday, September 23, 2024 at 11:38:06 PM UTC-4 Kwankyu Lee wrote: > Hi, > > It is unusual to pick "/home/username/.sage/sage" as the sage root > directory. We recommend "/home/username/sage/sa

Re: [sage-devel] trouble installing sage

2024-09-24 Thread Kwankyu Lee
In the lines of your log ... [spkg-install] creating build/temp.macosx-10.15-x86_64-cpython-310 [spkg-install] creating build/temp.macosx-10.15-x86_64-cpython-310/py [spkg-install] creating build/temp.macosx-10.15-x86_64-cpython-310/py/src [spkg-install] *gcc -Wno-unused-result -Wsign-compare -W

Re: [sage-devel] trouble installing sage

2024-09-24 Thread Kwankyu Lee
On Wednesday, September 25, 2024 at 1:16:41 PM UTC+9 Kwankyu Lee wrote: According to your kiwisolver-1.4.5 log, [spkg-install] py/src/constraint.cpp:8:10: fatal error: 'algorithm' file not found [spkg-install] 8 | #include [spkg-install] | ^~~ [spkg-install] 1 error generated. [spkg-i

Re: [sage-devel] trouble installing sage

2024-09-24 Thread Kwankyu Lee
I would also try sudo xcode-select --reset -- 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] trouble installing sage

2024-09-24 Thread Anne Schilling
I did sudo xcode-select --reset and also tried a different python installation. But I still get the kiwisolver error. On Tuesday, September 24, 2024 at 11:05:26 PM UTC-7 Anne Schilling wrote: > Thank you! I did that, but still got the error message. > > I am currently recompiling with a diffe

Re: [sage-devel] trouble installing sage

2024-09-24 Thread Kwankyu Lee
In the lines of your log [spkg-install] building 'kiwisolver._cext' extension [spkg-install] creating build/temp.macosx-10.15-x86_64-cpython-310 [spkg-install] creating build/temp.macosx-10.15-x86_64-cpython-310/py [spkg-install] creating build/temp.macosx-10.15-x86_64-cpython-310/py/src [spkg-ins

Re: [sage-devel] trouble installing sage

2024-09-24 Thread Anne Schilling
Thank you! I did that, but still got the error message. I am currently recompiling with a different python installation. On Tuesday, September 24, 2024 at 9:48:26 PM UTC-7 Kwankyu Lee wrote: > I would also try > > sudo xcode-select --reset > -- You received this message because you are subscri