On Mon, Aug 15 2016, Daniel Kochmański wrote:
you may download quicklisp from ECL at first run like:
(require 'ecl-quiclisp)
Hi,
Unfortunately it did not help. Here the results:
--8<---------------cut here---------------start------------->8--- $ ecl ECL (Embeddable Common-Lisp) 16.1.2 (git:93fb2bced28bf1ac8c28ce8c1d0b46dd00a2a166) Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya Copyright (C) 1993 Giuseppe Attardi Copyright (C) 2000 Juan J. Garcia-Ripoll Copyright (C) 2015 Daniel Kochmanski 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 in: #<process TOP-LEVEL>.
(require 'ecl-quicklisp)
;;; Loading #P"/opt/ecl/lib/ecl-16.1.2/ecl-quicklisp.fas" ;;; Loading #P"/opt/ecl/lib/ecl-16.1.2/ecl-curl.fas" ;;; Loading #P"/opt/ecl/lib/ecl-16.1.2/sockets.fas" ;;; Downloading 57144 bytes from http://beta.quicklisp.org/quicklisp.lisp to /home/peter/quicklisp/_installer.lisp ... ;;; Loading "/home/peter/quicklisp/_installer.lisp"
==== quicklisp quickstart 2015-01-28 loaded ====
To continue with installation, evaluate: (quicklisp-quickstart:install)
For installation options, evaluate: (quicklisp-quickstart:help)
; Fetching #<url "http://beta.quicklisp.org/client/quicklisp.sexp%22%3E ; 0.82KB ================================================== 838 bytes in 0.06 seconds (13.64KB/sec) ; Fetching #<url "http://beta.quicklisp.org/client/2016-02-22/quicklisp.tar%22%3E ; 240.00KB ================================================== 245,760 bytes in 0.25 seconds (963.86KB/sec) ; Fetching #<url "http://beta.quicklisp.org/client/2015-09-24/setup.lisp%22%3E ; 4.94KB ================================================== 5,054 bytes in 0.06 seconds (82.26KB/sec) ; Fetching #<url "http://beta.quicklisp.org/asdf/2.26/asdf.lisp%22%3E ; 194.07KB ================================================== 198,729 bytes in 0.19 seconds (1043.39KB/sec) ; Fetching #<url "http://beta.quicklisp.org/dist/quicklisp.txt%22%3E ; 0.40KB ================================================== 408 bytes in 0.06 seconds (6.75KB/sec) Installing dist "quicklisp" version "2016-06-28". ; Fetching #<url "http://beta.quicklisp.org/dist/quicklisp/2016-06-28/releases.txt%22%3E ; 344.46KB ================================================== 352,722 bytes in 0.89 seconds (385.73KB/sec) ; Fetching #<url "http://beta.quicklisp.org/dist/quicklisp/2016-06-28/systems.txt%22%3E ; 265.90KB ================================================== 272,285 bytes in 0.25 seconds (1055.17KB/sec)
==== quicklisp installed ====
To load a system, use: (ql:quickload "system-name")
To find systems, use: (ql:system-apropos "term")
To load Quicklisp every time you start Lisp, use: (ql:add-to-init-file)
For more information, see http://www.quicklisp.org/beta/
("ECL-QUICKLISP" "ASDF" "asdf" "UIOP" "uiop" "ECL-CURL" "SB-BSD-SOCKETS" "SOCKETS")
(ql:quickload "cl-json")
Condition of type: END-OF-FILE Unexpected end of file on #<input stream #P"/opt/quicklisp/dists/quicklisp/systems.cdb">.
Available restarts:
1. (RETRY) Retry ASDF operation. 2. (CLEAR-CONFIGURATION-AND-RETRY) Retry ASDF operation after resetting the configuration. 3. (ABORT) Give up on "cl-json" 4. (RESTART-TOPLEVEL) Go back to Top-Level REPL.
Broken at QL-CDB::READ-CDB-U32. In: #<process TOP-LEVEL>. File: #P"/opt/quicklisp/quicklisp/cdb.lisp" (Position #0) --8<---------------cut here---------------end--------------->8---
I've done the same also with strace: "strace ecl 2>/opt/tmp/strace-ecl.txt" The output is here: http://pmrb.free.fr/tmp/strace-ecl.txt.gz But I don't know how to find the reason for the error...
To call the first restart you have to type a symbol in the keyword package ":r1", to call the second restart use ":r2" etc.
Thanks. I was used to type just the number (habit from sbcl).
I'm sorry, but your errors doesn't sound even close to familiar. I suspect that you may have some weird quicklisp version or ECL doesn't have permissions to do something (ie write a file).
Thanks for this hint: there was indeed a problem with a directory ~/.cache that has been created without my knowledge: that filesystem has only 2MB free space, so at one point there was probably a problem with "no space left on device". ~/.cache points now to a bigger partition, so there is no more such problem.
How could I debug this problem please?
Thank you for your efforts. Kind regards,