public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
From: Thomas Kahle <tomka@gentoo.org>
To: Gentoo Science <gentoo-science@lists.gentoo.org>
Subject: [gentoo-science] Sage, ecls, maxima
Date: Wed, 10 Oct 2012 15:42:15 -0700	[thread overview]
Message-ID: <20121010224215.GA13813@schlaumatte> (raw)

[-- Attachment #1: Type: text/plain, Size: 2415 bytes --]

Hi,

I'm trying to use sage to do some symbolic algebra, but I get failurs
like this:

------------------------------------------------------------------------------------
/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)()

/usr/lib64/python2.7/site-packages/sage/interfaces/maxima_lib.py in <module>()
     78 ## i.e. loading it into ECL

     79 ecl_eval("(setf *load-verbose* NIL)")
---> 80 ecl_eval("(require 'maxima)")
     81 ecl_eval("(in-package :maxima)")
     82 ecl_eval("(setq $nolabels t))")

/usr/lib64/python2.7/site-packages/sage/libs/ecl.so in sage.libs.ecl.ecl_eval (sage/libs/ecl.c:7042)()

/usr/lib64/python2.7/site-packages/sage/libs/ecl.so in sage.libs.ecl.ecl_eval (sage/libs/ecl.c:6979)()

/usr/lib64/python2.7/site-packages/sage/libs/ecl.so in sage.libs.ecl.ecl_safe_eval (sage/libs/ecl.c:2817)()

RuntimeError: ECL says: In function SYMBOL-PLIST, the value of the first argument is
  "{"
which is not of the expected type SYMBOL
------------------------------------------------------------------------------------

As a shot into the dark I tried to rebuild ecls and maxima, but maxima fails now:

--------------------------------------------------------------------------------------
An error occurred during initialization:
Unable to execute:
(RUN-PROGRAM "x86_64-pc-linux-gnu-gcc" ("-I." "-I/usr/include/" "-D_GNU_SOURCE"
                                        "-D_FILE_OFFSET_BITS=64"
                                        "-march=native" "-O2" "-pipe" "-fPIC"
                                        "-D_THREAD_SAFE" "-Dlinux" "-O2" "-w"
                                        "-c"
                                        "/var/tmp/portage/sci-mathematics/maxima-5.26.0/temp/eclinitd1LQ4m.c"
                                        "-o"
                                        "/var/tmp/portage/sci-mathematics/maxima-5.26.0/temp/eclinitd1LQ4m.o")).
make[1]: *** [binary-ecl/maxima] Error 1
make[1]: Leaving directory `/var/tmp/portage/sci-mathematics/maxima-5.26.0/work/maxima-5.26.0/src'
make: *** [all-recursive] Error 1
emake failed
------------------------------------------------------------------------------------

Is this known?  Do you want a bugs.g.o report?

Thanks,
Thomas


-- 
Thomas Kahle
http://dev.gentoo.org/~tomka/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 316 bytes --]

             reply	other threads:[~2012-10-11  0:02 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-10 22:42 Thomas Kahle [this message]
2012-10-11  0:04 ` [gentoo-science] Sage, ecls, maxima Thomas Kahle
2012-10-11  8:42   ` Francois Bissey
2012-10-11 23:21     ` Thomas Kahle
2012-10-12  1:09       ` Francois Bissey
2012-10-12 21:09         ` Thomas Kahle
2012-10-13  4:46           ` Francois Bissey
2012-10-14 22:24             ` Thomas Kahle
2012-10-11 17:58   ` Steven Trogdon
2012-10-11 18:37     ` Francois Bissey
2012-10-11 23:08       ` Thomas Kahle
2012-10-12  4:18       ` Andrey G. Grozin
2012-10-12  4:16     ` Andrey G. Grozin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121010224215.GA13813@schlaumatte \
    --to=tomka@gentoo.org \
    --cc=gentoo-science@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox