The new version of maxima, 5.9.2, is out on sourceforge, but we're still back at 5.9.0 on fink. I don't know the
mysteries of fink packaging, so can't help upgrade properly, but I have it working using fink's texmacs (1.0.5-10,
unstable tree) and clisp-maxima (2.29-12). Here, at your own risk,  are the steps that worked for me; not recommended
if you're not at least slightly used to Unix.

You need: clisp-maxima & texmacs, versions as per above. Here's more detail on the clisp version.

maxima-5.9.2 $ clisp-maxima --version
GNU CLISP 2.29 (released 2002-07-25) (built 3335616247) (memory 3335616783)

get the source tarball from:
    http://prdownloads.sourceforge.net/maxima/maxima-5.9.2.tar.gz?download
in a terminal window, having put the tarball in your favourite  hacking directory.
    $ gunzip maxima-5.9.2.tar.gz
    $ tar xvf maxima-5.9.2.tar
    $ cd maxima-5.9.2
    $ ./configure --with-clisp=clisp-maxima
    $ make
    $ sudo make install
        for which you need an admin password. 

        You can install in your home directory instead using
            $ ./configure --prefix=your/directory/goes/here --with-clisp=clisp-maxima 
        back at the .configure step.

At this point maxima should be working. Test for version is
    $ /usr/local/bin/maxima --version
    Maxima 5.9.2

xmaxima should also be working (assuming you have X windows up and running). I ran the test suite
(xmaxima Maxima/Run Tests) and they all passed. On the other hand, clicking on demo lines in the
tutorial doesn't do anything; I had to cut-and-paste lines from the example.

To get texmacs to inline maxima 5.9.2 sessions you also need surgery on the file
/sw/share/TeXmacs/plugins/maxima/lisp/texmacs-maxima-5.9.2.lisp
Make a backup copy. You have to do ecit as an admin, using sudo as before:

 $ sudo vi texmacs-maxima-5.9.2.lisp 
    (remove 3 lines near the beginning & last 2 as described below)

$ texmacs 
    Insert/session/default should now work, though I have only done trivial tests so far.

    regards
        ws

Begin forwarded message:

From: Martin Snelgrove <[EMAIL PROTECTED]>
Date: October 7, 2005 16.35.31 EDT (CA)
Subject: maxima 5.9.1 under TeXmacs on Tiger (Mac OS X 10.4) - how to


The standard Fink version of maxima is 5.9.0, but 5.9.1 is prettier and better under TeXmacs.
The sf.net source distribution of maxima 5.9.1 seems to work fine on its own for me, though I
did fool around to make it use clisp-maxima (2.29 with patch)  so that the EOPNOTSUPP bug wouldn't bite me.

I still had a problem, though: it complained that file
/sw/share/TeXmacs/plugins/maxima/lisp/texmacs-maxima-5.9.1.lisp was playing with a nonexistent
variable *suppress-check-redefinition*. The lines in question seem to be

#+clisp (defvar *old-suppress-check-redefinition*
              custom:*suppress-check-redefinition*)
#+clisp (setf custom:*suppress-check-redefinition* t)

at the top,  and

#+clisp (setf custom:*suppress-check-redefinition*
              *old-suppress-check-redefinition*)

at the bottom of said file.

I threw them out, and now maxima 5.9.1 seems to work fine for me under TeXmacs 1.0.5.9.

    regards
        ws


Reply via email to