I think you should report this at #30651, including details of which 
homebrew packages you've installed. It was suggested at 
https://trac.sagemath.org/ticket/30494#comment:92 that homebrew's gfortran 
may not work with Big Sur, so you might want to install Sage's version of 
that, too.

On Wednesday, October 7, 2020 at 12:55:50 PM UTC-7, David Joyner wrote:
>
>
>
> On Wed, Oct 7, 2020 at 1:06 PM John H Palmieri <jhpalm...@gmail.com 
> <javascript:>> wrote:
>
>> Building Sage on Big Sur is being tracked at 
>> https://trac.sagemath.org/ticket/30651; see also 
>> https://trac.sagemath.org/ticket/30494. Do you have homebrew installed, 
>> and if so, which packages? You could try forcing Sage to build its own 
>> zlib, for example, to try to get Sage's Python to find it.
>>
>>
> Yes, homebrew's installed and I used it to install python3 and readline, 
> but the compiler can't find either one.
>  
> Following your suggestion, I ran sage -f zlib, which seemed to work fine, 
> but 
> said openblas wasn't able to compile. I ran sage -f openblas. Here's the 
> tail of that:
>
> [openblas-0.3.9] gfortran -O2 -m128bit-long-double -Wall -frecursive 
> -fno-optimize-sibling-calls -m64 -fPIC 
> -L/Users/wdj/sagefiles/sage-9.2.rc0/local/lib 
> -Wl,-rpath,/Users/wdj/sagefiles/sage-9.2.rc0/local/lib  -all_load 
> -headerpad_max_install_names -install_name 
> "/Users/wdj/sagefiles/sage-9.2.rc0/local/var/tmp/sage/build/openblas-0.3.9/src/exports/../libopenblas.0.dylib"
>  
> -dynamiclib -o ../libopenblas_atomp-r0.3.9.dylib 
> ../libopenblas_atomp-r0.3.9.a -Wl,-exported_symbols_list,osx.def  
> -L/Users/wdj/sagefiles/sage-9.2.rc0/local/lib 
> -L/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin19/9.2.0 
> -L/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin19/9.2.0/../../..
>  
> -L/Users/wdj/sagefiles/sage-9.2.rc0/local/lib 
> -L/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin19/9.2.0 
> -L/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin19/9.2.0/../../..
>   
> -lgfortran -lSystem -lquadmath -lm -lSystem -lgfortran -lSystem -lquadmath 
> -lm -lSystem -lSystem  
>
> [openblas-0.3.9] ld: library not found for -lSystem
>
> [openblas-0.3.9] collect2: error: ld returned 1 exit status
>
> [openblas-0.3.9] make[4]: *** [libopenblas_atomp-r0.3.9.dylib] Error 1
>
> [openblas-0.3.9] make[3]: *** [shared] Error 2
>
> [openblas-0.3.9] 
> ********************************************************************************
>
> [openblas-0.3.9] Error building openblas-0.3.9
>
> [openblas-0.3.9] 
> ********************************************************************************
>
> [openblas-0.3.9] 
>
> [openblas-0.3.9] real 10m21.321s
>
> [openblas-0.3.9] user 55m3.304s
>
> [openblas-0.3.9] sys 14m23.198s
>
> [openblas-0.3.9] 
> ************************************************************************
>
> [openblas-0.3.9] Error installing package openblas-0.3.9
>
> [openblas-0.3.9] 
> ************************************************************************
>
> [openblas-0.3.9] Please email sage-devel (
> http://groups.google.com/group/sage-devel)
>
> [openblas-0.3.9] explaining the problem and including the log file
>
> [openblas-0.3.9]   
> /Users/wdj/sagefiles/sage-9.2.rc0/logs/pkgs/openblas-0.3.9.log
>
> [openblas-0.3.9] Describe your computer, operating system, etc.
>
> [openblas-0.3.9] If you want to try to fix the problem yourself, *don't* 
> just cd to
>
> [openblas-0.3.9] 
> /Users/wdj/sagefiles/sage-9.2.rc0/local/var/tmp/sage/build/openblas-0.3.9 
> and type 'make' or whatever is appropriate.
>
> [openblas-0.3.9] Instead, the following commands setup all environment 
> variables
>
> [openblas-0.3.9] correctly and load a subshell for you to debug the error:
>
> [openblas-0.3.9]   (cd 
> '/Users/wdj/sagefiles/sage-9.2.rc0/local/var/tmp/sage/build/openblas-0.3.9' 
> && '/Users/wdj/sagefiles/sage-9.2.rc0/sage' --buildsh)
>
> [openblas-0.3.9] When you are done debugging, you can type "exit" to leave 
> the subshell.
>
> [openblas-0.3.9] 
> ************************************************************************
>
> make[2]: *** [openblas-no-deps] Error 1
>
> make[1]: *** 
> [/Users/wdj/sagefiles/sage-9.2.rc0/local/var/lib/sage/installed/openblas-0.3.9]
>  
> Error 2
>
>
> real 10m32.344s
>
> user 55m7.812s
>
> sys 14m30.548s
>
> ***************************************************************
>
> Error building Sage.
>
>
> The following package(s) may have failed to build (not necessarily
>
> during this run of 'make openblas'):
>
>
> * package:         openblas-0.3.9
>
>   last build time: Oct 7 14:38
>
>   log file:        
> /Users/wdj/sagefiles/sage-9.2.rc0/logs/pkgs/openblas-0.3.9.log
>
>   build directory: 
> /Users/wdj/sagefiles/sage-9.2.rc0/local/var/tmp/sage/build/openblas-0.3.9
>
>
> It is safe to delete any log files and build directories, but they
>
> contain information that is helpful for debugging build problems.
>
> WARNING: If you now run 'make' again, the build directory of the
>
> same version of the package will, by default, be deleted. Set the
>
> environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this.
>
>
> make: *** [openblas] Error 1
>
>
> Hope this helps.
>
>
>
>> On Wednesday, October 7, 2020 at 7:39:59 AM UTC-7, David Joyner wrote:
>>>
>>> Hi:
>>>
>>> The compiler still can't find installed python3:
>>>
>>> wdj@jeeves sage-9.2.rc0 % which python3
>>>
>>> /Library/Frameworks/Python.framework/Versions/3.7/bin/python3
>>>
>>>
>>>
>>> The log python3-3.8.5.log says
>>> "Package 'python3' is currently not installed"
>>>
>>> Here's the tail after running configure then make -k:
>>>
>>> [yasm-1.3.0.p0] Finished installing yasm-1.3.0.p0
>>>
>>> make[3]: Target `all-sage' not remade because of errors.
>>>
>>> make[2]: *** [all-start] Error 2
>>>
>>>
>>> real 940m12.196s
>>>
>>> user 113m42.845s
>>>
>>> sys 15m52.978s
>>>
>>> ***************************************************************
>>>
>>> Error building Sage.
>>>
>>>
>>> The following package(s) may have failed to build (not necessarily
>>>
>>> during this run of 'make all-start'):
>>>
>>>
>>> * package:         python3-3.8.5
>>>
>>>   last build time: Oct 6 18:49
>>>
>>>   log file:        
>>> /Users/wdj/sagefiles/sage-9.2.rc0/logs/pkgs/python3-3.8.5.log
>>>
>>>   build directory: 
>>> /Users/wdj/sagefiles/sage-9.2.rc0/local/var/tmp/sage/build/python3-3.8.5
>>>
>>>
>>> It is safe to delete any log files and build directories, but they
>>>
>>> contain information that is helpful for debugging build problems.
>>>
>>> WARNING: If you now run 'make' again, the build directory of the
>>>
>>> same version of the package will, by default, be deleted. Set the
>>>
>>> environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this.
>>>
>>>
>>> make[1]: *** [all-start] Error 1
>>>
>>> make: *** [all] Error 2
>>>
>>> make: Target `default' not remade because of errors.
>>>
>>>
>>> - David Joyner
>>>
>>>
>>> -- 
>> 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-s...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-support/5fc19ba6-1e77-4250-adcc-1d78f65a8507o%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/sage-support/5fc19ba6-1e77-4250-adcc-1d78f65a8507o%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/3436878c-fc38-4505-8e17-dfd4bd29892bo%40googlegroups.com.

Reply via email to