Stats

Popular Posts

Followers

Running wxMaxima with Maxima under Macbook

養花種魚數月亮賞星星 於 2007年11月16日星期五 上午11:22 發表



Here is the list of what we are going to install:

maxima, clisp, AquaTerm, gnuplot, wxmac28, wxmaxima

1. Download clisp from http://clisp.sourceforge.net/
./configure ; make;
sudo make install

2. Download maxima from http://maxima.sourceforge.net/
./configure ; make;
sudo make install

The maxima command is installed in /usr/local/bin.

AquaTerm is a Mac OS X grahics renderer. It allows command line applications written in ObjC, C, FORTRAN, Lisp, Perl or Python to display vector graphics, text and images using a simple API. Adapters for gnuplot, PGPLOT, and PLplot exists as well.

3. Download AquaTerm from http://aquaterm.sf.net/
./configure ; make;
sudo make install

4. Download gnuplot from http://www.gnuplot.info/
Now compile gnuplot 4.2 from source.
./configure ; make;
sudo make install

The gnuplot command is installed in /usr/local/bin.

wxMaxima is a cross platform GUI for the computer algebra system maxima based on wxWidgets.

5. Download wxmac28 from http://www.wxwidgets.org/downloads/
./configure ; make;
sudo make install

6. Download wxmaxima from http://wxmaxima.sourceforge.net/

./configure --with-wx-config=/usr/bin/wx-config --with-xml-prefix=/usr --enable-unicode-glyphs --enable-printing --enable-dnd --disable-dependency-tracking

make wxMaxima.app

mv wxMaxima.app/Contents/MacOS/wxmaxima wxMaxima.app/Contents/MacOS/wxmaxima.bin

Now, you can find wxMaxima.app in the directory and click it to start. Add the following in the file ~/.maxima/maxima-init.mac for plot2d, plot3d, draw2d and draw3d to work with AquaTerm.

gnuplot_command:sconcat("/usr/local/bin/gnuplot")$
draw_command:sconcat("/usr/local/bin/gnuplot")$
set_plot_option([gnuplot_term, aqua])$
set_plot_option([gnuplot_pipes_term, aqua])$

Enjoy! Tags:

讀者回應 ( 1 意見 )

bonjour,

i have some problems
Configure findings:
FFI: no (user requested: default)
readline: no (user requested: default)
libsigsegv: no, consider installing GNU libsigsegv
./configure: libsigsegv was not detected, thus some features, such as
generational garbage collection and
stack overflow detection in interpreted Lisp code
cannot be provided.
Please do this:
mkdir tools; cd tools; prefix=`pwd`/i386-apple-darwin9.1.0
wget http://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-2.5.tar.gz
tar xfz libsigsegv-2.5.tar.gz
cd libsigsegv-2.5
./configure --prefix=${prefix} && make && make check && make install
cd ../..
./configure --with-libsigsegv-prefix=${prefix}
If you insist on building without libsigsegv, please pass
--ignore-absence-of-libsigsegv
to this script:
./configure --ignore-absence-of-libsigsegv
make: *** No targets specified and no makefile found. Stop.

on a macbook with leopard

jean-pierre
http//mathazay.free.fr/spip

發佈留言

Please leave your name and tell me what you thought about this site. Comments, suggestions and views are welcomed.

如果這篇文章對你有幫助,那請留個訊息給我~