#8645: maxima package fails to install ECL library
------------------------+---------------------------------------------------
   Reporter:  burcin    |       Owner:  tbd        
       Type:  defect    |      Status:  new        
   Priority:  minor     |   Milestone:  sage-4.4   
  Component:  packages  |    Keywords:  maxima, ecl
     Author:            |    Upstream:  N/A        
   Reviewer:            |      Merged:             
Work_issues:            |  
------------------------+---------------------------------------------------

Comment(by nbruin):

 This may be of some help. I tried building with ECL 10.4.1. As announced
 in
 http://groups.google.com/group/sage-
 devel/browse_thread/thread/e094589b2d99be8a/ab26bd29b3a8990a
 we need a patch (attached there) to Maxima 5.20.1 to let it build.

 The following instruction *should* do the trick
 {{{
 (require 'asdf)
 (load "maxima-build.lisp")
 (asdf:make-build :maxima :type :fasl :move-here ".")
 }}}
 but for me they lead to an error
 {{{
 Cannot rename the file #P"/home/nbruin/.cache/common-
 
lisp/ecl-10.4.1-linux-x86-64/usr/local/sage/4.3.4/spkg/build/maxima-5.20.1/src/src/maxima.fasb"
 to #P"/usr/local/sage/4.3.4/spkg/build/maxima-5.20.1/src/src/maxima.fasb".
 Explanation: Invalid cross-device link.
 }}}
 This error message indicates:
  * that ECL is trying to do exactly the right thing
  * that it's trying to do the move with a hard link, which it shouldn't
 try. That's a straightforward error, which will probably be fixed in ECL
 10.4.2.

 So my guess is that this issue should be fixable quite soon by upgrading.

 Oh, and the line
 {{{
 cp maxima.fasb $ECLLIB/maxima.fas
 }}}
 should be changed to
 {{{
 cp maxima.fasb $ECLLIB || echo "Failed to build maxima.fasb"; exit 1
 }}}
 so that errors like this get caught next time and because ECL 10.4
 supposedly natively recognizes .fasb files.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8645#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