from Greg Bennett, who is trying to move a large Lisp application to Linux.

I hope to convert all the graphics routines to use OpenGL, leading me to
investigate cl-opengl. At bottom, this means I need to be able to load cffi.

This effort includes my first dealings with cffi, and also includes my
first dealings with asdf, although I have used mk-defsystem under Windows.

The attached material provides details from this effort during which
building cffi failed. I am sufficiently new to linux, asdf, and cffi that I cannot tell whether I face a difficulty with asdf or (not xor) cffi. Since the break occurred in processing
cffi.asd I have begun with the guess that it is to cffi-devel that I
might look for assistance.

With those apologies for my inexperience, I look forward to learning
from the list.

Thx in advance for all advice and assistance.

Cheers /Greg Bennett



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

_______________________________________________
cffi-devel mailing list
cffi-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel

Reply via email to