On Tuesday, 28 January 2014 06:41:57 UTC-7, Jeremy McFarland wrote:
>
> Hello,
>
> I am very impressed with sage, and would love to use it on my Ubuntu 
> server. I attempted to install sagecell, but that was a huge mess and I 
> gave up. I do not want to make calls to another system outside my network, 
> so I need sage (or sagecell) to run locally.
>
> I am running Ubuntu 12.04 Server with the latest version of Sage binary 
> installed. When I attempt to execute a sage -python call I receive the 
> following error in my Apache2 error.log:
>
> Error: environment variable $HOME is not set.
> Error setting environment variables by sourcing 
> '/usr/lib/sagemath/spkg/bin/sage-env'
>
> Setting $HOME in the python script does not fix this. /var/www/.sage 
> exists in the www-data home directory of /var/www. www-data owns and has 
> r/w on /var/www/.sage.
>
> Is there a fix for this? If not, is there a successful install instruction 
> set for installing sagecell on Ubuntu with the latest release of Sage? Any 
> other alternatives for execution of python code using the Sage libraries so 
> I can execute things in sage and return them to my PHP script being run on 
> the webserver?
>
> Thanks in advance,
>
> -Jeremy
>

I have a working script that installs sagecell into an LXC container 
running Debian Wheezy on Wheezy and then proxied by Apache, although it is 
necessary to pull some packages from testing (including LXC itself and 
Apache ;-)). Will that be of any use on Ubuntu 12.04?

Andrey

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to