I'm building sage 4.2 on an amd64 machine running gentoo using a
provided ebuild. There are no obvious errors in install.log. However,
sage does not startup cleanly. When 'sage -c quit' is issued the
following results:

Traceback (most recent call last):
  File "/opt/sage/local/bin/sage-eval", line 4, in <module>
    from sage.all import *
  File "/opt/sage/local/lib/python2.6/site-packages/sage/all.py", line
64, in <module>
    from sage.misc.all       import *         # takes a while
  File "/opt/sage/local/lib/python2.6/site-packages/sage/misc/all.py",
line 70, in <module>
    from sage_input import sage_input
  File "/opt/sage/local/lib/python2.6/site-packages/sage/misc/
sage_input.py", line 163, in <module>
    from sage.misc.functional import parent
  File "/opt/sage/local/lib/python2.6/site-packages/sage/misc/
functional.py", line 37, in <module>
    from sage.rings.complex_double import CDF
  File "complex_double.pyx", line 88, in sage.rings.complex_double
(sage/rings/complex_double.c:13818)
  File "/opt/sage/local/lib/python2.6/site-packages/sage/rings/
complex_field.py", line 86, in ComplexField
    C = ComplexField_class(prec)
  File "/opt/sage/local/lib/python2.6/site-packages/sage/rings/
complex_field.py", line 177, in __init__
    self._populate_coercion_lists_(coerce_list=[complex_number.RRtoCC
(self._real_field(), self)])
  File "complex_number.pyx", line 2004, in
sage.rings.complex_number.RRtoCC.__init__ (sage/rings/complex_number.c:
13046)
  File "complex_number.pyx", line 153, in
sage.rings.complex_number.ComplexNumber.__init__ (sage/rings/
complex_number.c:3183)
  File "parent.pyx", line 380, in
sage.structure.parent.Parent.__call__ (sage/structure/parent.c:4241)
  File "map.pyx", line 173, in sage.categories.map.Map._call_ (sage/
categories/map.c:3481)
NotImplementedError: <type 'sage.rings.real_mpfr.int_toRR'>

Others have reported this same type of error on amd64 machines but
relative to building sage in the "usual" way with the sage-provided
makefile. When I do this sage builds, all tests pass and the above
errors are not present. Is it possible that this is an amd64-related
bug that the gentoo package managing system is discovering?


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to