On Fri, Nov 1, 2019 at 1:25 PM Isuru Fernando <isu...@gmail.com> wrote:

> You need to activate the sage environment which would set SAGE_ROOT.
>
> `conda activate mac1015-env`
>
>
This gives me an error with the zsh shell not being initialized, while

conda init zsh

lists things like

no change     /Users/wdj/.zshrc
No action taken.

I also tried switching to the bash shell, but that did not work
either.



> Isuru
>
> On Fri, Nov 1, 2019 at 6:07 AM David Joyner <wdjoy...@gmail.com> wrote:
>
>>
>>
>> On Thu, Oct 31, 2019 at 9:58 PM Isuru Fernando <isu...@gmail.com> wrote:
>>
>>> Try installing sage to a new environment instead of an existing one.
>>>
>>>
>> This seemed to work, at least it installed the sage scripts in
>> /Volumes/Transcend/wooster/computer-algebra/anaconda3/envs/mac1015-env/bin
>> (the environment is called mac1015-env). The sage script doesn't run
>> since I don't know where to set SAGE_ROOT. I don't see any binaries.
>> I think I managed to activate the new environment since it modified the
>> .zshrc file but adding that directory to the PATH.
>>
>>
>>> On Thu, Oct 31, 2019 at 5:31 PM David Joyner <wdjoy...@gmail.com> wrote:
>>>
>>>>
>>>>
>>>> On Wed, Oct 30, 2019 at 6:04 PM Dima Pasechnik <dimp...@gmail.com>
>>>> wrote:
>>>>
>>>>> I think at the moment most people who tried cannot build Sage on MacOS
>>>>> 10.15 with Xcode 11.1 (the latest one).
>>>>> Regarding gfortran, perhaps one can try installing Homebrew and use
>>>>> gfortram from there.
>>>>>
>>>>> If you just need a working Sage, your best bet on MacOS 10.15 might be
>>>>> the one from conda-forge.
>>>>> https://anaconda.org/conda-forge/sage
>>>>>
>>>>>
>>>> This doesn't seem to work for me either.
>>>> anaconda installed but
>>>> conda install -c conda-forge sage
>>>> (and friends) returned lots of "Solving environment: failed ..."
>>>> lines.
>>>>
>>>>
>>>>
>>>>>
>>>>>
>>>>> On Wed, Oct 30, 2019 at 10:57 PM Rob Gross <
>>>>> robert.gross.1...@gmail.com> wrote:
>>>>> >
>>>>> > Hi,
>>>>> >
>>>>> > I tried both upgrading to sage-8.9 and compiling from scratch, and
>>>>> both times gfortran would not compile.  I cannot attach the entire log 
>>>>> file
>>>>> without an error.  I attach the first few lines and the last few lines, 
>>>>> and
>>>>> of course I can e-mail anyone with as much information as needed.
>>>>> >
>>>>> > Here is the first error message in the log file:
>>>>> >
>>>>> > libtool: compile:
>>>>> /Users/gross/sage-8.9/local/var/tmp/sage/build/gfortran-7.4.0/gcc-build/./gcc/xgcc
>>>>> -B/Users/gross/sage-8.9/local/var/tmp/sage/build/gfortran-7.4.0/gcc-build/./gcc/
>>>>> -B/Users/gross/sage-8.9/local/x86_64-apple-darwin19.0.0/bin/
>>>>> -B/Users/gross/sage-8.9/local/x86_64-apple-darwin19.0.0/lib/ -isystem
>>>>> /Users/gross/sage-8.9/local/x86_64-apple-darwin19.0.0/include -isystem
>>>>> /Users/gross/sage-8.9/local/x86_64-apple-darwin19.0.0/sys-include
>>>>> -DHAVE_CONFIG_H -I. -I../../../src/libssp -Wall -g -O2 -MT gets-chk.lo -MD
>>>>> -MP -MF .deps/gets-chk.Tpo -c ../../../src/libssp/gets-chk.c  -fno-common
>>>>> -DPIC -o .libs/gets-chk.o
>>>>> > In file included from
>>>>> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h:110:0,
>>>>> >                  from
>>>>> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:66,
>>>>> >                  from ../../../src/libssp/gets-chk.c:39:
>>>>> >
>>>>> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h:
>>>>> In function 'getiopolicy_np':
>>>>> >
>>>>> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h:443:34:
>>>>> error: expected declaration specifiers before '__OSX_AVAILABLE_STARTING'
>>>>> >  int     getiopolicy_np(int, int)
>>>>> __OSX_AVAILABLE_STARTING(__MAC_10_5, __IPHONE_2_0);
>>>>> >                                   ^~~~~~~~~~~~~~~~~~~~~~~~
>>>>> >
>>>>> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h:449:39:
>>>>> error: expected '=', ',', ';', 'asm' or '__attribute__' before
>>>>> '__OSX_AVAILABLE_STARTING'
>>>>> >  int     setiopolicy_np(int, int, int)
>>>>> __OSX_AVAILABLE_STARTING(__MAC_10_5, __IPHONE_2_0);
>>>>> >
>>>>> > Any ideas?
>>>>> >
>>>>> > Thanks.--Rob
>>>>> >
>>>>> > --
>>>>> > 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 web visit
>>>>> https://groups.google.com/d/msgid/sage-devel/b557aad7-51f6-469b-9dac-bac679275400%40googlegroups.com
>>>>> .
>>>>>
>>>>> --
>>>>> 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 web visit
>>>>> https://groups.google.com/d/msgid/sage-devel/CAAWYfq3LG%2Bj6eWxrYtJ7K%3Dc__PTtC%3DkNyWX9J8ywNY-u%3DPeugA%40mail.gmail.com
>>>>> .
>>>>>
>>>> --
>>>> 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 web visit
>>>> https://groups.google.com/d/msgid/sage-devel/CAEQuuAUv-MT7kQi3npsH5QFWintsYh0BneOHVmHpo0bwjCcMUQ%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/sage-devel/CAEQuuAUv-MT7kQi3npsH5QFWintsYh0BneOHVmHpo0bwjCcMUQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
>>> 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 web visit
>>> https://groups.google.com/d/msgid/sage-devel/CA%2B01voPwQh7z9gspeBtDkGxeJuUgPKR6_n9_4mqmFPHmL_yhVg%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/sage-devel/CA%2B01voPwQh7z9gspeBtDkGxeJuUgPKR6_n9_4mqmFPHmL_yhVg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> 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 web visit
>> https://groups.google.com/d/msgid/sage-devel/CAEQuuAXnUZs%2BiGZrfE3Gtv9x349Z5KP%3D8T0VFhrPnYiJvNixrQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/sage-devel/CAEQuuAXnUZs%2BiGZrfE3Gtv9x349Z5KP%3D8T0VFhrPnYiJvNixrQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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 web visit
> https://groups.google.com/d/msgid/sage-devel/CA%2B01voNvTPgCkBi7V02RBH4hPTYXXN9gxmUqx18%2BeKCt3mYTAg%40mail.gmail.com
> <https://groups.google.com/d/msgid/sage-devel/CA%2B01voNvTPgCkBi7V02RBH4hPTYXXN9gxmUqx18%2BeKCt3mYTAg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 web visit 
https://groups.google.com/d/msgid/sage-devel/CAEQuuAX7S%2Bop-u_ve6FC2KkHw3N%3DcQW6nePJ7vQ%3DWMa2Zx00jQ%40mail.gmail.com.

Reply via email to