[Ecls-list] Trying to compile defsystem

Edi Weitz edi at agharta.de
Thu Nov 14 01:23:01 UTC 2002


Marco Antoniotti <marcoxa at cs.nyu.edu> writes:

> > From: Edi Weitz <edi at agharta.de>
> > Sender: ecls-list-admin at lists.sourceforge.net
> > X-Original-Date: 12 Nov 2002 09:49:37 +0100
> > Date: 12 Nov 2002 09:49:37 +0100
> > X-UIDL: _i(#!N,l!!O,:!!,`'!!
> > 
> > Hi!
> > 
> > I was trying to compile defsystem.lisp from CLOCC with ECL 0.7 but got
> > this error message:
> > 
> >   edi at bird:/tmp/clocc/src/defsystem-3.x > ecl
> >   ECL (Embeddable Common-Lisp) 0.7
> >   Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
> >   Copyright (C) 1993 Giuseppe Attardi
> >   Copyright (C) 2000 Juan J. Garcia-Ripoll
> >           ECL is free software, and you are welcome to redistribute it
> >   under certain conditions; see file 'Copyright' for details.
> >   Type :h for Help.  Top level.
> >   > (compile-file "defsystem.lisp")
> >   ;;; Loading "/usr/local/lib/ecl/cmp.so"
> >   ;;; Compiling defsystem.lisp.
> >   ;;; Compiling (EVAL-WHEN (COMPILE LOAD ...)).
> >   ;;; Compiling (EVAL-WHEN (:COMPILE-TOPLEVEL :LOAD-TOPLEVEL ...) ...).
> >   ;;; Compiling (IF (NOT #) ...).
> >   ;;; The variable *LIBRARY* is undefined.
> >   ;;; The compiler will assume this variable is a global.
> >   ;;; The variable *MODULE-FILES* is undefined.
> >   ;;; The compiler will assume this variable is a global.
> 
> The warnings on *LIBRARY* and *MODULE* file appear also in CMUCL 18d.
> I have not been able to see why.  They do not hurt anyways.
> 
> >   Invalid macro call to IN-PACKAGE.
> >   Broken at COMPILE-FILE.
> 
> This is more serious.  I think the mess comes in the second
> conditionalization (where the pre-cltl2 DEFSYSTEM is trying to muck
> the "LISP" package).
> 
> Try to put a :ecl in the following form (line 857).
> 
> #-(or (and :CMU (not :new-compiler))
>       :vms
>       :mcl
>       :lispworks
>       :clisp
>       :sbcl
>       :cormanlisp
>       :ecl  ; <== New.
>       (and allegro-version>= (version>= 4 1)))
> 
> I do not have ECL installed.  Please let me know asap if this fixes
> things.

No, it doesn't:

  edi at bird:/tmp > ecl
  ECL (Embeddable Common-Lisp) 0.7b
  Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
  Copyright (C) 1993 Giuseppe Attardi
  Copyright (C) 2000 Juan J. Garcia-Ripoll
          ECL is free software, and you are welcome to redistribute it
  under certain conditions; see file 'Copyright' for details.
  Type :h for Help.  Top level.
  > (compile-file "defsystem.lisp")
  ;;; Loading "/usr/local/lib/ecl/cmp.so"
  ;;; Compiling defsystem.lisp.
  ;;; Compiling (EVAL-WHEN (COMPILE LOAD ...)).
  Invalid macro call to IN-PACKAGE.
  Broken at EVAL.

I also tried the patched version Juan José Garcia Ripoll posted at
<http://ecls.sourceforge.net/download.html>. This one compiles but it
didn't get me much further:

  edi at bird:/tmp > ecl
  ECL (Embeddable Common-Lisp) 0.7b
  Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
  Copyright (C) 1993 Giuseppe Attardi
  Copyright (C) 2000 Juan J. Garcia-Ripoll
          ECL is free software, and you are welcome to redistribute it
  under certain conditions; see file 'Copyright' for details.
  Type :h for Help.  Top level.
  > (load "defsystem.so")
  ;;; Loading "defsystem.so"
  ;;; Loading "/usr/local/lib/ecl/cmp.so"
  #P"defsystem.so"
  > mk:*central-registry*
  Cannot find the external symbol *CENTRAL-REGISTRY* in #<"MAKE" package>.
  Top level.
  >> (do-external-symbols (s (find-package "MAKE")) (print s))
  NIL

In both cases I used the CVS version of ECL downloaded after Juans
message yesterday.

Cheers,
Edi.




More information about the ecl-devel mailing list