build_info fails in ECL + Maxima (unbound *MAXIMA-BUILD-TIME*)
Subject: build_info fails in ECL + Maxima (unbound *MAXIMA-BUILD-TIME*)
From: Andrej Vodopivec
Date: Fri, 15 Aug 2008 09:13:50 +0200
2008/8/13 Robert Dodier <robert.dodier at gmail.com>:
> 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 we can define *maxima-build-time* in cl-init.lisp for ecl with
#+ecl (defvar cl-user::*maxima-build-time* '#.(multiple-value-list
(get-decoded-time)))
--
Andrej