#7186: maxima update #6699 introduced hard-coded paths, unable to start maxima
---------------------------+------------------------------------------------
   Reporter:  GeorgSWeber  |       Owner:  tbd       
       Type:  defect       |      Status:  new       
   Priority:  blocker      |   Milestone:  sage-4.1.2
  Component:  build        |    Keywords:            
Work_issues:               |      Author:            
   Reviewer:               |      Merged:            
---------------------------+------------------------------------------------

Comment(by GeorgSWeber):

 Almost, there's more than meets the eye.

 If I do the "cd $SAGE_LOCAL/lib/ && rm -f ecl && ln -s ecl-* ecl" command
 and add the following after line 123 in $SAGE_ROOT/local/bin/maxima (which
 one should patch in maxima_spkg/src/src/maxima.in by maxima's "spkg-
 install"):
 {{{
 if [ -n "$MAXIMA_PREFIX" ]; then
   ECLDIR="$MAXIMA_PREFIX"/lib/ecl/
 else
   ECLDIR="$libdir"/ecl/
 fi
 export ECLDIR
 }}}
 (do mind the slash at the end of the variables, for me, it does seem to be
 worse without), then on one test installation it works. On the other I get
 (and Sage doesn't work either):
 {{{
 computer:/Users/Shared/sage/test/sage-4.1.2.alpha4 georgweber$ maxima
 ;;; Loading
 #P"/Users/Shared/sage/test/sage-4.1.2.alpha4/local/lib/ecl/DEFSYSTEM.fas"
 ;;; Loading
 #P"/Users/Shared/sage/test/sage-4.1.2.alpha4/local/lib/ecl/cmp.fas"
 ;;; Loading
 #P"/Users/Shared/sage/test/sage-4.1.2.alpha4/local/lib/ecl/sysfun.lsp"
 Maxima encountered a Lisp error:

  NIL is not of type (OR FILE-STREAM STRING PATHNAME).

 Automatically continuing.
 To reenable the Lisp debugger set *debugger-hook* to nil.
 computer:/Users/Shared/sage/test/sage-4.1.2.alpha4 georgweber$
 }}}
 If the slash (remark in parenthese above) is missing, the same error
 message occurs, but without the three lines beginning with ";;;".

 The "working installation" is the one with Sage-4.1.2.rc0 and ecl replaced
 by ecl-9.4.1; the "non-working installation" is Sage-4.1.2.alpha4 (with
 the current maxima and ecl spkgs). I don't know yet what exactly makes the
 difference. Next I'll try with Sage-4.1.2.rc0 "vanilla".

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