[Ecls-list] Trying to compile defsystem

Marco Antoniotti marcoxa at cs.nyu.edu
Tue Nov 12 06:47:05 UTC 2002


> 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.

Cheers

-- 
Marco Antoniotti ========================================================
NYU Courant Bioinformatics Group        tel. +1 - 212 - 998 3488
715 Broadway 10th Floor                 fax  +1 - 212 - 995 4122
New York, NY 10003, USA                 http://bioinformatics.cat.nyu.edu
                    "Hello New York! We'll do what we can!"
                           Bill Murray in `Ghostbusters'.




More information about the ecl-devel mailing list