Build Maxima with ECL or other pure Win32 alternative
Subject: Build Maxima with ECL or other pure Win32 alternative
From: Blair Sutton
Date: Tue, 19 May 2009 08:20:01 +0100
On Tue, May 19, 2009 at 4:21 AM, Robert Dodier <robert.dodier at gmail.com>wrote:
> On 5/18/09, Blair Sutton <blairuk at googlemail.com> wrote:
>
> > I have tried following the instructions in INSTALL.lisp but had little
> > success.
>
> Can you be more specific?
Yes, here is a transcript of my session. I built and installed my ecl
executable into C:\SAGE-W~4\download\ecl-test\ in what follows. Furthermore,
I did try first using Window's long path names.
<START TRANSCRIPT>
C:\SAGE-W~4\download\MAXIMA~1.1>..\ecl-test\ecl
ECL (Embeddable Common-Lisp) 9.4.1
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help. Top level.
> (load "configure.lisp")
;;; Loading "C:/SAGE-W~4/download/MAXIMA~1.1/configure.lisp"
#P"C:/SAGE-W~4/download/MAXIMA~1.1/configure.lisp"
> (configure)
Enter the Maxima directory [C:/SAGE-W~4/download/MAXIMA~1.1/.]:
Is this a Windows system? (true/false) [false]:
true
Posix shell (optional) [/bin/sh]:
Name of the Clisp executable (optional) [clisp]:
Name of the CMUCL executable (optional) [lisp]:
Name of the SCL executable (optional) [lisp]:
Name of the Allegro executable (optional) [acl]:
Name of the OpenMCL executable (optional) [mcl]:
Name of the ECL executable (optional) [ecl]:
Name of the SBCL executable (optional) [sbcl]:
Created maxima-local
Created src/maxima
Created src/maxima.bat
Created src/autoconf-variables.lisp
("maxima-local.in" "src/maxima.in" "src/maxima.bat.in"
"src/autoconf-variables.lisp.in")
> (quit)
C:\SAGE-W~4\download\MAXIMA~1.1>cd src
C:\SAGE-W~4\download\MAXIMA~1.1\src>..\..\ecl-test\ecl
ECL (Embeddable Common-Lisp) 9.4.1
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help. Top level.
> (load "maxima-build.lisp")
;;; Loading "C:/SAGE-W~4/download/MAXIMA~1.1/src/maxima-build.lisp"
;;; Loading
"C:/SAGE-W~4/download/MAXIMA~1.1/src/../lisp-utils/defsystem.lisp"
Filesystem error with pathname #P"SYS:cmp.NEWEST".
Either
1) the file does not exist, or
2) we are not allow to access the file, or
3) the pathname points to a broken symbolic link.
Broken at SI:BYTECODES.No restarts available.
Broken at SI:BYTECODES. File:
#P"C:/SAGE-W~4/download/MAXIMA~1.1/lisp-utils/defsystem.lisp" (Form #28)
MAKE>>
</START TRANSCRIPT>
>
>
> > I was wondering if anyone has had any success compiling Maxima using ECL
> on
> > Windows using the pure Lisp build system. If so, did they use 5.18.1
> sources
> > or a CVS branch/HEAD?
>
> I've compiled Maxima via the instructions in INSTALL.lisp using Clisp
> on Windows; that was a couple of years ago. More recently, I've used
> the INSTALL.lisp method with ECL (iirc) on Linux. I've also used the
> following formula with ABCL on Windows and Linux; I would guess
> that it works for any Lisp which has ASDF. I might have tried it with ECL.
>
> (require 'asdf)
> (asdf:operate 'asdf:load-op :maxima)
>
I will try this.
>
> I think you'll want to try build from the tar.gz since there is some
> configuration stuff which is not present in CVS but is generated
> automatically by the autoconf stuff which builds the tarball.
>
> From where did you get your ECL binary? Looks like they don't
> have binaries on the SF download page.
>
I built and compiled it from their website. You are correct they do not
offer binaries.
>
> By the way I saw this in their news update: "new module, BYTECMP,
> which implements bytecodes compilations. By configuring this module
> as a built-in part of ECL (--with-bytecmp=builtin) you will be able to
> ship ECL to places that lack a C compiler, while still being able to
> use COMPILE and COMPILE-FILE." Maybe that has some bearing
> on Windows installations.
>
Yes, this looks interesting too. I will also try this.
>
> hope this helps,
>
It does. Thank you very much.