;;; cffi-asdf-errors.lisp
;;; I am trying to investigate cl-opengl via the examples available from
;;; its website. Thus I need to install cl-cffi.

;;; The Lisp is CMUCL 19E running under Ubuntu 8.10 (32bit version)
;;; installed on an HP dv7 64bit laptop

;;; I rescued cl-cffi  via  
;;;   sudo apt-get install cl-cffi
;;; which did its job correctly, as far as I can see, but I am no judge
;;; of all that is involved in installation on linux.

;;; In this, my first experience with asdf,
;;; I followed the ASDF manual (p1-2), I made a symbolic link in ~
;;;   ln -s /usr/share/common-lisp/systems/cffi.asd
;;; and followed this in CMUCL (with asdf.lisp already loaded) by
;;;   (asdf:operate 'asdf:load-op 'cffi)


;;; Here is the output
; loading system definition from cffi.asd into #<The ASDF0 package>
; Loading #P"/usr/share/common-lisp/source.cl-uffi/cffi.asd".
; registering #<SYSTEM CFFI {587DAE95}> as CFFI
; Compiling LAMBDA (.PV-CELL. .NEXT-METHOD-CALL. O C):
; Compiling Top-Level Form:



File-error in function (FLET #.GO ENSURE-DIRECTORIES-EXIST):
    Can't create directory /usr/.
    [Condition of type KERNEL:SIMPLE-FILE-ERROR]

Restarts:
 0:  [RETRY ] Try to create the directory again
 1:  [RETRY ] Retry performing #<ASDF:COMPILE-OP NIL {58A0DCAD}> on
              #<ASDF:CL-SOURCE-FILE "utils" {587E3975}>
 2:  [ACCEPT] Continue, treating #<ASDF:COMPILE-OP NIL {580DCAD}> on
              #<ASDF:CL-SOURCE-FILE "utils" {587E3975}> asveve
              having been successful.
 3:  [ABORT ] Return to Top-Level.

Debug (type H for help)

((FLET #:GO ENSURE-DIRECTORIES-EXIST)
 #P"/usr/share/common-lisp/source/cl-cffi/src/utils.x86f")
Source: Error finding soource:
Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM: Source file no longer exists:
   target:code/filesys.lisp
0]

;;; END of OUTPUT

;; I *do* have /usr/share/common-lisp/source/cl-cffi/src/utils.lisp but can find no
;; trace of a file utils.x86f in /usr

