Hi. suse 11.3, trying to work with sage 4.5.3 I get various problems when trying to execute sage (transcript below).
Any ideas? thanks rksh le112:~/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux% ./sage ---------------------------------------------------------------------- | Sage Version 4.5.3, Release Date: 2010-09-04 | | Type notebook() for the GUI, and license() for information. | ---------------------------------------------------------------------- sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook sh: symbol lookup error: sh: undefined symbol: rl_filename_rewrite_hook ERROR: An unexpected error occurred while tokenizing input The following traceback may be corrupted or invalid The error message is: ('EOF in multi-line statement', (69, 0)) ERROR: An unexpected error occurred while tokenizing input The following traceback may be corrupted or invalid The error message is: ('EOF in multi-line statement', (47, 0)) --------------------------------------------------------------------------- RuntimeError Traceback (most recent call last) /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/IPython/ipmaker.pyc in force_import(modname) 64 reload(sys.modules[modname]) 65 else: ---> 66 __import__(modname) 67 68 /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/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/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/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/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/sage/all.py in <module>() 62 get_sigs() 63 ---> 64 from sage.misc.all import * # takes a while 65 66 from sage.misc.sh import sh /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/sage/misc/all.py in <module>() 65 from sage_eval import sage_eval, sageobj 66 ---> 67 from sage_input import sage_input 68 69 from cython import cython_lambda, cython_create_local_so /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/sage/misc/sage_input.py in <module>() 161 """ 162 --> 163 from sage.misc.functional import parent 164 import math 165 /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/sage/misc/functional.py in <module>() 36 37 ---> 38 from sage.rings.complex_double import CDF 39 from sage.rings.real_double import RDF, RealDoubleElement 40 /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/bin/complex_double.pyx in init sage.rings.complex_double (sage/rings/complex_double.c:14319)() /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/sage/rings/complex_field.pyc in ComplexField(prec, names) 84 if not C is None: 85 return C ---> 86 C = ComplexField_class(prec) 87 cache[prec] = weakref.ref(C) 88 return C /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/sage/rings/complex_field.pyc in __init__(self, prec) 184 ParentWithGens.__init__(self, self._real_field(), ('I',), False, category = Fields()) 185 # self._populate_coercion_lists_() --> 186 self._populate_coercion_lists_(coerce_list=[complex_number.RRtoCC(self._real_field(), self)]) 187 188 def __reduce__(self): /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/sage/rings/complex_number.so in sage.rings.complex_number.RRtoCC.__init__ (sage/rings/complex_number.c:13971)() /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/sage/categories/map.so in sage.categories.map.Map.__init__ (sage/categories/map.c:1951)() /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/sage/categories/homset.pyc in Hom(X, Y, category) 150 # For the moment, this is the category, for compatibility with the current implementations 151 # of Homset in rings, schemes, ... --> 152 H = category.hom_category().parent_class(X, Y, category = category) 153 154 ##_cache[key] = weakref.ref(H) /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/sage/categories/rings.pyc in __new__(cls, X, Y, category) 115 <class 'sage.rings.number_field.morphism.CyclotomicFieldHomset_with_category'> 116 """ --> 117 from sage.rings.homset import RingHomset 118 return RingHomset(X, Y, category = category) 119 /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/sage/rings/homset.pyc in <module>() 15 16 import morphism ---> 17 import quotient_ring 18 19 def is_RingHomset(H): /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/sage/rings/quotient_ring.pyc in <module>() 30 import commutative_ring 31 import ideal ---> 32 import sage.rings.polynomial.multi_polynomial_ideal 33 import sage.structure.parent_gens 34 from sage.interfaces.all import singular as singular_default, is_SingularElement /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/sage/rings/polynomial/multi_polynomial_ideal.py in <module>() 227 from __future__ import with_statement 228 --> 229 from sage.interfaces.all import (singular as singular_default, 230 macaulay2 as macaulay2_default, 231 magma as magma_default) /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/sage/interfaces/all.py in <module>() 6 7 from expect import is_ExpectElement ----> 8 from gap import gap, gap_reset_workspace, gap_console, gap_version, is_GapElement, Gap 9 from gap3 import gap3, gap3_console, gap3_version, Gap3 10 from genus2reduction import genus2reduction, Genus2reduction /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/sage/interfaces/gap.py in <module>() 1140 #print "Automatically updating the cached Gap workspace:" 1141 #print WORKSPACE -> 1142 gap_reset_workspace(verbose=False) 1143 1144 # Delete all gap workspaces that haven't been used in at least 1 /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/sage/interfaces/gap.py in gap_reset_workspace(max_workspace_size, verbose) 1131 pass 1132 # end for -> 1133 g.eval('SaveWorkspace("%s");'%WORKSPACE) 1134 1135 /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/sage/interfaces/gap.py in eval(self, x, newlines, strip, **kwds) 352 if not input_line.endswith(';'): 353 input_line += ';' --> 354 result = Expect.eval(self, input_line, **kwds) 355 if not newlines: 356 result = result.replace("\\\n","") /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/sage/interfaces/expect.pyc in eval(self, code, strip, synchronize, locals, **kwds) 981 try: 982 with gc_disabled(): --> 983 return '\n'.join([self._eval_line(L, **kwds) for L in code.split('\n') if L != '']) 984 except KeyboardInterrupt: 985 # DO NOT CATCH KeyboardInterrupt, as it is being caught /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/sage/interfaces/gap.py in _eval_line(self, line, allow_use_file, wait_for_prompt) 452 try: 453 if self._expect is None: --> 454 self._start() 455 E = self._expect 456 #import pdb; pdb.set_trace() /home/rksh/Download/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/local/lib/python2.6/site-packages/sage/interfaces/gap.py in _start(self) 885 self._session_number = n 886 return --> 887 raise RuntimeError, msg 888 889 if self.__use_workspace_cache and self.__make_workspace: RuntimeError: Unable to start gap Error importing ipy_profile_sage - perhaps you should run %upgrade? WARNING: Loading of ipy_profile_sage failed. sage: -- Robin Hankin Uncertainty Analyst -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org