1 Maxima can be built using a purely Lisp-based procedure.
2 This procedure is not yet as polished as the GNU Autotools system
3 described in the file INSTALL.
4 However
, it may be more convenient on a system
(e.g.
, Windows
)
5 which does not have the GNU Autotools installed.
7 User feedback on this procedure would be greatly appreciated.
9 Note
: xmaxima cannot be built using this procedure.
11 Note
(2): Plotting on Windows does not
(yet) work using this procedure.
16 (0) cd to the top-level Maxima directory
(i.e.
, the directory
17 which contains src
/, tests
/, share
/, and other directories
).
19 (1) Launch your Lisp implementation.
21 (2) Load the file configure.lisp
:
23 (load "configure.lisp")
25 (3) Generate configuration files
:
29 You will be prompted for several inputs.
30 Press carriage return to accept the default values.
32 The configure process can be automated through the use
33 of optional arguments to configure.
34 See the file configure.lisp for details.
40 and cd to the directory src
/.
42 (4.1
) GCL only
: Create these directories if they do not already exist
:
46 binary-gcl
/numerical
/slatec
48 (4.2
) GCL only
: Create an empty sys-proclaim.lisp file
, restart Lisp and do
:
50 (load "generate-sys-proclaim.lisp")
52 Delete the directory binary-gcl and repeat step
(4.1
) before continuing to
55 Maxima builds with defsystem. The file maxima-build.lisp is provided
56 for rudimentary guidance in using defsystem. Experts should feel free
57 to subsitute their knowledge of defsystem for the following steps.
59 (5) Restart Lisp
, and load maxima-build.lisp
:
61 (load "maxima-build.lisp")
63 (6) Compile the Lisp source code
:
67 (7) Quit Lisp
, and restart Lisp.
69 (8) Load the compiled Lisp files
:
71 (load "maxima-build.lisp")
74 (9a) Run Maxima from the loaded image.
78 That should bring up the Maxima input prompt.
80 (9b) Dump the image
, and if the Lisp implementation allows one to
81 specify a start-up function
, specify USER
::RUN.
83 There is a function MAXIMA-DUMP in src
/maxima-build.lisp to dump an image.
84 At present it works for Clisp
, SBCL
, GCL
, CMUCL
, Scieneer
, and Allegro.
85 Reinhard Oldenburg writes
, in reference to Lispworks
:
86 "(maxima-dump) works when threading is disabled."
87 Some Lisp implementations
(SBCL, GCL
, CMUCL
, Scieneer
, maybe others
)
88 terminate after saving the image.
92 (10) Execute the saved image.
94 Each Lisp implementation allows one to specify the name of the
95 image to be executed in a slightly different way.
96 Two scripts
, maxima and maxima.bat
,
97 are provided to specify the command line options appropriately.
99 Unix systems and Windows with Bourne shell
:
106 (Even if Bourne shell is not available on your system
,
107 it is worth looking at the way images are invoked at the end of the script.
)
109 Windows without Bourne shell
:
113 (11) Test the build. At the Maxima prompt
, enter
: