Question

In Emacs on Ubuntu Raring.. I have SBCL loaded in Emacs because i use it all the time. I type (ql:quickload "ieee-floats") to load my first library on a freshly installed ACL in emacs after typing M-- M-x slime to load ACL and get this error:

 While searching for system "ieee-floats":
    #P"/home/b/quicklisp/dists/quicklisp/software/c2ffi/README"
    evaluated to
    #P"/home/b/quicklisp/dists/quicklisp/software/c2ffi/README"
 which is
    not a directory.

the first few lines of my ACL asdf:central-registry are :

  (#P"/home/w/quicklisp/quicklisp/"
   #P"/home/w/quicklisp/dists/quicklisp/software/c2ffi/README"
   #P"/home/w/quicklisp/dists/quicklisp/software/c2ffi/autoclean"
   #P"/home/w/quicklisp/dists/quicklisp/software/c2ffi/config.h"
   #P"/home/w/quicklisp/dists/quicklisp/software/c2ffi/configure.ac"  

so acl is just looking at first file and stopping. Also in the asdf:central-registry in ACL it list all the files in the root directory as well as the folders but in SBCL it just lists all the root folders in quicklisp/dist/software and SBCL works for installing quicklisp libraries i/e

ACL's lists all root folder files

  #P"/home/w/quicklisp/dists/quicklisp/software/trivial-features-20130312-git/SPEC"
  #P"/home/w/quicklisp/dists/quicklisp/software/trivial-features-20130312-git/README"
  #P"/home/w/quicklisp/dists/quicklisp/software/trivial-features-20130312-git/trivial-features.asd"
  #P"/home/w/quicklisp/dists/quicklisp/software/trivial-features-20130312-git/tests"
  #P"/home/w/quicklisp/dists/quicklisp/software/trivial-features-20130312-git/COPYRIGHT"
  #P"/home/w/quicklisp/dists/quicklisp/software/trivial-features-20130312-git/trivial-features-tests.asd"
  #P"/home/w/quicklisp/dists/quicklisp/software/trivial-features-20130312-git/src"
  #P"/home/w/quicklisp/dists/quicklisp/software/trivial-features-20130312-git/release.sh"

SBCL'S - lists just root folder

  #P"/home/w/quicklisp/dists/quicklisp/software/trivial-features-20130312-git/"

and sbcl and acl init files contain the same thing:

 (require :asdf)
 ;put all subdirectories of quicklisp\software into asdf:*central-registry*
  (dolist (dir (directory "/home/w/quicklisp/dists/quicklisp/software/*/"))
  (pushnew dir asdf:*central-registry* :test #'equal))

 ;;; 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)))

No correct solution

OTHER TIPS

That *central-registry* is screwed up. Your ;put all subdirectories bit in your init file is causing the problem. Remove it, and you can just use ql:quickload to load libraries, e.g. (ql:quickload :vecto).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top