<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><br></div><div class="gmail_quote">On Tue, Aug 21, 2018 at 5:49 PM, Duncan Roe <span dir="ltr"><<a href="mailto:duncan_roe@optusnet.com.au" target="_blank">duncan_roe@optusnet.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">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>
</span>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></blockquote><div><br></div><div>   I am not sure I understand your question. What I describe allows one to install the Sage executable under /usr/local/bin, and launch it from anywhere, provided that /usr/local/bin is in your path. You would only invoked ./sage from /usr/local/bin, but - why would you want to that? </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
2. I assume checking with an integration is not essential to the build process -<br>
is that correct?<br></blockquote><div><br></div><div>   That integration is nothing but a very basic functional test of the installed product. I just used the Debian package - I did not build Sage myself, for it takes ages and a serious system. I am merely pointing out that, following the steps I described above, one ends up with a Sage environment that seems to work fine, and one does not have to suffer the punishment that the original maintainer described in order to install it in a sensible location. I have tried a few other things in the resulting Sage, and they all seem to work. </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Cheers ... Duncan.<br>
<span class="">><br>
> On Fri, Aug 10, 2018 at 11:26 AM, Didier Spaier <<a href="mailto:didier@slint.fr">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 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 to<br>
> > check<br>
> > > its ability to make png files for graphs, for an actual (and blind) 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>
</span>> > > Just my 0.02???.<br>
<div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
SlackBuilds-users mailing list<br>
<a href="mailto:SlackBuilds-users@slackbuilds.org">SlackBuilds-users@slackbuilds.<wbr>org</a><br>
<a href="https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/<wbr>mailman/listinfo/slackbuilds-<wbr>users</a><br>
Archives - <a href="https://lists.slackbuilds.org/pipermail/slackbuilds-users/" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/<wbr>pipermail/slackbuilds-users/</a><br>
FAQ - <a href="https://slackbuilds.org/faq/" rel="noreferrer" target="_blank">https://slackbuilds.org/faq/</a><br>
<br>
</div></div></blockquote></div><br></div></div>