#7287: [needs review] Update Maxima spkg to build ECL library
---------------------------+------------------------------------------------
   Reporter:  nbruin       |       Owner:  nbruin    
       Type:  enhancement  |      Status:  needs_work
   Priority:  major        |   Milestone:  sage-4.2.1
  Component:  packages     |    Keywords:            
Work_issues:               |      Author:            
   Reviewer:               |      Merged:            
---------------------------+------------------------------------------------
Changes (by kcrisman):

  * status:  needs_review => needs_work


Comment:

 After loading up #6781, I try to sage -f this package.    All seems well
 until the actual build process, which returns a typically enigmatic
 response
 {{{
 Summary:
 ECL enabled. Executable name: "ecl"
 default lisp: ecl
 wish executable name: "wish"
 Now building maxima; this takes a few minutes
 Since we're using OS X and there is a very weird
 bug with buffered output while building maxima,
 you will not be able to see the output of the build
 as it occurs.  Don't worry, the build process did
 not hang.
 ***********************************************************
 Failed to make Maxima.
 ***********************************************************

 real    1m8.617s
 user    0m27.392s
 sys     0m38.775s
 sage: An error occurred while installing maxima-5.19.1.p1
 }}}
 which really, according to spkg-install, just means
 {{{
 check_error "Failed to make Maxima."
 }}}
 Which could be any kind of error.  And oddly,
 {{{
 sage -t  "devel/sage/sage/calculus/calculus.py"
          [18.4 s]

 ----------------------------------------------------------------------
 All tests passed!
 Total time for all tests: 18.4 seconds
 }}}
 So apparently nothing "bad" happens to the current Maxima executable, and
 perhaps this is completely unrelated to the spkg.  However, I get the same
 thing once I try to revert to the previous spkg, and in general even
 removing ecl.so doesn't fix this; Maxima stays working within Sage, but I
 cannot get Maxima to rebuild.  Could this have something to do with #6781?

 So needless to say, I don't think the script gets to the library Maxima,
 and I can't load it:
 {{{
 ----------------------------------------------------------------------
 | Sage Version 4.2, Release Date: 2009-10-24                         |
 | Type notebook() for the GUI, and license() for information.        |
 ----------------------------------------------------------------------
 sage: from sage.libs.ecl import  *
 sage: ecl_eval("(require 'asdf)")
 ;;; Loading #P"/Users/.../sage-4.2/local/lib/ecl/ASDF.fas"
 ;;; Loading #P"/Users/.../sage-4.2/local/lib/ecl/CMP.fas"
 ;;; Loading #P"/Users/.../sage-4.2/local/lib/ecl/sysfun.lsp"
 <ECL: ("ASDF" "CMP")>
 sage: ecl_eval("(require `maxima)")
 ---------------------------------------------------------------------------
 RuntimeError                              Traceback (most recent call
 last)

 /Users/.../sage-4.2/local/lib/python2.6/site-packages/sage/libs/ecl.so in
 ecl.ecl_eval (sage/libs/ecl/ecl.c:5718)()

 /Users/.../sage-4.2/local/lib/python2.6/site-packages/sage/libs/ecl.so in
 ecl.ecl_eval (sage/libs/ecl/ecl.c:5672)()

 /Users/.../sage-4.2/local/lib/python2.6/site-packages/sage/libs/ecl.so in
 ecl.ecl_safe_eval (sage/libs/ecl/ecl.c:2448)()

 RuntimeError: ECL says: Module error: Don't know how to REQUIRE MAXIMA.
 sage: ecl_eval('(load "%s")'%(SAGE_ROOT+"/local/lib/maxima/maxima.fasb"))
 ---------------------------------------------------------------------------
 RuntimeError                              Traceback (most recent call
 last)

 /Users/.../sage-4.2/local/lib/python2.6/site-packages/sage/libs/ecl.so in
 ecl.ecl_eval (sage/libs/ecl/ecl.c:5718)()

 /Users/.../sage-4.2/local/lib/python2.6/site-packages/sage/libs/ecl.so in
 ecl.ecl_eval (sage/libs/ecl/ecl.c:5672)()

 /Users/.../sage-4.2/local/lib/python2.6/site-packages/sage/libs/ecl.so in
 ecl.ecl_safe_eval (sage/libs/ecl/ecl.c:2448)()

 RuntimeError: ECL says: Filesystem error with pathname
 #P"/Users/.../sage-4.2/local/lib/maxima/maxima.fasb".
 Either
  1) the file does not exist, or
  2) we are not allow to access the file, or
  3) the pathname points to a broken symbolic link.
 }}}

 This is on OSX 10.5 Intel.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7287#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to