Thank you for the reply!

On Jan 14, 2009, at 10:20 AM, mabshoff wrote:

>> 1. I had some confusion when I ran sage the first time, because it
>> complained about permissions for creating some files.  So I ran it
>> with sudo in front, and it worked fine.  Now thereafter, I can run it
>> without sudo and it doesn't complain.  So it seems the first run has
>> to have privileges to make certain files??
>
> No, do you remember which files it was complaining about? This should
> not happen unless you unpack Sage as root and then run it as a non-
> root user user. This would explain the need to run Sage with sudo once
> and then it worked without it.

Unfortunately, because I'm doing this under VirtualBox and JeOS (as in  
Dan's tutorial--link below) what scrolls off the screen is gone for  
good.

But I should mention that when I followed Dan's directions for  
downloading SAGE, the first time I ran it, it said my processor was  
incompatible with the one on which the binary was compiled, so I  
should expect invalid instruction errors, and my only option was to  
build from sources.  So I deleted that installation, downloaded the  
sources, and built them.  And yes, IIRC I did the unpacking and the  
making with "sudo" in front.

If doing so has painted myself into a corner, then including in Dan's  
wiki page what people in my situation *should* do instead is, I think,  
essential.  The processor isn't even that old, so this may impact a  
nontrivial percentage of that page's readers.  Well, not *that* old;  
it's a 3.something GHz Pentium something.

>> 2. When I run sage start_notebook.sage it claims that nb1 cannot run
>> the command sage (no such file or directory).  I thought perhaps I  
>> had
>> to add the sage path to that user's ~/.bashrc, but that did not fix
>> the problem.  Thus the whole "sage start_notebook.sage" fails in the
>> end.
>
> You can invoke the notebook via ./sage -notebook, but if you post
> start_notebook.sage or tell us what you want to do I am sure this can
> be sorted out.

The start_notebook.sage is the one in Dan's wiki article, mentioned in  
the first post in this thread.  Here's the link for convenience;  
the .sage file is at the bottom (linked).

http://wiki.sagemath.org/DanDrake/JustEnoughSageServer

Thanks again for any assistance available!

Nathan


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to