affine problem



Hi,

on windows using maxima with gcl I need to create binary-gcl
subdirectory in share/affine before I can load affine. Try creating
/usr/share/maxima/5.9.2/share/affine/binary-gcl/ directory and then
load affine. Maybe you will have to load it as root for the first time
because some files will be written to binary-gcl/ directory.

HTH,
Andrej

On 2/22/06, Paul Van Allsburg <vanallsburg at hope.edu> wrote:
> I just installed maxima/5.9.2 on Linux Fedora Core 4 machine and I can't
>   get affine statements to work.
>
> I found a reference to a load(affine); statement in the mail history at
> http://sourceforge.net/tracker/?group_id=4933&atid=104933&func=detail&aid=1349855
> but I am still unable to make any progress.
>
> I changed /usr/share/maxima/5.9.2/share/affine/affine.lisp per the post
> above to be:
>
> (in-package "MAXIMA")
> (defvar *maxima-affinedir*
>    (combine-path (list *maxima-sharedir* "affine")))
> (load (combine-path
>         (list *maxima-affinedir* "affine.system")))
> (mk:oos "affine" :compile)
>
> and removed (:file "sloop") reference in affine.system
>
> ;;; -*- Mode:Lisp; Package:CL-MAXIMA; Syntax:COMMON-LISP; Base:10 -*-;;;
>
> (in-package "MAXIMA")
>
> (defvar *maxima-affinedir*
>    (combine-path (list *maxima-sharedir* "affine")))
>
> (mk:defsystem "affine"
>      :source-extension "lisp"
>      :binary-pathname (combine-path
>                        (list *maxima-affinedir*
>                              (concatenate 'string
>                                           "binary-" *maxima-lispname*)))
>      :components ((:file "sys-declaim" :load-only t)
>                   (:file "sloop")
>                   (:file "compat")       ;new
>                   (:file "amacros")
>                   (:file "dummy-gc")
>
> when I start maxima and load(affine); it bombs with:
>
> vanallp at fischer affine]$ maxima
> Maxima 5.9.2 http://maxima.sourceforge.net
> Using Lisp GNU Common Lisp (GCL) GCL 2.6.7 (aka GCL)
> Distributed under the GNU Public License. See the file COPYING.
> Dedicated to the memory of William Schelter.
> This is a development version of Maxima. The function bug_report()
> provides bug reporting information.
> (%i1) load(affine);
>
> Loading /usr/share/maxima/5.9.2/share/affine/sys-declaim.lisp
> Finished loading /usr/share/maxima/5.9.2/share/affine/sys-declaim.lisp
> Compiling /usr/share/maxima/5.9.2/share/affine/compat.lisp.
> Load failed for /usr/share/maxima/5.9.2/share/affine/affine.lisp
>   -- an error.  Quitting.  To debug this try debugmode(true);
> (%i2)
>
> Did I take a wrong turn somewhere?
> Thanks,
> Paul
>
> --
> Paul Van Allsburg
> Computational Science & Modeling Facilitator
> Natural Sciences Division,  Hope College
> 35 East 12th Street
> Holland, Michigan 49423
> 616-395-7292
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>