Re: [sage-support] Errors building Sage 10.3 in Sonoma 14.3.1

2024-03-27 Thread John H Palmieri
I'm having the same problem (I think) with Sage 10.4.beta0 on two different 
Apple Silicon machines.

On Wednesday, March 27, 2024 at 9:58:10 AM UTC-7 Dima Pasechnik wrote:

> I've cut out the interesting part of the log.
> It's a linker error (IMHO the linking should be done with C++, not
> with C compiler, but that's probably OK on macOS).
> Related to GiNaC (not a surprise)
>
> Anyway, I haven't seen this sort of errors before. Something for Apple 
> fans...
>
>
> On Wed, Mar 27, 2024 at 3:54 PM Jon Higa  
> wrote:
> >
> > Switched to this, continuing in the same directory:
> >
> > git clean -xdf
> > source .homebrew-build-env
> > make configure
> > ./configure --prefix=/usr/local/sage/10.3 --enable-database_odlyzko_zeta 
> --disable-editable 
> --with-python=/opt/homebrew/opt/pyt...@3.11/bin/python3.11
> > make
> >
> > New logs attached.
> >
> > Thanks.
> >
> > On Wednesday, March 27, 2024 at 6:24:37 AM UTC-4 Dima Pasechnik wrote:
> >
> > sagemath doesn't officially support Python 3.12.
> > Can you try with 3.11 instead?
> >
> >
> >
> > --
> > You received this message because you are subscribed to the Google 
> Groups "sage-support" group.
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to sage-support...@googlegroups.com.
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/9bfc9093-a640-4c75-9b62-0fd21ab3474en%40googlegroups.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/2682d574-73c4-4ff7-8c5b-477563f61cf5n%40googlegroups.com.


Re: [sage-support] Errors building Sage 10.3 in Sonoma 14.3.1

2024-03-27 Thread Dima Pasechnik
I've cut out the interesting part of the log.
It's a linker error (IMHO the linking should be done with C++, not
with C compiler, but that's probably OK on macOS).
Related to GiNaC (not a surprise)

Anyway, I haven't seen this sort of errors before. Something for Apple fans...


On Wed, Mar 27, 2024 at 3:54 PM Jon Higa  wrote:
>
> Switched to this, continuing in the same directory:
>
> git clean -xdf
> source .homebrew-build-env
> make configure
> ./configure --prefix=/usr/local/sage/10.3 --enable-database_odlyzko_zeta 
> --disable-editable --with-python=/opt/homebrew/opt/python@3.11/bin/python3.11
> make
>
> New logs attached.
>
> Thanks.
>
> On Wednesday, March 27, 2024 at 6:24:37 AM UTC-4 Dima Pasechnik wrote:
>
> sagemath doesn't officially support Python 3.12.
> Can you try with 3.11 instead?
>
>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/9bfc9093-a640-4c75-9b62-0fd21ab3474en%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq31JQJgXwVB%2B4Ax5G4jeAGr%2BortREHDhRO4x1Fo2YEUhg%40mail.gmail.com.
sagelib-10.3

Setting up build directory for sagelib-10.3

Host system:
Darwin bearakku.fios-router.home 23.3.0 Darwin Kernel Version 23.3.0: Wed Dec 20 21:30:59 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T6030 arm64

C compiler: gcc
C compiler version:
Apple clang version 15.0.0 (clang-1500.3.9.4)
Target: arm64-apple-darwin23.3.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

[...]


gcc -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -g -O2 -I/usr/local/sage/10.3/include/singular -I/usr/local/sage/10.3/include/ -Isage/symbolic -Isage/cpython -I/opt/homebrew/Cellar/gsl/2.7.1/include -I/opt/homebrew/Cellar/openblas/0.3.26/include -I/usr/local/sage/10.3/lib/python3.11/site-packages/cysignals -Isage/ext -I/Users/jon/sage/pkgs/sagemath-standard -I/usr/local/sage/10.3/lib/python3.11/site-packages/numpy/core/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -Ibuild/cythonized -I/usr/local/sage/10.3/include -I/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c sage/symbolic/ginac/wildcard.cpp -o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/wildcard.o -fno-strict-aliasing -DCYTHON_CLINE_IN_TRACEBACK=1 -std=c++11 -DSING_NDEBUG -DOM_NDEBUG -I/usr/local/sage/10.3/include/singular -I/usr/local/sage/10.3/include/
g++ -std=gnu++11 -std=gnu++11 -bundle -undefined dynamic_lookup -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -L/usr/local/sage/10.3/lib -Wl,-ld_classic,-rpath,/usr/local/sage/10.3/lib -g -O2 build/temp.macosx-14.0-arm64-cpython-311/build/cythonized/sage/symbolic/expression.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/add.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/archive.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/assume.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/basic.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/cmatcher.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/constant.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/context.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/ex.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/expair.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/expairseq.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/exprseq.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/fderivative.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/function.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/function_info.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/infinity.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/infoflagbase.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/inifcns.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/inifcns_comb.o build/temp.macosx-14.0-arm64-cpython-311/sage/symbolic/ginac/inifcns_gamma.o 

Re: [sage-support] Errors building Sage 10.3 in Sonoma 14.3.1

2024-03-27 Thread Dima Pasechnik
On Mon, Mar 25, 2024 at 8:22 PM Jon Higa 
wrote:

> I tried to build Sage 10.3 in Sonoma 14.3.1 on an M3 Pro.
>
>git clone https://github.com/sagemath/sage.git
>
>cd sage
>
>git checkout 10.3
>
>brew upgrade
>
>export MAKE='make -j8'
>
>source .homebrew-build-env
>
>make configure
>
>./configure --prefix=/usr/local/sage/10.3
> --enable-database_odlyzko_zeta --disable-editable
> --with-python=/opt/homebrew/opt/python@3.12/bin/python3
>
>make
>
> The build halted on sagelib, but I've included all the logs from grep -li
> "^Error" logs/pkgs/* in case there are multiple causes.
>

sagemath doesn't officially support Python 3.12.
Can you try with 3.11 instead?



>
> Thank you for any advice. I'm still fine running Sage 10.2, but I thought
> I'd try the latest and greatest.
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/14d3b9f9-d46d-4e89-bd3b-88a225bd71acn%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq3NXxV-oUFUQ536Fc6PsKvtKM-Dnx%3Dd%2BtgkCBDE7OOu%3DA%40mail.gmail.com.