[Ecls-list] Problem with compiled asdf.

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Tue Jun 29 19:25:16 UTC 2010

On Tue, Jun 29, 2010 at 4:12 PM, Pascal J. Bourguignon <
pjb at informatimago.com> wrote:

> (require :asdf)
>    (load (merge-pathnames
>            (make-pathname :name "ASDF" :type "LISP"
>                           :directory '(:relative "ECL-REQUIRES")
>                           :case :common)
>            *load-pathname*
>            nil)
>           :verbose t)

This code shows a problem. Some time ago ASDF developers decided that it was
essential to have some POSIX functions available. Unfortunately this means
that ASDF can not be loaded from sources because it uses calls to C-INLINE
and CLINES (See below). I wonder how it worked for you -- I immediately get
the Slime REPL.

>  (load "~/devel/ecl/contrib/asdf/asdf.lisp" :verbose t)

;;; Loading "/Users/jjgarcia/devel/ecl/contrib/asdf/asdf.lisp"

The special form clines cannot be used in the interpreter: (#include
<sys/types.h> #include <unistd.h>)
Available restarts:

1. (RESTART-TOPLEVEL) Go back to Top-Level REPL.

Broken at SI:BYTECODES. [Evaluation of: (FFI:CLINES "#include <sys/types.h>"
"#include <unistd.h>")]

Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20100629/42ac9d4e/attachment.html>

More information about the ecl-devel mailing list