Gentoo Archives: gentoo-science

From: Thomas Kahle <tomka@g.o>
To: Gentoo Science <gentoo-science@l.g.o>
Subject: Re: [gentoo-science] Sage, ecls, maxima
Date: Thu, 11 Oct 2012 03:02:36
Message-Id: 20121011000411.GB13813@schlaumatte
In Reply to: [gentoo-science] Sage, ecls, maxima by Thomas Kahle
1 Update:
2
3 The maxima-5.26 build failure is only with ecls-12.2.1, downgrading to
4 ecls-11 or upgading to ecls-12.2.7 makes maxima compile again and then
5 recompiling sage makes my original problem go away. So this is just a
6 compile failure of maxima against ecls-12.2.1. Maybe the
7 package.keywords file that comes with sage should avoid this particular
8 version?
9
10 Cheers,
11 Thomas
12
13 On 15:42 Wed 10 Oct 2012, Thomas Kahle wrote:
14 > Hi,
15 >
16 > I'm trying to use sage to do some symbolic algebra, but I get failurs
17 > like this:
18 >
19 > ------------------------------------------------------------------------------------
20 > /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)()
21 >
22 > /usr/lib64/python2.7/site-packages/sage/interfaces/maxima_lib.py in <module>()
23 > 78 ## i.e. loading it into ECL
24 >
25 > 79 ecl_eval("(setf *load-verbose* NIL)")
26 > ---> 80 ecl_eval("(require 'maxima)")
27 > 81 ecl_eval("(in-package :maxima)")
28 > 82 ecl_eval("(setq $nolabels t))")
29 >
30 > /usr/lib64/python2.7/site-packages/sage/libs/ecl.so in sage.libs.ecl.ecl_eval (sage/libs/ecl.c:7042)()
31 >
32 > /usr/lib64/python2.7/site-packages/sage/libs/ecl.so in sage.libs.ecl.ecl_eval (sage/libs/ecl.c:6979)()
33 >
34 > /usr/lib64/python2.7/site-packages/sage/libs/ecl.so in sage.libs.ecl.ecl_safe_eval (sage/libs/ecl.c:2817)()
35 >
36 > RuntimeError: ECL says: In function SYMBOL-PLIST, the value of the first argument is
37 > "{"
38 > which is not of the expected type SYMBOL
39 > ------------------------------------------------------------------------------------
40 >
41 > As a shot into the dark I tried to rebuild ecls and maxima, but maxima fails now:
42 >
43 > --------------------------------------------------------------------------------------
44 > An error occurred during initialization:
45 > Unable to execute:
46 > (RUN-PROGRAM "x86_64-pc-linux-gnu-gcc" ("-I." "-I/usr/include/" "-D_GNU_SOURCE"
47 > "-D_FILE_OFFSET_BITS=64"
48 > "-march=native" "-O2" "-pipe" "-fPIC"
49 > "-D_THREAD_SAFE" "-Dlinux" "-O2" "-w"
50 > "-c"
51 > "/var/tmp/portage/sci-mathematics/maxima-5.26.0/temp/eclinitd1LQ4m.c"
52 > "-o"
53 > "/var/tmp/portage/sci-mathematics/maxima-5.26.0/temp/eclinitd1LQ4m.o")).
54 > make[1]: *** [binary-ecl/maxima] Error 1
55 > make[1]: Leaving directory `/var/tmp/portage/sci-mathematics/maxima-5.26.0/work/maxima-5.26.0/src'
56 > make: *** [all-recursive] Error 1
57 > emake failed
58 > ------------------------------------------------------------------------------------
59 >
60 > Is this known? Do you want a bugs.g.o report?
61 >
62 > Thanks,
63 > Thomas
64 >
65 >
66 > --
67 > Thomas Kahle
68 > http://dev.gentoo.org/~tomka/
69
70
71
72 --
73 Thomas Kahle
74 http://dev.gentoo.org/~tomka/

Attachments

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

Replies

Subject Author
Re: [gentoo-science] Sage, ecls, maxima Francois Bissey <fbissey@××××××××××××.nz>
Re: [gentoo-science] Sage, ecls, maxima Steven Trogdon <strogdon@×××××.edu>