<div dir="ltr">Dear ECL Community,<div><br></div><div>Could you let me know how to do the following, please?</div><div><br></div><div>- How to load file "quicklisp.lisp" in an embedded instance of ECL</div><div>- How to make the function REQUIRE available in an embedded instance of ECL</div><div>- How to load ASDF 3 or newer in an embedded instance of ECL</div><div><br></div><div>I am able to load file "quicklisp.lisp" when I run "/usr/local/ecl.exe".</div><div><br></div><div>I saw that there is an "ecl-quicklisp.lisp" but I'd like to learn how to load non-ECL Quicklisp.</div><div><br></div><div>I am running ECL 21.2.1. that I compiled with MSYS MinGW x86.</div><div><br></div><div>The first error that comes up is that the function REQUIRE is not available.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">> (load "quicklisp.lisp")</font></blockquote><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace"><br></font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">;;; Loading "C:/msys64/home/Admin/quicklisp.lisp"</font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">Debugger received error of type: SIMPLE-ERROR</font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">Module error: Don't know how to REQUIRE SOCKETS.</font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">Error flushed.</font></blockquote></div><div><br></div><div>So I 

manually 

loaded SOCKETS.</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">> (load #P"C:/msys64/usr/local/sockets.fas")</font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace"><br></font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">;;; Loading "C:/msys64/usr/local/sockets.fas"</font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">#P"C:/msys64/usr/local/sockets.fas"</font></blockquote></div><div><br></div><div>Then I tried again and I was able to progress further.</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">>  (load "quicklisp.lisp")</font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace"><br></font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">;;; Loading "C:/msys64/home/Admin/quicklisp.lisp"</font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace"><br></font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">  ==== quicklisp quickstart 2015-01-28 loaded ====</font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace"><br></font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">    To continue with installation, evaluate: (quicklisp-quickstart:install)</font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace"><br></font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">    For installation options, evaluate: (quicklisp-quickstart:help)</font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace"><br></font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">#P"C:/msys64/home/Admin/quicklisp.lisp"</font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">> (quicklisp-quickstart:install)</font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace"><br></font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">Debugger received error of type: SIMPLE-ERROR</font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">Quicklisp has already been installed. Load #P"C:/msys64/home/Admin/quicklisp/setup.lisp" instead.</font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">Error flushed.</font></blockquote><div> </div></div><div>Bu the following error appeared that I don't know how to solve.</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">> (load #P"C:/msys64/home/Admin/quicklisp/setup.lisp")</font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace"><br></font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">;;; Loading "C:/msys64/home/Admin/quicklisp/setup.lisp"</font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">Debugger received error of type: SIMPLE-ERROR</font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">Could not load ASDF "3.0" or newer</font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">Error flushed.</font></blockquote></div><div><br></div><div>I tried loading the other ".fas" files in "/usr/local"  such as "asdf.fas" but that did not help. </div><div><br></div><div>I checked the *features* variable in both versions but they were the same. </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">$ ./a.exe </font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">...</font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">Condition of type: INTERACTIVE-INTERRUPT</font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">Console interrupt.</font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">Available restarts:</font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace"><br></font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">1. (CONTINUE) CONTINUE</font></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">...</font></blockquote><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">> (print-list *features*)<br>(WALKER ECL-BYTECMP CDR-1 CDR-5 FORMATTER CDR-7 WSOCK ECL-WEAK-HASH LITTLE-ENDIAN LONG-LONG UINT64-T UINT32-T UINT16-T COMPLEX-FLOAT LONG-FLOAT UNICODE DFFI CLOS-STREAMS CMU-FORMAT WINDOWS WIN32 MINGW32 ECL-PDE DLOPEN CLOS THREADS BOEHM-GC ANSI-CL COMMON-LISP IEEE-FLOATING-POINT PACKAGE-LOCAL-NICKNAMES CDR-14 PREFIXED-API FFI I686 COMMON ECL)</font><br></blockquote></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">$ /usr/local/ecl.exe<br>...<br></font><span style="font-family:monospace">> (print-list *features*)</span><br style="font-family:monospace"><span style="font-family:monospace">(WALKER </span><span style="font-family:monospace">ECL-BYTEC</span><span style="font-family:monospace">MP</span><span style="font-family:monospace"> CDR-1</span><span style="font-family:monospace"> CDR-5</span><span style="font-family:monospace"> FORMATTER</span><span style="font-family:monospace"> CDR-7 </span><span style="font-family:monospace">WSOCK</span><span style="font-family:monospace"> ECL-WEAK-HASH</span><span style="font-family:monospace"> LITTLE-ENDIAN</span><span style="font-family:monospace"> LONG-LONG</span><span style="font-family:monospace"> UINT64-T</span><span style="font-family:monospace"> UINT32-T</span><span style="font-family:monospace"> UINT16-T</span><span style="font-family:monospace"> COMPLEX-FLOAT</span><span style="font-family:monospace"> LONG-FLOAT</span><span style="font-family:monospace"> UNICODE</span><span style="font-family:monospace"> DFFI</span><span style="font-family:monospace"> CLOS-STREAMS</span><span style="font-family:monospace"> CMU-FORMAT</span><span style="font-family:monospace"> WINDOWS</span><span style="font-family:monospace"> WIN32</span><span style="font-family:monospace"> MINGW32</span><span style="font-family:monospace"> ECL-PDE</span><span style="font-family:monospace"> DLOPEN</span><span style="font-family:monospace"> CLOS</span><span style="font-family:monospace"> THREADS</span><span style="font-family:monospace"> BOEHM-GC</span><span style="font-family:monospace"> ANSI-CL</span><span style="font-family:monospace"> COMMON-LISP</span><span style="font-family:monospace"> IEEE-FLOATING-POINT</span><span style="font-family:monospace"> PACKAGE-LOCAL-NICKNAMES</span><span style="font-family:monospace"> CDR-14</span><span style="font-family:monospace"> PREFIXED-API</span><span style="font-family:monospace"> FFI</span><span style="font-family:monospace"> I686</span><span style="font-family:monospace"> COMMON</span><span style="font-family:monospace"> ECL)</span><font face="monospace"><br></font></blockquote><div><br></div><div><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr">Best regards,<div><br></div><div>Binh Nguyen</div></div></div></div></div></div>