we'll need a bit more of your output, especially if you ran parallel make.
If you could link to the whole maxima build log (in skpg/log) that would
be most useful.
Francois
Hi Jan,
we'll need a bit more of your output, especially if you ran parallel make.
If you could link to the whole maxima build log (in skpg/log) that would
be most useful.
On 2012-02-26 16:59, Jan Groenewald wrote:It depends on how you build Sage. Let me elaborate: In order to compile
> Is it still necessary to run sage as root once to set some paths?
Sage, you don't need root privileges. In fact, it is strongly
recommended *not* to build Sage as root.
During "make" (or "make all"),
Sage is ran once. This will create a few new files. After this, every
user on the system can run Sage from the directory it was compiled in
(if not, this is considered a bug). If you move your Sage tree after
building, you have to run sage-location again as the user who owns the
Sage files. As a final step, you can change the owner to root if you want.
Did the binary ever work for you? Do you have the appropriate ssl
libraries installed?
>
> I get this when I install it though:
> http://pastebin.ubuntu.com/859462/
>
> Any ideas?
>
> Regards.,
>
> Jan
>
> --
> .~.
> /V\ Jan Groenewald
> /( )\ www.aims.ac.za
> ^^-^^
>
> --
> To post to this group, send an email to sage-...@googlegroups.com
> To unsubscribe from this group, send an email to
> sage-devel+...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org
--
William Stein
Professor of Mathematics
University of Washington
http://wstein.org
On Mon, Feb 27, 2012 at 9:47 AM, Jan Groenewald <j...@aims.ac.za> wrote:Did the binary ever work for you? Do you have the appropriate ssl
> Hi
>
> I am making some progress with the first deb which just wraps the sage
> upstream binary.
libraries installed?
Yes, definitely.
I remember once in 2006 that an undergrad at UW -- Bobby Moretti --
made a PPA with Sage on Ubuntu, which built from source. I think he
did it in a "24 hour sprint". He added some fake "./configure" and
"make install" stuff to Sage so that this would work. Unfortunately,
he is no longer involved in Sage so can't easily give advice about
this.
-- William
>
> Regards,
> Jan
>
>
> --
> .~.
> /V\ Jan Groenewald
> /( )\ www.aims.ac.za
> ^^-^^
>
Three cheers for doing it in the ugliest possible way -- rather than not
doing it at all! Sage should definitely be available via a PPA.
I tried this in a Lucid virtual machine, and your dependencies may need
slight tweaking: it refuses to install because of a dpkg dependency:
The following packages have unmet dependencies:
sagemath-upstream-binary: PreDepends: dpkg (>= 1.15.6~) but
1.15.5.6ubuntu4.5 is to be installed
Would 1.15.5 work? Or, do you want to focus on the newer releases, since
Precise (a newer LTS) will be out soon?
Keep up the good work!
Dan
--
--- Dan Drake
----- http://mathsci.kaist.ac.kr/~drake
-------
I tried this in a 11.10 virtual machine, and it created the user's .sage
directory as owned by root -- with 700 permissions, so when I try to
start Sage, it fails because it can't read that directory.
In another virtual machine, I got something similar, where the
matplotlib directory was owned by root.
This may be related to having used Sage previously on those machines,
but in any case we shouldn't create root-owned things in the user's
directory!
> sudo apt-add-repository ppa:aims/sagemathI tried this in a 11.10 virtual machine, and it created the user's .sage
> sudo apt-get update
> sudo apt-get install sagemath-upstream-binary
directory as owned by root -- with 700 permissions, so when I try to
start Sage, it fails because it can't read that directory.
In another virtual machine, I got something similar, where the
matplotlib directory was owned by root.
This may be related to having used Sage previously on those machines,
but in any case we shouldn't create root-owned things in the user's
directory!
What I have done is (this happens every time):
1. Remove $HOME/.sage
2. Reinstall Sage from PPA
3. New $HOME/.sage is root-owned.
If I have an existing $HOME/.sage owned by the user, I get a root-owned
file when reinstalling the PPA package: the "lazy_import_cache.pickle" file.
> An update on the previous dpkg version problem. I have dropped lucid
> support on that PPA, as it is the only Ubuntu version requiring an
> older dpkg, and that older dpkg does not support xz compression. The
> difference between xz compression and gz compression is roughly 80M
> for the deb alone. dpkg 1.15.6 started supporting this.
Dropping Lucid is a good idea. Focus on getting this to work on Precise,
and then see if we can do a source PPA.
On Thu, 15 Mar 2012 at 07:13AM +0100, Jan Groenewald wrote:What I have done is (this happens every time):
> Thanks, I will look into it. Are the steps to reproduce 1) install new OS,
> 2) install Sage from PPA, 3) run sage as user?
1. Remove $HOME/.sage
2. Reinstall Sage from PPA
3. New $HOME/.sage is root-owned.
(You could most probably also set DOT_SAGE "manually" when invoking
'sage' for the first time; it defaults to '$HOME/.sage/'.)