On Tue, 25 Sep 2001 maxima-request@www.ma.utexas.edu wrote:
> Message: 2
> To: maxima@www.ma.utexas.edu
> From: "J. Milgram" <milgramjh at nswccd>
> Reply-to: "J. Milgram" <milgramjh@nswccd.navy.mil>
> Date: Mon, 24 Sep 2001 13:17:31 -0400
> Subject: Compiling on IRIX 6.5
>
> After great success on my Linux box I'm trying to install Maxima on
> our IRIX 6.5 machine. Am having all sorts of trouble getting GCL to
> compile. In lieu of attaching all the error messages I thought I'd
> check first to see if anyone has done this already and has any patches
> to recommend.
I don't know how to compile GCL on IRIX 6.5 (Indigo2, so using n32), but
clisp-2.26 works and has readline functionality. I got this going
by cribbing from my previous Irix 5.3 installation of maxima with
clisp, so I'm not sure if you can bootstrap clisp without a working
interpreter.
Maxima 5.6 can be built using clisp, following hints posted to this
list for MacOS-X, but many things are broken. I did get xmaxima to
run, using the following rather ugly hacks:
1. get the latest CVS version of xmaxima and make sure you it
won't run 'kill -1':
proc CMkill { signal pid } {
global ws_openMath 2.
puts "CMkill: pid=$pid"
if { $pid != -1 } {
if { [info command "winkill"] == "winkill" } {
winkill -pid $pid -signal $signal
} else {
exec $ws_openMath(kill) $signal $pid
}
}
}
2. maxima on clisp lacks :lisp() so you have to use to_lisp:
x-clisp {set ws_openMath(localMaximaServer) "clisp -M \
[file join $ws_openMath(maximaPath) src/maxima-clisp.mem] \
-i [file join $ws_openMath(maximaPath) src/server.lisp] \
-x \"to_lisp(); (progn (user::setup PORT)(values))\" &"
}
3. add a "(run): to src/server.lisp to get back to maxima:
#+clisp (run) ;; return to maxima
This is almost useful. For example, 2D plots work, but 3D plots fail with
the error:
*** - FUNCALL: the function POLYGON-PTS is undefined
> GCL 2.4.0 + gcc 2.95.2 + IRIX 6.5 (+ Maxima 5.6, eventually)
> configuring with --enable-machine=irix6
> (also tried =sgi)
>
> Also, has anyone proposed/considered/rejected/begun work on readline
> support (as in input line editing, history, etc) for the command-line
> interface?
On my SGI system maxima has readline-style line editing/history. I
assume this is inherited from clisp.
--
George N. White III <gnw3@acm.org> Bedford Institute of Oceanography