Install quicklisp manually

Source: Internet
Author: 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 abve:

[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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.