[Slackbuilds-users] Sage build fail

Christoph Willing chris.willing at iinet.net.au
Mon Mar 27 03:53:51 UTC 2017


On 27/03/17 12:52, Willy Sudiarto Raharjo wrote:
>  I tried on yet another system, again 64-bit 14.2, this time with 6 GB RAM
>> and 3 GB swap, running XFCE but nothing else, and I am getting the same
>> result. I'll try again, this time without X running.
> 
> Just to make sure to run a complete installation of Slackware{64}-14.2
> with the latest patch is preferred.
> 
> Notes:
> my last build of sage was in March 9, so i haven't tried it again since then
>

I just built 7.5.1 (March 9 update) in a full x86_64 14.2 VM without any
problems.

However on installation, the running of sage (from doinst.sh) fails with
"ERROR:  The Sage installation tree has moved" error - full message
attached. The same message is  shown when running sage from the command
line.

Running from the Education/Sage menu also fails. The command from
sage.desktop file gives a different error:

bash-4.3# /opt/sage/sage -notebook
Traceback (most recent call last):
  File "/opt/sage/src/bin/sage-notebook", line 7, in <module>
    import argparse
  File "/opt/sage/local/lib/python/argparse.py", line 85, in <module>
    import collections as _collections
  File "/opt/sage/local/lib/python/collections.py", line 21, in <module>
    from operator import itemgetter as _itemgetter, eq as _eq
ImportError: /opt/sage/local/lib64/python2.7/lib-dynload/operator.so:
undefined symbol: _PyUnicodeUCS4_AsDefaultEncodedString


chris

-------------- next part --------------
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 7.5.1, Release Date: 2017-01-15                   │
│ Type "notebook()" for the browser-based notebook interface.        │
│ Type "help()" for help.                                            │
└────────────────────────────────────────────────────────────────────┘

ERROR:  The Sage installation tree has moved

from /tmp/SBo/sage-7.5.1
  to /opt/sage

This is not supported, and Sage will not work. To install Sage from a
binary package:

1. Open the .tar.bz2 archive (or .dmg on OSX)

2. Move the SageMath folder/app to where you want it to be. You can
   also rename the directory now.

3. Start sage for the first time. This will then automatically patch
   paths in binaries.

After starting Sage for the first time you cannot change the
installation any more. To install Sage elsewhere, start over from the
binary package. Or recompile Sage from scratch in the new location
("make distclean && make")

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20170327/dff9cd77/attachment.asc>


More information about the SlackBuilds-users mailing list