Re: [sage-devel] Building Sage 9.2 on Mac fails due to cysignals

2020-10-29 Thread Zachary Scherr
Did you by any chance install fortran via: brew cask install gfortran? from your config.log file it finds gfortran version 8, but the most recent homebrew fortran is 10.2. Maybe try uninstalling gfortran and then either brew install gcc or brew reinstall gcc to get a more up to date fortran.

Re: [sage-devel] Building Sage 9.2 on Mac fails due to cysignals

2020-10-28 Thread Dima Pasechnik
On Wed, 28 Oct 2020, 14:33 Zachary Scherr, wrote: > Hopefully somebody with more experience can weigh in, but for the record I > have pari installed via homebrew and there the configure is only with > --with-gmp and --with-readline and that works with building sage. It's > plausible that the

Re: [sage-devel] Building Sage 9.2 on Mac fails due to cysignals

2020-10-28 Thread Zachary Scherr
Hopefully somebody with more experience can weigh in, but for the record I have pari installed via homebrew and there the configure is only with --with-gmp and --with-readline and that works with building sage. It's plausible that the -mt=pthread is what's causing the issues. On Wednesday,

Re: [sage-devel] Building Sage 9.2 on Mac fails due to cysignals

2020-10-28 Thread Dima Pasechnik
On Wed, 28 Oct 2020, 14:12 modp...@gmail.com, wrote: > Yes, I have manually installed Pari 2.11.4 after configuring it with: > Confgure --mt=pthread --tune > this it the cause of your problem, as Sage doesn't work with threaded libpari. > On Wednesday, October 28, 2020 at 3:04:01 PM UTC+1

Re: [sage-devel] Building Sage 9.2 on Mac fails due to cysignals

2020-10-28 Thread modp...@gmail.com
Yes, I have manually installed Pari 2.11.4 after configuring it with: Confgure --mt=pthread --tune On Wednesday, October 28, 2020 at 3:04:01 PM UTC+1 zsc...@gmail.com wrote: > Just wanted to make a couple of comments. First off, brew installs llvm > as keg-only meaning that sage shouldn't even

Re: [sage-devel] Building Sage 9.2 on Mac fails due to cysignals

2020-10-28 Thread Zachary Scherr
Just wanted to make a couple of comments. First off, brew installs llvm as keg-only meaning that sage shouldn't even be able to find it unless you manually added something like: export PATH="/usr/local/opt/llvm/bin:$PATH" export LDFLAGS="-L/usr/local/opt/llvm/lib" export

Re: [sage-devel] Building Sage 9.2 on Mac fails due to cysignals

2020-10-28 Thread Dima Pasechnik
try make distclean and the build On Wed, 28 Oct 2020, 09:57 modp...@gmail.com, wrote: > > I tried uninstalling LLVM and building it again, but it fails again for > cysignals. > But the problem now seems that it still sets -I and -L flags with > non-existent LLVM directories. > On Tuesday,

Re: [sage-devel] Building Sage 9.2 on Mac fails due to cysignals

2020-10-28 Thread modp...@gmail.com
I tried uninstalling LLVM and building it again, but it fails again for cysignals. But the problem now seems that it still sets -I and -L flags with non-existent LLVM directories. On Tuesday, October 27, 2020 at 5:10:58 PM UTC+1 Matthias Koeppe wrote: > From config.log: > > configure:5906:

Re: [sage-devel] Building Sage 9.2 on Mac fails due to cysignals

2020-10-27 Thread Matthias Koeppe
>From config.log: configure:5906: gcc -v >&5 Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1 Apple clang version 12.0.0

Re: [sage-devel] Building Sage 9.2 on Mac fails due to cysignals

2020-10-27 Thread Dima Pasechnik
I'd have tried removing llvm and trying again. Perhaps this is a conflict between Homebrew packages. On Tue, Oct 27, 2020 at 8:42 AM modp...@gmail.com wrote: > Please find config.log and cysignals-1.10.2.log attached. I already run > "source .homebrew-build-env" before configuring. > And yes I

Re: [sage-devel] Building Sage 9.2 on Mac fails due to cysignals

2020-10-26 Thread Dima Pasechnik
also note that you apparently have something in -L/usr/local/opt/llvm/lib (installed from Homebrew ?) which might lead to surprises. Do you have some LDFLAGS set? It would help if you also post logs/pkgs/cysignals-1.10.2.log On Mon, Oct 26, 2020 at 2:15 PM Dima Pasechnik wrote: > > also, if you

Re: [sage-devel] Building Sage 9.2 on Mac fails due to cysignals

2020-10-26 Thread Dima Pasechnik
also, if you have Homebrew, you should run source .homebrew-build-env before ./configure On Mon, Oct 26, 2020 at 1:50 PM Dima Pasechnik wrote: > please post the top-level config.log here > > On Mon, 26 Oct 2020, 13:45 modp...@gmail.com, wrote: > >> >> I'm building Sage 9.2 from source on

Re: [sage-devel] Building Sage 9.2 on Mac fails due to cysignals

2020-10-26 Thread Dima Pasechnik
please post the top-level config.log here On Mon, 26 Oct 2020, 13:45 modp...@gmail.com, wrote: > > I'm building Sage 9.2 from source on macOS Catalina 10.15.7, however, it > fails > when trying to install cysignals. More precisely, it throws the following > error: > > gcc -bundle -undefined

[sage-devel] Building Sage 9.2 on Mac fails due to cysignals

2020-10-26 Thread modp...@gmail.com
I'm building Sage 9.2 from source on macOS Catalina 10.15.7, however, it fails when trying to install cysignals. More precisely, it throws the following error: gcc -bundle -undefined dynamic_lookup -isysroot