[CM] cm-gtk error

Rick Taube taube@uiuc.edu
Tue, 13 Dec 2005 07:08:10 -0600


> I got the following error when attempting
> (use-system :cm-gtk)
>
> On MacOS X 10.3.9, OpenMCL 0.14.3
> Using a cffi snapshot from December 12, 2005

michael -- im sorry i forgot that the .cdb format changed between 
0.14.3 and 1.0! cffi isnt used for this pacakge (yet) -- you have to 
use the "older" .cdbs for 0.13.

assuming you already have the old .cdb sitting under 
ccl:darwin-headers,  the easiest thing to do would be to simple comment 
out my gtk2 redirection  in cm-gtk.asd:

COMMENT THESE LINES OUT:

#+openmcl
(ccl::add-logical-pathname-translation
  "ccl"
  (list "darwin-headers;gtk2;*.*"
        (make-pathname :name :wild :type :wild
                       :directory
                       (append (pathname-directory *load-truename*)
                               (list "openmcl"))
                       :defaults *load-truename*)))


then it should load using your already installed versions.
sorry for the confusion.


Welcome to OpenMCL Version (Beta: Darwin) 0.14.3!
? (use-system :cm-gtk)
; loading system definition from cm-gtk.asd into #<Package "ASDF45">
;Loading #P"cm-gtk.asd"...
; registering #<SYSTEM :CM-GTK #x65A7CA6> as CM-GTK
;Compiling "/Lisp/cm-gtk/gtkffi-openmcl.lisp"...
;Loading #P"/Lisp/cm-gtk/gtkffi-openmcl.dfsl"...
;Compiling "/Lisp/cm-gtk/plotter.lisp"...
;Loading #P"/Lisp/cm-gtk/plotter.dfsl"...
;Compiling "/Lisp/cm-gtk/support.lisp"...
;Loading #P"/Lisp/cm-gtk/support.dfsl"...
;Compiling "/Lisp/cm-gtk/widgets.lisp"...
;Loading #P"/Lisp/cm-gtk/widgets.dfsl"...
;Compiling "/Lisp/cm-gtk/editing.lisp"...
;Loading #P"/Lisp/cm-gtk/editing.dfsl"...
;Compiling "/Lisp/cm-gtk/drawing.lisp"...
;Loading #P"/Lisp/cm-gtk/drawing.dfsl"...
;Compiling "/Lisp/cm-gtk/eventio.lisp"...
;Loading #P"/Lisp/cm-gtk/eventio.dfsl"...
#<SYSTEM "cm-gtk" #x657ACE6>
?