宋为@凉拌茶叶
2014-02-23 07:08:12 UTC
环境为sbcl和clisp
我机器上asdf并不遵守官方手册中这样的设定:
Ubuntu)
asdf到底是怎么读取工作路径的?
是不是Quicklisp的干扰?
如果没有Quicklisp,Debian系操作系统提供了一大堆cl-*包又该怎么使用呢???
Debian系的系统有没有打包用Lisp写的应用程序(不是函数库)可供参考的?(我
的意思是,正常的Linux发行版上应该如何打包发布 Lisp程序?)
.sbclrc
我机器上asdf并不遵守官方手册中这样的设定:
The simplest way to add a path to your search path, say
/home/luser/.asd-link-farm/ is to create the directory
~/.config/common-lisp/source-registry.conf.d/ and there create a file
with any name of your choice, and with the type conf, for instance
(:directory "/home/luser/.asd-link-farm/")
If you want all the subdirectories under /home/luser/lisp/ to be
(:tree "/home/luser/lisp/")
检查了asdf:*central-registry*变量,仅有/home/luser/.asd-link-farm/ is to create the directory
~/.config/common-lisp/source-registry.conf.d/ and there create a file
with any name of your choice, and with the type conf, for instance
(:directory "/home/luser/.asd-link-farm/")
If you want all the subdirectories under /home/luser/lisp/ to be
(:tree "/home/luser/lisp/")
(#P"/home/leo/quicklisp/quicklisp/")
后来发现/etc/common-lisp/source-registry.conf.d下面有如下文件(系统是Ubuntu)
03-clbuild.conf 01-common-lisp-controller.conf
02-common-lisp-controller-userdir.conf
内容是02-common-lisp-controller-userdir.conf
(:directory #p"/usr/share/common-lisp/systems/") ;空的
(:directory (:home #p".clc/systems/")) ;没有这个地方
(:directory #p"/usr/share/common-lisp/clbuild/systems/") ;没有这个地
方,但是/usr/share/common-lisp/source有一些源码
也是没有起到任何作用,亦不知道会有什么东西来读取它们。(:directory (:home #p".clc/systems/")) ;没有这个地方
(:directory #p"/usr/share/common-lisp/clbuild/systems/") ;没有这个地
方,但是/usr/share/common-lisp/source有一些源码
asdf到底是怎么读取工作路径的?
是不是Quicklisp的干扰?
如果没有Quicklisp,Debian系操作系统提供了一大堆cl-*包又该怎么使用呢???
Debian系的系统有没有打包用Lisp写的应用程序(不是函数库)可供参考的?(我
的意思是,正常的Linux发行版上应该如何打包发布 Lisp程序?)
.sbclrc
#-quicklisp
(let ((quicklisp-init (merge-pathnames "quicklisp/setup.lisp"
(user-homedir-pathname))))
(when (probe-file quicklisp-init)
(load quicklisp-init)))
.clisprc.lisp(let ((quicklisp-init (merge-pathnames "quicklisp/setup.lisp"
(user-homedir-pathname))))
(when (probe-file quicklisp-init)
(load quicklisp-init)))
#-quicklisp
(let ((quicklisp-init (merge-pathnames "quicklisp/setup.lisp"
(user-homedir-pathname))))
(when (probe-file quicklisp-init)
(load quicklisp-init)))
(let ((quicklisp-init (merge-pathnames "quicklisp/setup.lisp"
(user-homedir-pathname))))
(when (probe-file quicklisp-init)
(load quicklisp-init)))
--
--
Lisp-cn(Lisp中文用户组)
CLUG http://lisp.org.cn
---
您收到此邮件是因为您订阅了 Google 网上论坛的“Lisp-cn(Lisp中文用户组)”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 lisp-cn+***@googlegroups.com。
要查看更多选项,请访问 https:/
--
Lisp-cn(Lisp中文用户组)
CLUG http://lisp.org.cn
---
您收到此邮件是因为您订阅了 Google 网上论坛的“Lisp-cn(Lisp中文用户组)”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 lisp-cn+***@googlegroups.com。
要查看更多选项,请访问 https:/