Some success! I just did as Robert suggested namely this (see below) - and up comes Maxima in ACL on WIndows!
Here is the complete interaction from starting ACL:
CG version 9.0 / IDE version 9.0
Loaded options from C:\Users\martinm\Documents\allegro-prefs-9-0.cl.

;; Optimization settings: safety 1, space 1, speed 1, debug 2.
;; For a complete description of all compiler switches given the current optimization settings evaluate (explain-compiler-settings).
;;---
;; Current reader case mode: :case-sensitive-lower

[changing package from "common-lisp-user" to "common-graphics-user"]
cg-user(1): :cd c:/maxima-5.33.0/src
c:\maxima-5.33.0\src\
cg-user(2): (require :asdf)
; Fast loading C:\acl90.64\code\asdf.003
;;; Installing asdf patch, version 3.
t
cg-user(3): (setf asdf/find-system:*central-registry* '(*default-pathname-defaults*))
(*default-pathname-defaults*)
cg-user(4): (asdf:disable-output-translations)
((t t) (#P"C:\\Users\\martinm\\AppData\\Local\\common-lisp\\cache\\acl-9.0m-win-x64\\**\\*.*" t)
 (t #P"C:\\Users\\martinm\\AppData\\Local\\common-lisp\\cache\\acl-9.0m-win-x64\\**\\*.*"))
cg-user(5): (asdf::load-system :maxima)

[ omit many lines of warnings etc...]

Warning: While compiling these undefined functions were referenced:
         maxima::invert-by-lu-with-determinant from character position 431 in c:\maxima-5.33.0\src\invert.lisp
         maxima::mdescribe from character position 930 in c:\maxima-5.33.0\src\option.lisp
         maxima::swap-rows from character position 5029 in c:\maxima-5.33.0\src\spgcd.lisp
         maxima::pdiffer1 from character position 13861 in c:\maxima-5.33.0\src\ratout.lisp
         maxima::pplus1 from character position 13861 in c:\maxima-5.33.0\src\ratout.lisp
         maxima::hostent-name from character position 1414 in c:\maxima-5.33.0\src\server.lisp
         maxima::resolve-host-ipaddr from character position 1414 in c:\maxima-5.33.0\src\server.lisp
         slatec:dqagp from character position 8710 in c:\maxima-5.33.0\src\numerical\slatec\quadpack.lisp
         maxima::diff-hypergeometric from character position 19620 in c:\maxima-5.33.0\src\comm.lisp
         maxima::sdiffgrad-pdiff from character position 19620 in c:\maxima-5.33.0\src\comm.lisp
t
cg-user(6): (run)
Warning: Maxima is unable to set up the help system.
(Details: CL-INFO::LOAD-PRIMARY-INDEX: "/usr/local/share/info/./maxima-index.lisp"
                                       does
                                       not
                                       exist,
                                       cannot
                                       load)

Maxima 5.33.0 http://maxima.sourceforge.net
using Lisp International Allegro CL Enterprise Edition 9.0 [64-bit Windows] (Jul 31, 2014 11:54)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.

(%i6) eq1: A = B + C;
(%o6)                              A = C + B
(%i7) solve(%,B);
(%o7)                             [B = A - C]
I don't seem able to exit, but I just go to "View" > "Processes" and Abort "Listener 1" which kicks me back to LISP.
I will now start hacking and see what I can learn ... I will no doubt have more questions from time to time.
(such as how to call for maxima functionality from within LISP - but let me have a hack at it for a while )

Thanks all...
Martin M

On 8/12/2014 3:49 PM, Rupert Swarbrick wrote:
Martin Mallinson <martin@mallinson.homeip.net> writes:
Can anyone help out here?
I followed the general outline in Richard Fateman's note
http://comments.gmane.org/gmane.comp.mathematics.maxima.general/40905
and I get an error: the chaps at Allegro suggest it relates rather to
ASDF (about which I know very little indeed) or maxima somewhere.
Any tips appreciated - my guess is this is a trivial problem I just dont
know where to start...
Hi there!

Firstly, this isn't a well-trodden route. We build all of our Maxima
releases using the Makefiles to drive everything. This works with
Allegro on Linux (or it did 6 months ago, when I last checked). Of
course, Makefiles and general POSIX-ness don't go too well with Windows,
so it makes sense to try what you're doing.

cg-user(1): :cd c:/maxima-5.33.0/src
c:\maxima-5.33.0\src\
cg-user(2): (require :asdf)
; Fast loading C:\acl90.64\code\asdf.003
;;; Installing asdf patch, version 3.
t
cg-user(3): (setf asdf/find-system:*central-registry* '(*default-pathname-defaults*))
(*default-pathname-defaults*)
cg-user(4): (asdf::load-system :maxima)
; Loading c:\maxima-5.33.0\src\maxima.asd
Error:
#P"C:\\Users\\martinm\\AppData\\Local\\common-lisp\\cache\\acl-9.0m-win-x64\\C\\maxima-5.33.0\\src\\binary-ecl\\maxima-package.fasl"
does not exist, cannot
       load
[condition type: file-does-not-exist-error]
Ah, well this looks weird. When we build Maxima, we stick the fasls in
src/binary-<foo> where <foo> is derived from the name of the lisp. For
Allegro, that would be acl. Looking at src/maxima.asd, it is indeed
hard-coded to "binary-ecl", which is the first problem. Also, I suspect
that the directory doesn't exist. And it looks like something's gone
horribly wrong with the (not) absolute pathnames: not sure whether
that's Allegro's fault or ours.

What I'd do is try to run through the Makefile "by hand". After all, we
sort of know that works. If you look in the src directory you'll find a
file called Makefile.am. The bit you want starts at line 223. If I can
parse the Makefile properly (some of which I wrote), then it says:

  (1) Make the src/binary-acl dir (that's the "bd" stuff)
  (2) Run ACL and evaluate

         (load "$(top_srcdir)/lisp-utils/defsystem.lisp")

      then

         (mk:operate-on-system "maxima" :compile :verbose t)

      (you'll need to fill in $(top_srcdir) here of course). This and
      the following lisp code should be run from the src directory.

  (3) Exit ACL
  (4) Start ACL again (not sure why this matters...)
  (5) Evaluate

         (load "$(top_srcdir)/lisp-utils/defsystem.lisp")

      then

         (mk:operate-on-system "maxima" :load :verbose t)

      then

         (excl:dumplisp :name "binary-acl/maxima.dxl")

  (6) With a bit (a lot?) of luck, everything will work...



Rupert


------------------------------------------------------------------------------


_______________________________________________
Maxima-discuss mailing list
Maxima-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/maxima-discuss