<div dir="ltr">I tried again, in the 6 GB RAM/ 3 GB swap system. Just to clarify: this is a 64-bit 14.2 that I installed just a few days ago. The first thing I did after installing it was to upgrade every single package found in the patches/packages directory. I installed other packages from slackbuilds afterwards, including the previous version of sage. The only difference between my previous run in this system, and this one, is that X was not running this time. In both cases, I launched the built directly - i.e. by downloading the relevant files from <a href="http://slackbuilds.org">slackbuilds.org</a> - no sbopkg.<div><br></div><div>In a nutshell, the build succeeded, and the package was created all right. This is what happened when I issued the upgradepkg command on this package:</div><div><br></div><div><div>Verifying package sage-7.5.1-x86_64-1_SBo.tgz.</div><div>Installing package sage-7.5.1-x86_64-1_SBo.tgz:</div><div>PACKAGE DESCRIPTION:</div><div># sage (python based mathematics software)</div><div>#</div><div># Sage is a free open-source mathematics software system licensed under</div><div># the GPL. It combines the power of many existing open-source packages</div><div># into a common Python-based interface.</div><div># Mission: Creating a viable free open source alternative to Magma,</div><div># Maple, Mathematica and Matlab.</div><div>#</div><div># Home: <a href="http://www.sagemath.org">http://www.sagemath.org</a></div><div>#</div><div>Executing install script for sage-7.5.1-x86_64-1_SBo.tgz.</div><div>â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â.</div><div>.â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â</div><div>..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..</div><div>â.. SageMath version 7.5.1, Release Date: 2017-01-15                   â..</div><div>â.. Type "notebook()" for the browser-based notebook interface.        â..</div><div>â.. Type "help()" for help.                                            â..</div><div>â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â.</div><div>.â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â</div><div>..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..â..</div><div><br></div><div>ERROR:  The Sage installation tree has moved</div><div><br></div><div>from /tmp/SBo/sage-7.5.1</div><div>  to /opt/sage</div><div><br></div><div>This is not supported, and Sage will not work. To install Sage from a</div><div>binary package:</div><div><br></div><div>1. Open the .tar.bz2 archive (or .dmg on OSX)</div><div><br></div><div>2. Move the SageMath folder/app to where you want it to be. You can</div><div>   also rename the directory now.</div><div><br></div><div>3. Start sage for the first time. This will then automatically patch</div><div>   paths in binaries.</div><div><br></div><div>After starting Sage for the first time you cannot change the</div><div>installation any more. To install Sage elsewhere, start over from the</div><div>binary package. Or recompile Sage from scratch in the new location</div><div>("make distclean && make")</div><div><br></div><div>Package sage-7.5.1-x86_64-1_SBo.tgz installed.</div><div><br></div><div>Package sage-7.2-x86_64-1_SBo upgraded with new package ./sage-7.5.1-x86_64-1_SB</div><div>o.tgz.</div></div><div><br></div><div>However, when I invoke 'sage' from the shell, I do get the sage CLI, and it seems to be fully functional. I am guessing that the installation script is heeding the instructions above.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 27, 2017 at 12:36 AM, Christoph Willing <span dir="ltr"><<a href="mailto:chris.willing@iinet.net.au" target="_blank">chris.willing@iinet.net.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 27/03/17 13:53, Christoph Willing wrote:<br>
> On 27/03/17 12:52, Willy Sudiarto Raharjo wrote:<br>
>>  I tried on yet another system, again 64-bit 14.2, this time with 6 GB RAM<br>
>>> and 3 GB swap, running XFCE but nothing else, and I am getting the same<br>
>>> result. I'll try again, this time without X running.<br>
>><br>
>> Just to make sure to run a complete installation of Slackware{64}-14.2<br>
>> with the latest patch is preferred.<br>
>><br>
>> Notes:<br>
>> my last build of sage was in March 9, so i haven't tried it again since then<br>
>><br>
><br>
> I just built 7.5.1 (March 9 update) in a full x86_64 14.2 VM without any<br>
> problems.<br>
><br>
> However on installation, the running of sage (from doinst.sh) fails with<br>
> "ERROR:  The Sage installation tree has moved" error - full message<br>
> attached. The same message is  shown when running sage from the command<br>
> line.<br>
><br>
</span>I made a new build which commented out running of sage from doinst.sh.<br>
<br>
According to the /opt/sage/sage script, running it the first time runs<br>
relocate-once.py and then deletes it. I wanted to look at<br>
relocate-once.py before it was deleted so had to stop sage being run by<br>
doinst.sh. The new build and installation went well - sage didn't run.<br>
However relocate-once.py still wasn't in SAGE_ROOT as expected - I can't<br>
find it in the sage package that was installed either.<br>
<br>
In fact I couldn't see relocate-once.py in the source tarball either so<br>
I presume it should be generated at build time. Since it's not in the<br>
final package, I'm guessing that it hasn't been generated. That would<br>
explain the error message about not being able to run after being relocated.<br>
<br>
chris<br>
<br>
<br>
<br>______________________________<wbr>_________________<br>
SlackBuilds-users mailing list<br>
<a href="mailto:SlackBuilds-users@slackbuilds.org">SlackBuilds-users@slackbuilds.<wbr>org</a><br>
<a href="http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" rel="noreferrer" target="_blank">http://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>
<br></blockquote></div><br></div>