build_info fails in ECL + Maxima (unbound *MAXIMA-BUILD-TIME*)
Subject: build_info fails in ECL + Maxima (unbound *MAXIMA-BUILD-TIME*)
From: Raymond Toy (RT/EUS)
Date: Wed, 13 Aug 2008 11:34:52 -0400
Robert Dodier wrote:
> Hello,
>
> I am trying Maxima 5.16.1 compiled by ECL.
> The only problem I know about at present is this:
>
> (%i1) build_info();
>
> Maxima version: 5.16.1
> Maxima encountered a Lisp error:
>
> The variable COMMON-LISP-USER::*MAXIMA-BUILD-TIME* is unbound.
>
> *MAXIMA-BUILD-TIME* is defined in src/maxima.asd.
> I don't know how build_info (which is in src/macsys.lisp or something like that)
> is supposed to get it. Does someone know ?
I think it gets it because the build process dumps a core. The core is
created by loading defsystem.lisp, running oos to load up the system and
dumping the result. Since the core will contain a copy of
maxima.system, it has access to the specified variable.
Ray