On Sun, 31 Mar 2019 at 21:45, Jose Garcia <garci...@mail.gvsu.edu> wrote:

> Do you think I should have installed sage somewhere other than in /opt ?
>

you can change the owner of your installation to be the “normal” user, not
root
using “chown”,
no need to reinstall it.



> Would it have been best to install it in my home directory?
>
> Any advice is appreciated.
>
> On Sun, Mar 31, 2019 at 4:37 PM Dima Pasechnik <dimp...@gmail.com> wrote:
>
>>
>>
>> On Sun, 31 Mar 2019 at 21:05, Jose Garcia <garci...@mail.gvsu.edu> wrote:
>>
>>> Great news guys, turns out I just forgot to purge the SageMath
>>> Installation from when i used apt. So now my sage installation recognizes
>>> the "--package" option as well as the "-i" option for installing sagemath
>>> packages.
>>>
>>> However now I have this issue related to what appears to be writing
>>> right? What do you all think i should do?
>>>
>>> sudo sage -i conjecturing
>>>
>>
>> sudo? why? Sage goes out of its way to prevent one from doing
>> installations under root,
>> and for a good reason.
>>
>> make build/make/Makefile --stop
>>> make[1]: Entering directory '/opt/SageMath'
>>> rm -f config.log
>>> mkdir -p logs/pkgs
>>> ln -s logs/pkgs/config.log config.log
>>> running CONFIG_SHELL=/bin/bash /bin/bash ./configure --no-create
>>> --no-recursion
>>> checking for a BSD-compatible install... /usr/bin/install -c
>>> checking whether build environment is sane... yes
>>> checking for a thread-safe mkdir -p... /bin/mkdir -p
>>> checking for gawk... no
>>> checking for mawk... mawk
>>> checking whether make sets $(MAKE)... yes
>>> checking whether make supports nested variables... yes
>>> checking whether to enable maintainer-specific portions of Makefiles...
>>> yes
>>> checking for root user... yes
>>> configure: error: You cannot build Sage as root, switch to an
>>> unpriviledged user
>>> If you would like to try to build Sage anyway (to help porting),
>>> export the variable 'SAGE_PORT' to something non-empty.
>>> Makefile:39: recipe for target 'build/make/Makefile' failed
>>> make[1]: *** [build/make/Makefile] Error 1
>>> make[1]: Leaving directory '/opt/SageMath'
>>> Makefile:31: recipe for target 'all-toolchain' failed
>>> make: *** [all-toolchain] Error 2
>>>
>>>
>>> On Sun, Mar 31, 2019 at 10:05 AM Antonio Rojas <nqn7...@gmail.com>
>>> wrote:
>>>
>>>> You are still running sage from the debian repo. You need to run ./sage
>>>> from the dir where you installed the sage binary (or add such dir to your
>>>> PATH)
>>>>
>>>> El domingo, 31 de marzo de 2019, 15:29:04 (UTC+2), Jose Garcia escribió:
>>>>>
>>>>> Thank you for the response. I tried installing Sage from Binary and it
>>>>> was successful.
>>>>>
>>>>> However, i still get error messages when trying to run the commands to
>>>>> install this optional package i keep talking about.
>>>>>
>>>>> sage --package fix-checksum conjecturing
>>>>> sage-run received unknown option: --package
>>>>> usage: sage [options]
>>>>> Try 'sage -h' for more information.
>>>>>
>>>>>>
>>>>>> --
>>>> 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 post to this group, send email to sage-support@googlegroups.com.
>>>> Visit this group at https://groups.google.com/group/sage-support.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> --
>>> 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 post to this group, send email to sage-support@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/sage-support.
>>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>>> --
>> 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 post to this group, send email to sage-support@googlegroups.com.
>> Visit this group at https://groups.google.com/group/sage-support.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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 post to this group, send email to sage-support@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to