Re: Clisp and ASDF on Windows



On Mar 21, 12:46 pm, philip.armit...@xxxxxxxxx wrote:
On Mar 21, 5:31 pm, Jimmy Miller <CaptainThun...@xxxxxxxxx> wrote:

I've Googled for ways to set ASDF up, and I've gotten a lot of
conflicting solutions; some people say Windows-style shortcuts work,
some say they don't, etc. If anyone could tell me how to get this
working properly, I'd appreciate it.

On Windows I use the method listed onhttp://www.cliki.net/asdfunder
the heading "Alternative Sysdef Search functionality". Although I
suspect this may start to grind a little with hundreds of libraries
installed, it works very well with the 20-30 I have on my Windows
machine.

In fact, I found it worked so well (and I'm so lazy) that I use this
technique on Linux too where I do most of my work.

HTH.

--
Philhttp://phil.nullable.eu/

Thanks for the reply, but ASDF still gives me the same error message.
My .clisprc.init file is now as follows:

(load #P"C:\\emacs\\clisp-2.41-win32-with-readline-and-gettext\
\clisp-2.41\\asdf.lisp")
;; An alternative to the standard sysdef search can be defined.
This
;; code below can be dropped into your Lisp init files and
customized.
;; It will search for all ASDF systems in subdirectories of
the
;; specified directories. That lets you simply "drop-in" new
packages
;; into one of the specified directories, and it will be available
for
;; loading without any further
steps.
(in-package #:asdf)
(defvar *subdir-search-registry* '(#p"C:\\emacs")
"List of directories to search subdirectories within.")
(defvar *subdir-search-wildcard* :wild
"Value of :wild means search only one level of subdirectories; value
of :wild-inferiors means search all levels of subdirectories (I don't
advise using this in big directories!)")
(defun sysdef-subdir-search (system)
(let ((latter-path (make-pathname :name (coerce-name system)
:directory (list :relative
*subdir-search-
wildcard*)
:type "asd"
:version :newest
:case :local)))
(dolist (d *subdir-search-registry*)
(let* ((wild-path (merge-pathnames latter-path d))
(files (directory wild-path)))
(when files
(return (first files)))))))
(pushnew 'sysdef-subdir-search *system-definition-search-functions*)

I noticed that ASDF takes more time in searching for the file, but it
still doesn't find it. I have all the .asd files in a folder in the C:
\emacs directory, so that should only be one level down. Any more
ideas?
.



Relevant Pages

  • Clisp and ASDF on Windows
    ... I'm trying to get ASDF running with Clisp 2.41 on Windows ... to the various CFFI ASD files that I want to load. ... some people say Windows-style shortcuts work, ...
    (comp.lang.lisp)
  • Re: slime asdf cl-gtk2
    ... What exactly I have to do to install cl-gtk2 package? ... problems are you having with the ASDF tutorials you have read? ... You'll have to translate that to use Windows' pathnames. ... It is trivial because `hello-lisp` doesn't have any dependencies. ...
    (comp.lang.lisp)
  • Re: Help wanted: CL, ASDF, and MSWin shortcuts
    ... lnk_resolve now works on windows XP and understands Cyrillic ... deeper in a character pecularities. ... asdf and now there is Mudballs. ... I just have finished huge 10$ lisp job, ...
    (comp.lang.lisp)
  • Re: Copying files from subdirectories to a single directory(reposted for clarity)
    ... subdirectories within subdirectories) to a single ... Because you reference a page containing information about Windows XP instead of MS-DOS I suspect you are talking about Windows XP and not MS-DOS and that makes things easier because you can use the for command in Windows XP Command Prompt to you what you want: ...
    (comp.os.msdos.programmer)
  • Re: Sell you datasheet collections
    ... We've had a few enquiries asking how to obtain a list of files within a ... directory and its subdirectories. ... In windows you can do something like ... directory and/or sub directories on any hard drive on your computer. ...
    (sci.electronics.design)