<div dir="ltr">Thanks for taking care of this. It sure beats having to build the beast from scratch - which, unless one has a rather beefy machine, will take forever. This aside from the relocation issues. </div><br><div class="gmail_quote"><div dir="ltr">On Tue, Oct 23, 2018 at 12:37 AM Duncan Roe <<a href="mailto:duncan_roe@optusnet.com.au">duncan_roe@optusnet.com.au</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi JCA,<br>
<br>
On Tue, Aug 21, 2018 at 06:13:21PM -0600, JCA wrote:<br>
> On Tue, Aug 21, 2018 at 5:49 PM, Duncan Roe <<a href="mailto:duncan_roe@optusnet.com.au" target="_blank">duncan_roe@optusnet.com.au</a>><br>
> wrote:<br>
><br>
> > On Mon, Aug 13, 2018 at 09:08:46AM -0600, JCA wrote:<br>
> > > Why not use the Debian binary tarball that is available in the Sage<br>
> > > website? I have just tried (for Sage 8.3) and it seems to work fine. Here<br>
> > > is what I did:<br>
> > ><br>
> > > 1. As root, unpacked the tarball in /opt. This create /opt/SageMath.<br>
> > > 2. cd /opt/SageMath.<br>
> > > 3. ./sage. This patches up Sage's files (black magic?) and launches Sage.<br>
> > > You end up at the Sage CLI. It can be checked out that it works, at least<br>
> > > for simple operations - like, e.g. an integration.<br>
> > > 4. Exit Sage.<br>
> > > 5. cd /usr/local/bin.<br>
> > > 6. ln -s /opt/SageMath/sage ./sage.<br>
> > > 7. Exit root.<br>
> > > 8. Assuming that /usr/local/bin is in your path, launch Sage by invoking<br>
> > > the sage command.<br>
> > > 9. Verify that it works.<br>
> > ><br>
> > > Assuming that the above keeps working when using more esoteric Sage<br>
> > > capabilities, getting a Slackbuilds script to do all that should be<br>
> > > straightforward. I haven't tried building for sources, but I find it<br>
> > > difficult to believe that the Debian binary tarball is created using some<br>
> > > knowledge available to members of the inner circle alone.<br>
> > ><br>
> > > If I am missing something here please let me know.<br>
> > ><br>
> > Hi JCA,<br>
> ><br>
> > Sounds like it should be easy enough to automate into a build script using<br>
> > mkchroot. I can give it a go (but I'm not a sage user). Could you please<br>
> > clarify a couple if items:<br>
> ><br>
> > 1. Does ./sage really work after cd-ing to a freshly created directory?<br>
> ><br>
><br>
> I am not sure I understand your question. What I describe allows one to<br>
> install the Sage executable under /usr/local/bin, and launch it from<br>
> anywhere, provided that /usr/local/bin is in your path. You would only<br>
> invoked ./sage from /usr/local/bin, but - why would you want to that?<br>
><br>
> ><br>
> > 2. I assume checking with an integration is not essential to the build<br>
> > process -<br>
> > is that correct?<br>
> ><br>
><br>
> That integration is nothing but a very basic functional test of the<br>
> installed product. I just used the Debian package - I did not build Sage<br>
> myself, for it takes ages and a serious system. I am merely pointing out<br>
> that, following the steps I described above, one ends up with a Sage<br>
> environment that seems to work fine, and one does not have to suffer the<br>
> punishment that the original maintainer described in order to install it in<br>
> a sensible location. I have tried a few other things in the resulting Sage,<br>
> and they all seem to work.<br>
><br>
><br>
> > Cheers ... Duncan.<br>
> > ><br>
> > > On Fri, Aug 10, 2018 at 11:26 AM, Didier Spaier <<a href="mailto:didier@slint.fr" target="_blank">didier@slint.fr</a>> wrote:<br>
> > ><br>
> > > > I forgot: his user a set specific user "maths" for that.<br>
> > > ><br>
> > > > On 08/10/2018 07:23 PM, Didier Spaier wrote:<br>
> > > > ><br>
> > > > > On 08/10/2018 04:22 AM, Daniel Prosser wrote:<br>
> > > > >> Perhaps if upstream is fighting so hard to make it *not* possible to<br>
> > > > package<br>
> > > > >> sage, the best course of action is just to honor their intent and<br>
> > stop<br>
> > > > trying<br>
> > > > >> (take it off SBo). Just my two cents as someone who does not use it<br>
> > > > anyway (so<br>
> > > > >> maybe it's actually only worth one cent).<br>
> > > > ><br>
> > > > > I am not an user either, but I once compiled it as regular user just<br>
> > to<br>
> > > > check<br>
> > > > > its ability to make png files for graphs, for an actual (and blind)<br>
> > user.<br>
> > > > > I just asked this friend, he is currently using the 8.1 version.<br>
> > > > ><br>
> > > > > As for maths there is nothing close to sage's features I'd suggest<br>
> > > > > not providing a SlackBuild but a README explaining the situation.<br>
> > > > ><br>
> > > > > Just my 0.02???.<br>
<br>
Thanks for getting back with answers to my dumb questions and sorry for the<br>
noise.<br>
<br>
I went ahead and submitted (what became) sage-bin-8.3 (thanks for all the work,<br>
mods) and it's been on SBO for just over a month now.<br>
<br>
I guess I should have posted to this thread about that :/<br>
<br>
It's a package of the Debian tarball as you suggested, installs (a symlink) in<br>
/usr/bin works from anywhere etc. etc.<br>
<br>
I did try some plots and they looked fine, but mostly I just (mis-)use it to do<br>
proper-fraction arithmetic - it's great!<br>
<br>
Cheers ... Duncan.<br>
_______________________________________________<br>
SlackBuilds-users mailing list<br>
<a href="mailto:SlackBuilds-users@slackbuilds.org" target="_blank">SlackBuilds-users@slackbuilds.org</a><br>
<a href="https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br>
Archives - <a href="https://lists.slackbuilds.org/pipermail/slackbuilds-users/" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/pipermail/slackbuilds-users/</a><br>
FAQ - <a href="https://slackbuilds.org/faq/" rel="noreferrer" target="_blank">https://slackbuilds.org/faq/</a><br>
<br>
</blockquote></div>