quicklisp / quicklisp-client

Quicklisp client.
http://www.quicklisp.org/
MIT License
296 stars 74 forks source link

Install quicklisp on clisp failed #115

Open namoamitabha opened 9 years ago

namoamitabha commented 9 years ago

I'm using clisp. And it is failed to install quicklisp.

OS: centos7 clisp: version 2.49 here is log for your reference:

[1]> (load "quicklisp") ;; Loading file /home/angelo/bin/lisp/quicklisp.lisp ...

==== quicklisp quickstart 2015-01-28 loaded ====

To continue with installation, evaluate: (quicklisp-quickstart:install)

For installation options, evaluate: (quicklisp-quickstart:help)

;; Loaded file /home/angelo/bin/lisp/quicklisp.lisp T [2]> (quicklisp-quickstart:install) ; Fetching #<URL "http://beta.quicklisp.org/client/quicklisp.sexp"> ; 0.82KB Signal 6 while exiting on a signal; cleanup may be incomplete Aborted (core dumped)

quicklisp commented 9 years ago

Sorry, I don't know what might cause this. Do you have trouble on other implementations as well?

fouric commented 8 years ago

This also fails on my CLISP as well, which is the same (and latest) version, 2.49. As I (1) am using another operating system (Ubuntu 16.04) and (2) have successfully installed Quicklisp on SBCL, I think that this is actually a bug.

quicklisp commented 8 years ago

A bug in what? Are you able to troubleshoot from the core file?

guycali commented 7 years ago

Same here. Here's the core dump... ;; Loaded file quicklisp.lisp

P"quicklisp.lisp"

[2]> (quicklisp-quickstart:install)

; Fetching #<URL "http://beta.quicklisp.org/client/quicklisp.sexp"> ; 0.82KB

================================================== 838 bytes in 0.03 seconds (26.23KB/sec) ; Fetching #<URL "http://beta.quicklisp.org/client/2017-03-06/quicklisp.tar"> ; 250.00KB ================Floating point exception (core dumped)

$ cat lisp.exe.stackdump Exception: STATUS_INTEGER_DIVIDE_BY_ZERO at rip=0010051A757 rax=0000000000000001 rbx=00000000FFFE5100 rcx=0000000000000000 rdx=0000000000000000 rsi=000000060055C978 rdi=0000000600564780 r8 =00000000FFFE5100 r9 =0000000600557110 r10=0000000600557110 r11=0000000000000013 r12=00000006005571A8 r13=0000FFFFFFFFFFFF r14=0000000000000000 r15=0000000000000000 rbp=00000000FFFE5100 rsp=00000000FFFE4DA8 program=C:\cygwin64\lib\clisp-2.49+\base\lisp.exe, pid 7976, thread main cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B Stack trace: Frame Function Args 000FFFE5100 0010051A757 (00000000001, 00600095450, 00600095458, 000FFF4FFFC) 000FFFE5100 00100415107 (001004CB9AB, 6FFFFF31E88, 001FFFFFFFF, 0060055C978) 000FFFE5100 0010041A0E5 (400006005A50A0, 00100534EC0, 6FFFFF31EA8, FFFFFFFFFFFF) 000FFFE5210 001004255FB (0010042DB3E, 0010054A710, 0010042DBF7, 4000100548D08) 000FFFE5210 001004EC57F (006003C3960, 00100651160, 00100651160, 0000000FFF7) 00100651CC8 0010041BCDF (00100651CC8, 00000000000, 001004148B3, 4000100000000) 000000050FD 001004205B0 (40001005496E0, 001005496E0, 4000000002728, 4000100548D08) FFFFFFFFFFFF 0010042EC63 (1000100533BA0, 4000100534EC0, 6FFFFF31C28, 00100651160) 4000100534EC0 00100445BFB (4000000002728, 4000100548D08, 0010042E3E7, 00000000001) 40001005379A0 0010043CF2D (00100430BB2, 00000000000, 00000000000, 00000000000) FFFFFFFFFFF8 0010043D227 (0010043D227, 90006000C50A0, 00100659100, 6FFFFF31D20) FFFFFFFFFFF8 0010043E29E (6FFFFF31D00, 000FFFE5F80, 006000C60FC, 000FFFE6620) 4000100548D08 001004405F3 (001004B025D, 00100651160, 6FFFFF31C28, 4000000002728) 4000100548D08 0010042E39C (00100430BB2, 6FFFFF31C28, 001FFFFFFFF, 00100651160) 000FFFE6130 00100433C98 (0060054C540, 6FFFFF31C00, 006FFFFFFFF, 000FFFE6C60) 4000100548D08 00100440585 (4000600506038, 00000000000, 001004AE93D, 6FFFFF31BD0) End of stack trace (more stack frames may be present)

tjklemz commented 4 years ago

With recent versions of macOS and CLISP, this should be fixed. I used to get that core dump but no longer do. I'm on macOS Mojave 10.14.6 and installed the latest CLISP (2.49_2) from Homebrew. So, from scratch:

$ brew install clisp wget
$ wget https://beta.quicklisp.org/quicklisp.lisp -O ~/quicklisp.lisp
$ clisp
> (load "~/quicklisp.lisp")
> (quicklisp-quickstart:install)
> (ql:add-to-init-file)

And that all works like normal. The thrown exception that used to happen may have been related to the following issue (which seems to have been resolved): https://groups.google.com/forum/#!topic/quicklisp/GqKji8RyHR8 https://github.com/quicklisp/quicklisp-client/issues/32

To install certain libraries from Quicklisp using CLISP, a newer version of ASDF is required (or at least fixes any issues for me). Relates to #114 and #187

$ wget https://common-lisp.net/project/asdf/archives/asdf.lisp -O ~/quicklisp/asdf.lisp
$ clisp -norc -c ~/quicklisp/asdf.lisp
$ rm -rf ~/.cache/common-lisp ~/quicklisp/cache # some people were recommending this step

And then I'm able to install more involved libraries, e.g. plump:

$ clisp
> (ql:quickload :plump)
austinxramos commented 2 years ago

Thank you so much I was finally able to get it to run after encountering so many errors of CLISP not finding the file.

adlai commented 1 year ago

Although it might be easier for humans to locate open issues, I believe the closed ones still do get indexed by search engines; thus, it would be awesome if @namoamitabha would confirm that the failure has been resolved, and close the issue!