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
I did try to compile my own, but ran in to utter dependency hell.
In the end I managed to get it to work by deleting some of the
readline libraries, but I don't understand why that worked.
Would you say that the google groups you point me towards
is a more active forum than the sage-support mailing list?
Thanks again
Robin
> --
> To post to this group, send email to sage-s...@googlegroups.com
> To unsubscribe from this group, send email to sage-support...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/sage-support
> URL: http://www.sagemath.org
>
--
Robin Hankin
Uncertainty Analyst
Redline often causes problems on Sage. I know it has done on OpenSUSE
> Would you say that the google groups you point me towards
> is a more active forum than the sage-support mailing list?
>
> Thanks again
>
> Robin
The mailing list is a Google group. Marshall just poined you to the same place.
You can post via google groups or email. It's the same support forum.
Dave
The Sage source should include very nearly everything it needs to build.
There are very few dependencies. What kind of "dependency hell" did you
run into?
Dan
--
--- Dan Drake
----- http://mathsci.kaist.ac.kr/~drake
-------
thanks for this. I suppose "dependency" isn't quite the right word here.
The error message below is cut-and-pasted from the output of 'make';
at one point it asks me to email sage-devel, but perhaps this list
is better for now!
best wishes
Robin
Host system
uname -a:
Linux le112 2.6.34-12-desktop #1 SMP PREEMPT 2010-06-29 02:39:08 +0200
i686 i686 i386 GNU/Linux
****************************************************
****************************************************
CC Version
gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i586-suse-linux/4.5/lto-wrapper
Target: i586-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.5
--enable-ssp --disable-libssp --disable-plugin
--with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux'
--disable-libgcj --disable-libmudflap --with-slibdir=/lib
--with-system-zlib --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --disable-libstdcxx-pch
--enable-version-specific-runtime-libs --program-suffix=-4.5
--enable-linux-futex --without-system-libunwind --enable-gold
--with-plugin-ld=/usr/bin/gold --with-arch-32=i586 --with-tune=generic
--build=i586-suse-linux
Thread model: posix
gcc version 4.5.0 20100604 [gcc-4_5-branch revision 160292] (SUSE Linux)
****************************************************
bash: symbol lookup error: bash: undefined symbol: rl_filename_rewrite_hook
real 0m0.002s
user 0m0.000s
sys 0m0.001s
sage: An error occurred while installing sqlite-3.6.22
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /home/rksh/Download/sage-4.5.3/install.log. Describe your
computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/rksh/Download/sage-4.5.3/spkg/build/sqlite-3.6.22 and type 'make
check' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
(cd '/home/rksh/Download/sage-4.5.3/spkg/build/sqlite-3.6.22' &&
'/home/rksh/Download/sage-4.5.3/sage' -sh)
When you are done debugging, you can type "exit" to leave the
subshell.
make[1]: *** [installed/sqlite-3.6.22] Error 1
make[1]: Leaving directory `/home/rksh/Download/sage-4.5.3/spkg'
real 0m29.324s
user 0m20.838s
sys 0m3.264s
Error building Sage.
./sage -docbuild all html 2>&1 | tee -a dochtml.log
python: can't open file
'/home/rksh/Download/sage-4.5.3/devel/sage/doc/common/builder.py':
[Errno 2] No such file or directory
le112:~/Download/sage-4.5.3%
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iEYEARECAAYFAkySo3YACgkQr4V8SljC5LrLOACfQSxMAi2aSFl5LJRSwvewt3/l
> S+AAnimn5caqEvhfly43g6Urm9qOVjfj
> =DZ3D
> -----END PGP SIGNATURE-----
Ah, I see. I think "readline hell" is a better description than
"dependency hell". :) I hope we can get this sorted out.