[Ecls-list] Trying to compile defsystem

Marco Antoniotti marcoxa at cs.nyu.edu
Thu Nov 14 07:04:02 UTC 2002


> Sender: edi at bird.agharta.de
> Cc: ecls-list at lists.sourceforge.net
> From: Edi Weitz <edi at agharta.de>
> Date: 14 Nov 2002 10:21:27 +0100
> X-MIME-Autoconverted: from quoted-printable to 8bit by cat.nyu.edu id gAE9Ltqs019767
> X-UIDL: D9]!!DNU!!C_n!!V[^!!
> 
> 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.

Ok.  What is the *feature* list in your implementation?  I need to see
that to figure out what is going on.

Note that I put Juan's pathces in CVS.

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