Thank you. The build finnished. However now when I start sage there's
a string of import errors before the 'sage:' prompt appears. None of
the basic sage commands seem to work properly, either. Here's the
complete error:


ImportError                               Traceback (most recent call
last)

/home/ssu/sage-4.7.2/local/lib/python2.6/site-packages/IPython/
ipmaker.pyc in force_import(modname, force_reload)
     61         reload(sys.modules[modname])
     62     else:
---> 63         __import__(modname)
     64
     65

/home/ssu/sage-4.7.2/local/bin/ipy_profile_sage.py in <module>()
      5     preparser(True)
      6
----> 7     import sage.all_cmdline
      8     sage.all_cmdline._init_cmdline(globals())
      9

/home/ssu/sage-4.7.2/local/lib/python2.6/site-packages/sage/
all_cmdline.py in <module>()
     12 try:
     13
---> 14     from sage.all import *
     15     from sage.calculus.predefined import x
     16     preparser(on=True)

/home/ssu/sage-4.7.2/local/lib/python2.6/site-packages/sage/all.py in
<module>()
     66 from time                import sleep
     67
---> 68 from sage.misc.all       import *         # takes a while
     69
     70 from sage.misc.sh import sh

/home/ssu/sage-4.7.2/local/lib/python2.6/site-packages/sage/misc/
all.py in <module>()
     79 from func_persist import func_persist
     80
---> 81 from functional import (additive_order,
     82                         sqrt as numerical_sqrt,
     83                         arg,

/home/ssu/sage-4.7.2/local/lib/python2.6/site-packages/sage/misc/
functional.py in <module>()
     34
     35
---> 36 from sage.rings.complex_double import CDF
     37 from sage.rings.real_double import RDF, RealDoubleElement
     38

/home/ssu/sage-4.7.2/local/bin/complex_double.pyx in init
sage.rings.complex_double (sage/rings/complex_double.c:14807)()
     90
     91
---> 92
     93
     94

/home/ssu/sage-4.7.2/local/lib/python2.6/site-packages/sage/rings/
complex_field.pyc in ComplexField(prec, names)
     85         if not C is None:
     86             return C
---> 87     C = ComplexField_class(prec)
     88     cache[prec] = weakref.ref(C)
     89     return C

/home/ssu/sage-4.7.2/local/lib/python2.6/site-packages/sage/rings/
complex_field.pyc in __init__(self, prec)
    185         ParentWithGens.__init__(self, self._real_field(),
('I',), False, category = Fields())
    186 #        self._populate_coercion_lists_()
--> 187
self._populate_coercion_lists_(coerce_list=[complex_number.RRtoCC(self._real_field(),
self)])
    188
    189     def __reduce__(self):

/home/ssu/sage-4.7.2/local/lib/python2.6/site-packages/sage/rings/
complex_number.so in sage.rings.complex_number.RRtoCC.__init__ (sage/
rings/complex_number.c:14063)()
   2246
   2247
-> 2248
   2249
   2250

/home/ssu/sage-4.7.2/local/lib/python2.6/site-packages/sage/categories/
map.so in sage.categories.map.Map.__init__ (sage/categories/map.c:2182)
()
    121
    122
--> 123
    124
    125

/home/ssu/sage-4.7.2/local/lib/python2.6/site-packages/sage/categories/
homset.pyc in Hom(X, Y, category)
    149     # For the moment, this is the category, for compatibility
with the current implementations
    150     # of Homset in rings, schemes, ...
--> 151     H = category.hom_category().parent_class(X, Y, category =
category)
    152
    153     ##_cache[key] = weakref.ref(H)

/home/ssu/sage-4.7.2/local/lib/python2.6/site-packages/sage/categories/
rings.pyc in __new__(cls, X, Y, category)
    140                     <class
'sage.rings.number_field.morphism.CyclotomicFieldHomset_with_category'>
    141                 """
--> 142                 from sage.rings.homset import RingHomset
    143                 return RingHomset(X, Y, category = category)
    144

/home/ssu/sage-4.7.2/local/lib/python2.6/site-packages/sage/rings/
homset.pyc in <module>()
     13 from sage.categories.homset import HomsetWithBase
     14
---> 15 import morphism
     16 import quotient_ring
     17

/home/ssu/sage-4.7.2/local/bin/morphism.pyx in init
sage.rings.morphism (sage/rings/morphism.c:10764)()
    937
    938
--> 939
    940
    941

/home/ssu/sage-4.7.2/local/lib/python2.6/site-packages/sage/structure/
all.py in <module>()
     45 import proof.all as proof
     46
---> 47 from formal_sum  import FormalSums, FormalSum
     48
     49 from mutability  import Mutability

/home/ssu/sage-4.7.2/local/lib/python2.6/site-packages/sage/structure/
formal_sum.py in <module>()
     69 import sage.misc.latex
     70
---> 71 from sage.modules.module import Module_old as Module
     72 from sage.structure.element import ModuleElement
     73 from sage.rings.integer_ring import ZZ

ImportError: /home/ssu/sage-4.7.2/local/lib/python2.6/site-packages/
sage/modules/module.so: file too short
Error importing ipy_profile_sage - perhaps you should run %upgrade?
WARNING: Loading of ipy_profile_sage failed.

I don't understand. Now what's wrong? :<

-Paul

On Jan 6, 11:59 am, Volker Braun <vbraun.n...@gmail.com> wrote:
> This is yet another one of those cases where setting LD_LIBRARY_PATH bites
> us. We compiled our own PPL library, but gcc requires a slightly different
> version. A workaround is to delete $SAGE_LOCAL/lib/libppl.* and then run
> make again.

-- 
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