2011-04-23 54 views
0

我試圖在os x上的clisp 2.49上安裝s-xml(我正朝着s-xml-rpc方向前進)。我想我已經正確安裝了asdf。我可以運行:Clisp上ASDF的問題

(asdf:asdf-version) 
    "2.014" 

所以我想這位安裝成功。但是,當我運行:

(asdf-install:install :s-xml) 

這種情況

Install where? 
1) System-wide install: 
    System in /usr/local/asdf-install/site-systems/ 
    Files in /usr/local/asdf-install/site/ 
2) Personal installation: 
    System in /Users/mattyw/.asdf-install-dir/systems/ 
    Files in /Users/mattyw/.asdf-install-dir/site/ 
0) Abort installation. 
--> 1 
;;; ASDF-INSTALL: Downloading 25612 bytes from http://common-lisp.net/project/s-xml/s-xml.tgz to /Users/mattyw/asdf-install-0.asdf-install-tmp ... 
;;; ASDF-INSTALL: Downloading 186 bytes from http://common-lisp.net/project/s-xml/s-xml.tgz.asc to /Users/mattyw/asdf-install-1.asdf-install-tmp ... 
;;; ASDF-INSTALL: Installing /Users/mattyw/asdf-install-0.asdf-install-tmp in /usr/local/asdf-install/site/, /usr/local/asdf-install/site-systems/ 
x s-xml/ 
x s-xml/ChangeLog 
x s-xml/doc/ 
x s-xml/doc/index.html 
x s-xml/doc/S-XML.html 
x s-xml/doc/style.css 
x s-xml/Makefile 
x s-xml/s-xml.asd 
x s-xml/src/ 
x s-xml/src/dom.lisp 
x s-xml/src/lxml-dom.lisp 
x s-xml/src/package.lisp 
x s-xml/src/sxml-dom.lisp 
x s-xml/src/xml-struct-dom.lisp 
x s-xml/src/xml.lisp 
x s-xml/test/ 
x s-xml/test/all-tests.lisp 
x s-xml/test/ant-build-file.xml 
x s-xml/test/counter.lisp 
x s-xml/test/echo.lisp 
x s-xml/test/plist.xml 
x s-xml/test/remove-markup.lisp 
x s-xml/test/simple.xml 
x s-xml/test/test-lxml-dom.lisp 
x s-xml/test/test-sxml-dom.lisp 
x s-xml/test/test-xml-struct-dom.lisp 
x s-xml/test/test-xml.lisp 
x s-xml/test/tracer.lisp 
x s-xml/test/xhtml-page.xml 

*** - Component "s-xml" not found 
The following restarts are available: 
RETRY   :R1  Retry installation 
ABORT   :R2  Abort main loop 

是什麼由分量S-XML意味着沒有發現。似乎表明它並沒有實際安裝任何東西。我試過做asdf-install:通過http鏈接和下載的tar zip進行安裝,我似乎總是處於這種狀態。任何想法我做錯了什麼?

我也試過做個人安裝(選項2),我可以看到文件被下載。但結果是一樣的。

回答

0

你的ASDF不是問題。這是ASDF安裝的問題。

ASDF-install不再被維護。替代品包括quicklisp和clbuild。我建議quicklisp快速入門。

+0

感謝您的指針。我能夠從示例中安裝vecto軟件包,但s-xml和s-xml-rpc似乎仍然默默無聞:[q]:quickload「s-xml-rpc」) 要加載「s -xml-rpc「: 加載1 ASDF系統: s-xml-rpc ;加載 「S-XML-RPC」 ( 「S-XML-RPC」) [9]>(需要的-XML-RPC) *** - LOAD:名稱爲S-XML-RPC的文件不存在 可以使用以下重新啓動: ABORT:R1中止主循環 – MattyW 2011-04-23 17:58:39

0

您的ASDF:*CENTRAL-REGISTRY*變量可能沒有正確設置,以便ASDF不檢查已安裝s-xml庫的目錄。它實際上看起來像ASDF-INSTALL 正常運行,但不是以這樣的方式ASDF可以找到已安裝的系統。這個變量是什麼?或者你在使用Faré的新ASDF配置工具嗎?如果是這樣,你的asdf搜索路徑中的目錄/usr/local/asdf-install/site-systems//Users/mattyw/.asdf-install-dir/systems/?最後,你看過那些目錄並確認這些文件實際上已經出現在那裏了嗎?