Quicklisp インストール
次は以下の記事を参考にQuicklisp を入れてみました。
$ wget http://beta.quicklisp.org/quicklisp.lisp ~$ ccl Welcome to Clozure Common Lisp Version 1.7-r14925M (LinuxX8664)! ? (load "quicklisp.lisp") ==== quicklisp quickstart 2015-01-28 loaded ==== To continue with installation, evaluate: (quicklisp-quickstart:install) For installation options, evaluate: (quicklisp-quickstart:help) #P"/home/mitsu/quicklisp.lisp" ? (quicklisp-quickstart:install :path ".quicklisp/") ; Fetching #<URL "http://beta.quicklisp.org/client/quicklisp.sexp"> ; 0.82KB ================================================== 838 bytes in 0.00 seconds (1363.93KB/sec) ; Fetching #<URL "http://beta.quicklisp.org/client/2017-03-06/quicklisp.tar"> ; 250.00KB ================================================== 256,000 bytes in 0.06 seconds (4019.36KB/sec) ; Fetching #<URL "http://beta.quicklisp.org/client/2015-09-24/setup.lisp"> ; 4.94KB ================================================== 5,054 bytes in 0.00 seconds (12920.28KB/sec) ; Fetching #<URL "http://beta.quicklisp.org/asdf/2.26/asdf.lisp"> ; 194.07KB ================================================== 198,729 bytes in 0.03 seconds (5993.74KB/sec) ; Fetching #<URL "http://beta.quicklisp.org/dist/quicklisp.txt"> ; 0.40KB ================================================== 408 bytes in 0.00 seconds (1079.78KB/sec) Installing dist "quicklisp" version "2017-08-30". ; Fetching #<URL "http://beta.quicklisp.org/dist/quicklisp/2017-08-30/releases.txt"> ; 376.62KB ================================================== 385,659 bytes in 0.14 seconds (2672.54KB/sec) ; Fetching #<URL "http://beta.quicklisp.org/dist/quicklisp/2017-08-30/systems.txt"> ; 253.79KB ================================================== 259,880 bytes in 0.16 seconds (1555.60KB/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/ NIL ? (ql:add-to-init-file) I will append the following lines to #P"/home/mitsu/\\.ccl-init.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/mitsu/\\.ccl-init.lisp" ?
できた!簡単。
早速ライブラリを探してみます。
Welcome to Clozure Common Lisp Version 1.7-r14925M (LinuxX8664)! ? (ql:update-all-dists) 1 dist to check. You already have the latest version of "quicklisp": 2017-08-30. NIL ? (ql:system-apropos "web") #<SYSTEM bknr.modules / bknr-web-20140713-git / quicklisp 2017-08-30> #<SYSTEM bknr.web / bknr-web-20140713-git / quicklisp 2017-08-30> #<SYSTEM cl-soup / cl-webkit-20160208-git / quicklisp 2017-08-30> #<SYSTEM cl-webdav / cl-webdav-20170830-git / quicklisp 2017-08-30> #<SYSTEM cl-webkit-dom / cl-webkit-20160208-git / quicklisp 2017-08-30> #<SYSTEM cl-webkit2 / cl-webkit-20160208-git / quicklisp 2017-08-30> #<SYSTEM cl-webkit2-tests / cl-webkit-20160208-git / quicklisp 2017-08-30> #<SYSTEM corona-web / corona-20160825-git / quicklisp 2017-08-30> #<SYSTEM fast-websocket / fast-websocket-20151031-git / quicklisp 2017-08-30> #<SYSTEM fast-websocket-test / fast-websocket-20151031-git / quicklisp 2017-08-30> #<SYSTEM hh-web / hh-web-20141106-git / quicklisp 2017-08-30> #<SYSTEM html-match / bknr-web-20140713-git / quicklisp 2017-08-30> #<SYSTEM html-match.test / bknr-web-20140713-git / quicklisp 2017-08-30> #<SYSTEM hu.dwim.presentation+hu.dwim.web-server / hu.dwim.presentation-20170630-darcs / quicklisp 2017-08-30> #<SYSTEM hu.dwim.web-server / hu.dwim.web-server-20170830-darcs / quicklisp 2017-08-30> #<SYSTEM hu.dwim.web-server+swank / hu.dwim.web-server-20170830-darcs / quicklisp 2017-08-30> #<SYSTEM hu.dwim.web-server.application / hu.dwim.web-server-20170830-darcs / quicklisp 2017-08-30> #<SYSTEM hu.dwim.web-server.application+hu.dwim.perec / hu.dwim.web-server-20170830-darcs / quicklisp 2017-08-30> #<SYSTEM hu.dwim.web-server.application.test / hu.dwim.web-server-20170830-darcs / quicklisp 2017-08-30> #<SYSTEM hu.dwim.web-server.documentation / hu.dwim.web-server-20170830-darcs / quicklisp 2017-08-30> #<SYSTEM hu.dwim.web-server.test / hu.dwim.web-server-20170830-darcs / quicklisp 2017-08-30> #<SYSTEM hu.dwim.web-server.websocket / hu.dwim.web-server-20170830-darcs / quicklisp 2017-08-30> #<SYSTEM leech / bknr-web-20140713-git / quicklisp 2017-08-30> #<SYSTEM myweb / myweb-20150608-git / quicklisp 2017-08-30> #<SYSTEM qtwebkit / qtools-20170830-git / quicklisp 2017-08-30> #<SYSTEM rock-web / rock-20150608-git / quicklisp 2017-08-30> #<SYSTEM simple-blog / weblocks-examples-20170403-git / quicklisp 2017-08-30> #<SYSTEM webactions / portableaserve-20150923-git / quicklisp 2017-08-30> #<SYSTEM weblocks / weblocks-20170630-git / quicklisp 2017-08-30> #<SYSTEM weblocks-clsql / weblocks-stores-20161208-git / quicklisp 2017-08-30> #<SYSTEM weblocks-clsql-demo / weblocks-examples-20170403-git / quicklisp 2017-08-30> #<SYSTEM weblocks-custom / weblocks-stores-20161208-git / quicklisp 2017-08-30> #<SYSTEM weblocks-demo / weblocks-examples-20170403-git / quicklisp 2017-08-30> #<SYSTEM weblocks-demo-popover / weblocks-20170630-git / quicklisp 2017-08-30> #<SYSTEM weblocks-memory / weblocks-stores-20161208-git / quicklisp 2017-08-30> #<SYSTEM weblocks-montezuma / weblocks-stores-20161208-git / quicklisp 2017-08-30> #<SYSTEM weblocks-perec / weblocks-stores-20161208-git / quicklisp 2017-08-30> #<SYSTEM weblocks-postmodern / weblocks-stores-20161208-git / quicklisp 2017-08-30> #<SYSTEM weblocks-prevalence / weblocks-stores-20161208-git / quicklisp 2017-08-30> #<SYSTEM weblocks-prototype-js / weblocks-prototype-js-20160929-git / quicklisp 2017-08-30> #<SYSTEM weblocks-s11 / weblocks-20170630-git / quicklisp 2017-08-30> #<SYSTEM weblocks-scripts / weblocks-20170630-git / quicklisp 2017-08-30> #<SYSTEM weblocks-store-test / weblocks-stores-20161208-git / quicklisp 2017-08-30> #<SYSTEM weblocks-stores / weblocks-stores-20161208-git / quicklisp 2017-08-30> #<SYSTEM weblocks-test / weblocks-20170630-git / quicklisp 2017-08-30> #<SYSTEM weblocks-tree-widget / weblocks-tree-widget-20141217-git / quicklisp 2017-08-30> #<SYSTEM weblocks-util / weblocks-20170630-git / quicklisp 2017-08-30> #<SYSTEM weblocks-utils / weblocks-utils-20170124-git / quicklisp 2017-08-30> #<SYSTEM weblocks-yarek / weblocks-20170630-git / quicklisp 2017-08-30> #<SYSTEM weblocks-yui / weblocks-20170630-git / quicklisp 2017-08-30> #<SYSTEM websocket-driver / websocket-driver-20170830-git / quicklisp 2017-08-30> #<SYSTEM websocket-driver-base / websocket-driver-20170830-git / quicklisp 2017-08-30> #<SYSTEM websocket-driver-client / websocket-driver-20170830-git / quicklisp 2017-08-30> #<SYSTEM websocket-driver-server / websocket-driver-20170830-git / quicklisp 2017-08-30>
成功!
よーし。パパ clackいれちゃうぞー
? (ql:quickload :clack) To load "clack": Install 1 Quicklisp release: clack ; Fetching #<URL "http://beta.quicklisp.org/archive/clack/2017-06-30/clack-20170630-git.tgz"> ; 188.65KB ================================================== 193,178 bytes in 0.04 seconds (4599.55KB/sec) ; Loading "clack" To load "uiop": Install 1 Quicklisp release: uiop ; Fetching #<URL "http://beta.quicklisp.org/archive/uiop/2017-06-30/uiop-3.2.1.tgz"> ; 95.46KB ================================================== 97,755 bytes in 0.02 seconds (4080.70KB/sec) ; Loading "uiop" [package uiop/package]............................ .................................................. .................................................. ; Loading "clack" To load "alexandria": Install 1 Quicklisp release: alexandria ; Fetching #<URL "http://beta.quicklisp.org/archive/alexandria/2017-08-30/alexandria-20170830-git.tgz"> ; 49.93KB ================================================== 51,131 bytes in 0.01 seconds (3556.20KB/sec) ; Loading "alexandria" [package alexandria.0.dev]........................ .................................................. ............ ; Loading "clack" To load "bordeaux-threads": Load 1 ASDF system: alexandria Install 1 Quicklisp release: bordeaux-threads ; Fetching #<URL "http://beta.quicklisp.org/archive/bordeaux-threads/2016-03-18/bordeaux-threads-v0.8.5.tgz"> ; 19.63KB ================================================== 20,105 bytes in 0.00 seconds (28048.27KB/sec) ; Loading "bordeaux-threads" > Error: Error while trying to load definition for system bordeaux-threads from pathname /home/.quicklisp/dists/quicklisp/software/bordeaux-threads-v0.8.5/bordeaux-threads.asd: You need ASDF >= 3.1 to load this system correctly. > While executing: (:INTERNAL ASDF::LOAD-SYSDEF), in process listener(1). > Type :POP to abort, :R for a list of available restarts. > Type :? for other options. 1 >
エラー・・・orz
moremagic
2017-08-31