Fix for Scigraph build error - Lisp Propulsion Laboratory log

Lisp Propulsion Laboratory log

Paolo Amoroso's weblog. Main interests: Lisp, astronomy (Moon), space exploration (Apollo and early manned programs) Calendar of past entries | Related links xml

Fix for Scigraph build error

Friday, September 3, 2004

The current McCLIM CVS sources of Scigraph generate a package lock error during compilation or loading with recent versions of CMUCL, I think the 19a prerelease and release series. It is caused by a conflict with the cl:variable symbol. The problem can be fixed by editing the file Apps/Scigraph/scigraph/package.lisp in the McCLIM source distribution. Change the form:

(eval-when (compile load eval)
  (defpackage GRAPH
    #-allegro (:nicknames gr)           ; "GR" names something already.
    #+allegro (:shadow variable)        ; shouldn't be inherited but is
    #+MCL     (:shadow copy)
    (:use dwim-lisp tool statistics)))
to this, which unconditionally shadows variable:
(eval-when (compile load eval)
  (defpackage GRAPH
    #-allegro (:nicknames gr)           ; "GR" names something already.
    (:shadow variable)                  ; shouldn't be inherited but is
    #+MCL     (:shadow copy)
    (:use dwim-lisp tool statistics)))


Copyright © 2004 by Paolo Amoroso
amoroso@mclink.it

Created with BlogMax

September 2004
Mon Tue Wed Thu Fri Sat Sun
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
Aug  Oct
About Lisp | Practical Common Lisp (learn Lisp) | Planet Lisp (blog agregator) | Common Lisp Directory (software and resources) | Why Lisp?