Update: The maxima-5.26 build failure is only with ecls-12.2.1, downgrading to ecls-11 or upgading to ecls-12.2.7 makes maxima compile again and then recompiling sage makes my original problem go away. So this is just a compile failure of maxima against ecls-12.2.1. Maybe the package.keywords file that comes with sage should avoid this particular version?
Cheers,
Thomas
On 15:42 Wed 10 Oct 2012, Thomas Kahle wrote:
> 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/
--
Thomas Kahle
http://dev.gentoo.org/~tomka/
signature.asc
Description: Digital signature
