Gentoo Archives: gentoo-science

From: Thomas Kahle <tomka@g.o>
To: Gentoo Science <gentoo-science@l.g.o>
Subject: [gentoo-science] Sage, ecls, maxima
Date: Thu, 11 Oct 2012 00:02:38
Message-Id: 20121010224215.GA13813@schlaumatte
1 Hi,
2
3 I'm trying to use sage to do some symbolic algebra, but I get failurs
4 like this:
5
6 ------------------------------------------------------------------------------------
7 /usr/lib64/python2.7/site-packages/sage/misc/lazy_import.so in sage.misc.lazy_import.LazyImport._get_object (sage/misc/lazy_import.c:1291)()
8
9 /usr/lib64/python2.7/site-packages/sage/interfaces/maxima_lib.py in <module>()
10 78 ## i.e. loading it into ECL
11
12 79 ecl_eval("(setf *load-verbose* NIL)")
13 ---> 80 ecl_eval("(require 'maxima)")
14 81 ecl_eval("(in-package :maxima)")
15 82 ecl_eval("(setq $nolabels t))")
16
17 /usr/lib64/python2.7/site-packages/sage/libs/ecl.so in sage.libs.ecl.ecl_eval (sage/libs/ecl.c:7042)()
18
19 /usr/lib64/python2.7/site-packages/sage/libs/ecl.so in sage.libs.ecl.ecl_eval (sage/libs/ecl.c:6979)()
20
21 /usr/lib64/python2.7/site-packages/sage/libs/ecl.so in sage.libs.ecl.ecl_safe_eval (sage/libs/ecl.c:2817)()
22
23 RuntimeError: ECL says: In function SYMBOL-PLIST, the value of the first argument is
24 "{"
25 which is not of the expected type SYMBOL
26 ------------------------------------------------------------------------------------
27
28 As a shot into the dark I tried to rebuild ecls and maxima, but maxima fails now:
29
30 --------------------------------------------------------------------------------------
31 An error occurred during initialization:
32 Unable to execute:
33 (RUN-PROGRAM "x86_64-pc-linux-gnu-gcc" ("-I." "-I/usr/include/" "-D_GNU_SOURCE"
34 "-D_FILE_OFFSET_BITS=64"
35 "-march=native" "-O2" "-pipe" "-fPIC"
36 "-D_THREAD_SAFE" "-Dlinux" "-O2" "-w"
37 "-c"
38 "/var/tmp/portage/sci-mathematics/maxima-5.26.0/temp/eclinitd1LQ4m.c"
39 "-o"
40 "/var/tmp/portage/sci-mathematics/maxima-5.26.0/temp/eclinitd1LQ4m.o")).
41 make[1]: *** [binary-ecl/maxima] Error 1
42 make[1]: Leaving directory `/var/tmp/portage/sci-mathematics/maxima-5.26.0/work/maxima-5.26.0/src'
43 make: *** [all-recursive] Error 1
44 emake failed
45 ------------------------------------------------------------------------------------
46
47 Is this known? Do you want a bugs.g.o report?
48
49 Thanks,
50 Thomas
51
52
53 --
54 Thomas Kahle
55 http://dev.gentoo.org/~tomka/

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-science] Sage, ecls, maxima Thomas Kahle <tomka@g.o>