emacs maxima-mode problem



Hi,

the problem looks as a very strange one

Please look at maxima.el at function maxima-start.
There is no special arguments about lisp version.
On my system I use sbcl and gcl and sbcl is main one. If i want to run gcl version
I change sbcl to gcl at the /usr/bin/maxima script at
.........
     fi
  else
      MAXIMA_IMAGESDIR="$MAXIMA_DEFAULT_IMAGESDIR"
  fi
  MAXIMA_DEFAULT_LISP=sbcl
  # If the the binary directory for the default lisp is not present,
  # choose the first one we find.
  if [ ! -d "$MAXIMA_IMAGESDIR/binary-$MAXIMA_DEFAULT_LISP" ]; then
    MAXIMA_DEFAULT_LISP=`ls -1 $MAXIMA_IMAGESDIR 2>/dev/null | head -n 1 | sed 's/binary-//'`
  fi
  if [ -z "$MAXIMA_LISP" ]; then
    MAXIMA_LISP=$MAXIMA_DEFAULT_LISP
  fi
}
.................

Please look at it on your machine!

 


> On Tue, 13 Jun 2006, jcano wrote:
> 
> > I can not start maxima from emacs using maxima-mode, when I do that I obtain 
> > in
> > the *maxima* buffer
> >
> > /usr/local/bin/maxima: line 120: 
> > /usr/local/lib/maxima/5.9.3/binary-cmucl/lisp: No such file or directory
> > /usr/local/bin/maxima: line 120: exec: 
> > /usr/local/lib/maxima/5.9.3/binary-cmucl/lisp: cannot execute: No such file 
> > or directory
> >
> > I have compiled maxima 5.9.3 with GCL in Linux (Slackware kernel 2.4)
> 
> It looks, from the above pathnames, like Emacs Maxima mode is trying
> to run Maxima under cmucl, rather than, as your system requires, under
> gcl.  So, I guess the key question is: how does one configure which
> lisp the emacs mode uses?
> 
> -- 
> 
> HTH,
> 
> Dan Hatton
> 
> <http://www.bib.hatton.btinternet.co.uk/dan/>;
> 
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima