From: Julian St.
Subject: Zebu + SBCL/ASDF issues
Date: 
Message-ID: <86wucbfiiq.fsf@jmmr.no-ip.com>
Hello,

I just downloaded http://constantly.at/zebu-3.5.5-asdf.tgz and tried
to load it on SBCL 0.8.1 via ASDF. A problem with the package
definition is solved by the following patch (if anyone's interested):

>>
--- ../zebu-orig/zebu-package.lisp      Sun Sep 14 17:53:44 2003
+++ zebu-package.lisp   Sun Sep 14 17:57:09 2003
@@ -46,6 +46,7 @@
     #+MCL   (:use "COMMON-LISP" "CCL")
     #+KCL   (:use "LISP")
     #+ALLEGRO (:use "COMMON-LISP" "EXCL")
+    #-(or LUCID MCL KCL ALLEGRO) (:use "COMMON-LISP")
     
 ;;; 2000-03-25 by ·········@ist.tu-graz.ac.at:
 ;;;   Defined in this file / package instead, see below
<<

But there a still two issues I am until now unable to resolve:

1. debugger invoked on condition of type SB-EXT:DEFCONSTANT-UNEQL:
       The constant *VARS-TO-USE* is being redefined

Obviously zebu-generator.lisp is loaded twice, but this only annoying
since one can continue the build process.

2. debugger invoked on condition of type SIMPLE-ERROR:
File not found: #P"/usr/home/blitz/src/zebu-3.5.5/sbclfasl/zebu-mg.tab"

The cause is the code in zebu-compile-mg.lisp:

>>
(in-package #:ZEBU)

(eval-when (:compile-toplevel)
  (ignore-errors
    (delete-file (merge-pathnames "zebu-mg.tab" *compile-file-truename*))
    (delete-file (merge-pathnames "zmg-dom.lisp" *compile-file-truename*)))
  (zebu-compile-file
   (merge-pathnames "zebu-mg.zb" *compile-file-truename*)))


(eval-when (:load-toplevel)
  (zebu-load-file
   (merge-pathnames "zebu-mg.tab" *load-truename*)))
<<

zebu-compile-file writes its output to zebu-3.5.5/zebu-mg.tab and
zebu-load-file tries to load it from zebu-3.5.5/sbclfasl/zebu-mg.tab.

Is there anyway to get this working without manual intervention? Any
hints are appreciated, too, since my insight into ASDF is quite
limited.

Regards,
Julian
-- 
       I won't rise to the occasion, but I'll slide over to it.