On Friday, August 8, 2014 2:09:36 PM UTC-7, Paul Graham wrote:
>
> I end up getting a permission denied error after running like this:
>
> user1@computer0:~/sage$ make
>
>
> I tried doing other things so the exact message went away but i know it 
> said permission error.
>
> THen i tried doing:
>
> user1@computer0:~/sage$ sudo sage -b
>
> user1@computer0:~/sage$ sudo sage --docbuild developer html
>
> but 
> file:///usr/lib/sagemath/src/doc/output/html/en/developer/sage_manuals.html 
> , still doesnt show my changes...
>
> Am i modifying the wrong file 
> /home/user1/sage/src/doc/en/developer/sage_manuals.rst ? Should i instead 
> be modifying /usr/lib/sagemath/src/doc/en/developer/sage_manuals.rst? It 
> says permission denied if i try to edit and save that one...
>
>
> On Friday, August 8, 2014 12:45:37 PM UTC-7, Paul Graham wrote:
>>
>> Okay. No worries, at this point nothing is very obvious to me yet! About 
>> how hours does it normally take for sage to build the first time? I guess i 
>> should of done 
>>
>> ./sage -br
>>
>> instead of 
>>
>> make
>>
>> since i didnt change any third party packages, just documentation, as 
>> make has been running for the past 4 hours... Part of the learning process 
>> i suppose.
>>
>> On Friday, August 8, 2014 12:40:54 AM UTC-7, Jeroen Demeyer wrote:
>>>
>>> On 2014-08-08 09:15, kcrisman wrote: 
>>> > You have to do sage -b first, though I don't know if this is well 
>>> > advertised. 
>>>
>>> Or even easier, you can replace 
>>>
>>> $ sage -b 
>>> $ sage --docbuild developer html 
>>>
>>> by the simple command 
>>>
>>> $ make 
>>>
>>> And sorry to state the obvious, but you might need to hit the refresh 
>>> button on your browser. 
>>>
>>
First, if you're just modifying .rst files, you shouldn't have to run 
'make' or 'sage -b'; just rebuilding the documentation should be good 
enough. Second, if when you rebuild the documentation, it tells you to look 
in /usr/lib/..., then you should be editing the files in /usr/lib/... On 
the other hand, if you want to edit files in /home/me/sage/src/..., then 
you should run '/home/me/sage/sage --docbuild ...' to rebuild them.

-- 
John

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

Reply via email to