todo for beta 2



>>>>> "Vadim" == Vadim V Zhytnikov <vvzhy@mail.ru> writes:

    Vadim> Raymond Toy writes:

    >>>>>>> "James" == James Amundson <amundson@users.sourceforge.net> writes:
    James> Everyone,
    James> Here is what I would like to see done for the second beta release of
    James> 5.9.1:
    James> 2) Fix for CMUCL bug reported by Vadim V. Zhytnikov.
    James> -This can't be too difficult. I should probably be the
    >> one to do
    James> it.
    >> Which bug is this?
    >> 

    Vadim> Plaese, take a look at

    Vadim> http://www.math.utexas.edu/pipermail/maxima/2004/007230.html
    Vadim> http://www.math.utexas.edu/pipermail/maxima/2004/007584.html

Let me see if I understand the issue.

In the first message, you say you only enabled gcl, and then try to
run maxima with cmucl.  Is that expected to work?  I don't expect it
too.

I guess it comes from not having configure define CMUCL_RUNTIME so
maxima.in gets converted to something that has the wrong path for
cmucl.

A fix for maxima.in could be to replace 


    elif [ "$MAXIMA_LISP" = "cmucl" ]; then
        if [ "$layout_autotools" = "true" ]; then
            exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/@CMUCL_RUNTIME@" -quiet -core "$maxima_image_base.core" -eval '(user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
        else
            exec "@CMUCL_NAME@" -quiet -core "$maxima_image_base.core" -eval '(user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
        fi

with something like

    elif [ "$MAXIMA_LISP" = "cmucl" && -f "$maxima_image_base.core" ]; then
        if [ "$layout_autotools" = "true" && "CMUCL_RUN]; then
            exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/@CMUCL_RUNTIME@" -quiet -core "$maxima_image_base.core" -eval '(user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
        else
            exec "@CMUCL_NAME@" -quiet -core "$maxima_image_base.core" -eval '(user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
        fi

so we check the existence of the core file.

Or we could be fancier and check for the existence of the core file
and give a message saying maxima not built/installed with that lisp.

Do I understand the issue correctly?

Ray