Compiling and installing Maxima.



On Sat, 2009-12-05 at 15:48 +0200, Constantine Frangos wrote:

> (2) I want to unpack maxima in /home/apps/maxima5.xx, compile specifically 
> with cmucl as default and possibly also with other lisps, and then install in 
> /home/apps/maxima5.xxinst.
> 
> (3) I have installed cmucl 19d under /home/apps/cmucl  but am not sure how to 
> make the file /home/apps/cmucl/bin/lisp accessible for the compilation, 
> etc ??
Hi Constantine,

Try this (assuming you already have autoconf, automake, make and
texinfo).

Get the 5.19.2 tarball from:

http://sourceforge.net/projects/maxima/files/Maxima-source/5.19.2-source/maxima-5.19-2.tar.gz/download

Unpack it with
 tar xvzf maxima-5.19-2.tar.gz

That will create a directory named maxima-5.19.2. Move it to the
directory you want:
 mv maxima-5.19.2 /home/apps/maxima5.19

Enter that directory and build the Makefile files with:
   ./configure --prefix=/home/apps/maxima5.19inst
--with-cmucl=/home/apps/cmucl/bin/lisp

(You should create the directory /home/apps/maxima5.19inst. If you can
currently execute cmucl by simply typing lisp, you can then omit the
path and name for cmucl and simply write --with-cmucl)

Build Maxima with
 make
and install it
 make install

Regards,
Jaime