Install quicklisp manually

來源:互聯網
上載者:User
Install quicklisp manually

Today I tried to install quicklisp.lisp in my fc12 box following the offical manual, but failed. And Google has little result about this. it seems that there
is bug when the target url is redirected. As a really newbie to CL, I'm not sure what is the problem, but wget works fine with the same url. The error details is shown below:

[1]> (load "quicklisp.lisp");; Loading file quicklisp.lisp ...  ==== quicklisp quickstart loaded ====    To continue with installation, evaluate: (quicklisp-quickstart:install)    For installation options, evaluate: (quicklisp-quickstart:help);; Loaded file quicklisp.lispT[2]> (quicklisp-quickstart:install); Fetching #<URL "http://beta.quicklisp.org/quickstart/asdf.lisp">; 194.07KB==================================================198,729 bytes in 1.35 seconds (143.87KB/sec)*** - RENAME-FILE: File #P"/home/hgw/quicklisp/asdf.lisp" already existsThe following restarts are available:ABORT          :R1      Abort main loopBreak 1 [3]> [4]> (quicklisp-quickstart:install); Fetching #<URL "http://beta.quicklisp.org/quickstart/asdf.lisp">; 194.07KB==================================================198,729 bytes in 1.73 seconds (111.87KB/sec); Redirecting to #<URL "http://116.77.73.78/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/beta.quicklisp.org/quickstart/quicklisp.tar">; Redirecting to #<URL "http://116.77.73.76:82/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.78/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/beta.quicklisp.org/quickstart/quicklisp.tar">; Redirecting to #<URL  "http://116.77.73.76:82/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.76:82/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.78/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/beta.quicklisp.org/quickstart/quicklisp.tar">; Redirecting to #<URL  "http://116.77.73.79:81/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.76:82/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.76:82/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.78/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/beta.quicklisp.org/quickstart/quicklisp.tar">*** - Unexpected status for      #<URL      "http://116.77.73.79:81/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.76:82/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.76:82/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.78/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/beta.quicklisp.org/quickstart/quicklisp.tar">:      403The following restarts are available:ABORT          :R1      Abort main loop

After digging the source code quicklisp.lisp, I found that the installation process is not complicated. It do some downloads and then loads setup.lisp. So I work around this problem with manually doing
these processes.

$ mkdir -p ~/quicklisp/quicklisp$ mkdir -p ~/quicklisp/tmp$ $ wget -P ~/quicklisp/ http://beta.quicklisp.org/quickstart/asdf.lisp$ wget -P ~/quicklisp/tmp http://beta.quicklisp.org/quickstart/quicklisp.tar$ wget -P ~/quicklisp/ http://beta.quicklisp.org/quickstart/setup.lisp$ tar xf ~/quicklisp/tmp/quicklisp.tar -C ~/quicklisp/$ clisp...[0]> (load "~/quicklisp/setup.lisp");; Loading file /home/hgw/quicklisp/setup.lisp ...;;  Loading file /home/hgw/quicklisp/cache/asdf-fasls/0btmcy/asdf.fas ...;;  Loaded file /home/hgw/quicklisp/cache/asdf-fasls/0btmcy/asdf.fasWARNING: DEFGENERIC: redefining function DIST in /home/hgw/.cache/common-lisp/clisp-2.47-unix-x86/home/hgw/quicklisp/quicklisp/dist.fas, was defined in top-levelWARNING: DEFGENERIC: redefining function SYSTEM-INDEX-URL in /home/hgw/.cache/common-lisp/clisp-2.47-unix-x86/home/hgw/quicklisp/quicklisp/dist.fas, was defined in top-levelWARNING: DEFGENERIC: redefining function RELEASE-INDEX-URL in /home/hgw/.cache/common-lisp/clisp-2.47-unix-x86/home/hgw/quicklisp/quicklisp/dist.fas, was defined in top-levelWARNING: DEFGENERIC: redefining function AVAILABLE-VERSIONS-URL in /home/hgw/.cache/common-lisp/clisp-2.47-unix-x86/home/hgw/quicklisp/quicklisp/dist.fas, was defined in         top-levelWARNING: DEFGENERIC: redefining function RELEASE in /home/hgw/.cache/common-lisp/clisp-2.47-unix-x86/home/hgw/quicklisp/quicklisp/dist.fas, was defined in top-levelWARNING: DEFGENERIC: redefining function NAME in /home/hgw/.cache/common-lisp/clisp-2.47-unix-x86/home/hgw/quicklisp/quicklisp/dist.fas, was defined in top-levelWARNING: DEFGENERIC: redefining function BASE-DIRECTORY in /home/hgw/.cache/common-lisp/clisp-2.47-unix-x86/home/hgw/quicklisp/quicklisp/dist.fas, was defined in top-levelWARNING: DEFGENERIC: redefining function METADATA-NAME in /home/hgw/.cache/common-lisp/clisp-2.47-unix-x86/home/hgw/quicklisp/quicklisp/dist.fas, was defined in top-levelWARNING: DEFGENERIC: redefining function PREFERENCE-PARENT in /home/hgw/.cache/common-lisp/clisp-2.47-unix-x86/home/hgw/quicklisp/quicklisp/dist.fas, was defined in top-levelWARNING: DEFGENERIC: redefining function SHORT-DESCRIPTION in /home/hgw/.cache/common-lisp/clisp-2.47-unix-x86/home/hgw/quicklisp/quicklisp/dist.fas, was defined in top-levelWARNING: DEFGENERIC: redefining function PROVIDED-RELEASES in /home/hgw/.cache/common-lisp/clisp-2.47-unix-x86/home/hgw/quicklisp/quicklisp/dist.fas, was defined in top-levelWARNING: DEFGENERIC: redefining function PROVIDED-SYSTEMS in /home/hgw/.cache/common-lisp/clisp-2.47-unix-x86/home/hgw/quicklisp/quicklisp/dist.fas, was defined in top-levelWARNING: DEFGENERIC: redefining function ARCHIVE-URL in /home/hgw/.cache/common-lisp/clisp-2.47-unix-x86/home/hgw/quicklisp/quicklisp/dist.fas, was defined in top-level; Fetching #<URL "http://beta.quicklisp.org/dist/quicklisp.txt">; 0.40KB==================================================408 bytes in 0.03 seconds (13.57KB/sec);; Loaded file /home/hgw/quicklisp/setup.lispT

Reload quicklisp.lisp to confirm it's really install.

[7]> (load "./quicklisp.lisp");; Loading file ./quicklisp.lisp ...  ==== quicklisp quickstart loaded ====    To continue with installation, evaluate: (quicklisp-quickstart:install)    For installation options, evaluate: (quicklisp-quickstart:help);; Loaded file ./quicklisp.lispT[8]> (quicklisp-quickstart:install)*** - Quicklisp has already been installed. Load #P"/home/hgw/quicklisp/setup.lisp" instead.The following restarts are available:LOAD-SETUP     :R1      Load #P"/home/hgw/quicklisp/setup.lisp"ABORT          :R2      Abort main loopBreak 1 [9]> [10]> (ql:add-to-init-file)I will append the following lines to #P"/home/hgw/.clisprc.lisp":  ;;; The following lines added by ql:add-to-init-file:  #-quicklisp  (let ((quicklisp-init (merge-pathnames "quicklisp/setup.lisp" (user-homedir-pathname))))    (when (probe-file quicklisp-init)      (load quicklisp-init)))Press Enter to continue.#P"/home/hgw/.clisprc.lisp"[11]>

But here comes the another problem, it fails to install clack, the error seems the same as above:

[11]> (ql:quickload :clack); Fetching #<URL "http://beta.quicklisp.org/dist/quicklisp/2013-06-15/systems.txt">; 146.59KB==================================================150,113 bytes in 0.82 seconds (178.79KB/sec); Fetching #<URL "http://beta.quicklisp.org/dist/quicklisp/2013-06-15/releases.txt">; 220.21KB==================================================225,495 bytes in 1.01 seconds (218.94KB/sec)To load "clack":  Install 22 Quicklisp releases:    alexandria anaphora bordeaux-threads     circular-streams cl-annot cl-base64 cl-fad     cl-marshal cl-ppcre cl-syntax clack flexi-streams     ironclad local-time multival-plist named-readtables     nibbles rfc2388 split-sequence trivial-gray-streams     trivial-types yason; Redirecting to #<URL "http://116.77.73.80/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/beta.quicklisp.org/archive/yason/2013-03-12/yason-0.6.3.tgz">; Redirecting to #<URL "http://116.77.73.80:82/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.80/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/beta.quicklisp.org/archive/yason/2013-03-12/yason-0.6.3.tgz">; Redirecting to #<URL  "http://116.77.73.74:82/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.80:82/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.80/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/beta.quicklisp.org/archive/yason/2013-03-12/yason-0.6.3.tgz">; Redirecting to #<URL  "http://116.77.73.80:81/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.74:82/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.80:82/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.80/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/beta.quicklisp.org/archive/yason/2013-03-12/yason-0.6.3.tgz">; Redirecting to #<URL  "http://116.77.73.74:83/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.80:81/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.74:82/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.80:82/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.80/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/beta.quicklisp.org/archive/yason/2013-03-12/yason-0.6.3.tgz">; Redirecting to #<URL  "http://116.77.73.75/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.74:83/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.80:81/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.74:82/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.80:82/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.80/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/beta.quicklisp.org/archive/yason/2013-03-12/yason-0.6.3.tgz">; Redirecting to #<URL  "http://116.77.73.80:82/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.75/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.74:83/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.80:81/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.74:82/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.80:82/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.80/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/beta.quicklisp.org/archive/yason/2013-03-12/yason-0.6.3.tgz">*** - Unexpected HTTP status for      #<URL      "http://116.77.73.80:82/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.75/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.74:83/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.80:81/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.74:82/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.80:82/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/116.77.73.80/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/beta.quicklisp.org/archive/yason/2013-03-12/yason-0.6.3.tgz">:      403The following restarts are available:ABORT          :R1      Give up on "clack"ABORT          :R2      Abort main loop

I don't know how to fix this issue currently, maybe somtime in the future.

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.