[cells-gtk-devel] Error compiling CVS version of cells-gtk

Peter Denno peter.denno at nist.gov
Thu Nov 3 22:23:55 UTC 2005


Hi,

I think Andras is right. In fact, in gtk-ffi.asd I see:

;#+cmu(setf *gtk-lib-path* "/usr/lib/")
#+(OR cmu sbcl)(setf *gtk-lib-path* "/opt/gnome/lib/")  ; For my Suse machine

Which might be a problem if you are not on my Suse machine ;^)

The comment before this code says that defining the path to the library should 
not be necessary (for CMUCL). At least in principle that is true. But I 
recall having problems when I didn't specify it.


I tried the HEAD with CMUCL and it ran OK for me, but there was an error in 
compilation of drawing.lisp. I continued past it (:c 0). drawing.lisp is a 
work in progress -- a few weeks maybe.



On Thursday 03 November 2005 16:45, Andras Simon wrote:
> On Thu, 3 Nov 2005, Stefan Nobis wrote:
> > Hi.
> >
> > I just tried to compile the CVS version of cells-gtk (and CVS
> > versions of cells and hello-c) with CMUCL (19c-pre1-20051019-1)
> > and got this error:
> >
> > ,----
> >
> > | ; loading system definition from
> > | CELLS-GTK:CGTK;GTK-FFI;GTK-FFI.ASD.NEWEST into ; #<The ASDF2037
> > | package>
> > | ;; Loading
> > | #P"/home/stefan/src/extern/cells-gtk/cgtk/gtk-ffi/gtk-ffi.asd". ;
> > | registering #<SYSTEM :GTK-FFI {5815739D}> as GTK-FFI
> > | ;; Loading
> > | #P"/home/stefan/src/extern/cells-gtk/cgtk/gtk-ffi/gtk-ffi.x86f". ;;
> > | Loading
> > | #P"/home/stefan/src/extern/cells-gtk/cgtk/gtk-ffi/gtk-core.x86f".
> > |
> > | Undefined foreign symbol: "g_free"
> > |    [Condition of type KERNEL:SIMPLE-PROGRAM-ERROR]
> > |
> > | Restarts:
> > |   0: [CONTINUE] Return NIL from load of
> > | #P"/home/stefan/src/extern/cells-gtk/cgtk/gtk-ffi/gtk-core.x86f". 1:
> > | [RETRY   ] Retry performing #<ASDF:LOAD-OP NIL {581CAE1D}> on
> > | #<ASDF:CL-SOURCE-FILE "gtk-core" {58163FED}>.
> > |   2: [ACCEPT  ] Continue, treating #<ASDF:LOAD-OP NIL {581CAE1D}> on
> > |                 #<ASDF:CL-SOURCE-FILE "gtk-core" {58163FED}> as
> > |                 having been successful.
> > |   3:            Return NIL from load of "load".
> > |   4: [ABORT   ] Return to Top-Level.
> > |
> > | Debug  (type H for help)
> > |
> > | (KERNEL:UNDEFINED-FOREIGN-SYMBOL-ERROR-HANDLER "<error finding name>"
> > |                                                #.(SYSTEM:INT-SAP
> > | #x3FFFC34C) #<Alien (* #) at #x3FFFBFE8> (14))
> > | Source: Error finding source:
> > | Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM:  Source file no
> > | longer exists: target:code/interr.lisp.
> >
> > `----
> >
> > If i try the cells-gtk-2005-05-29 tarball, everythings works
> > fine. Any hints what's going wrong?
>
> Looks like the shared libraries (libgthread libglib libgobject libgdk
> libgtk) didn't get loaded in time. Try to load them by hand before you
> start asdf:oos and see what happens.
>
> Andras
> _______________________________________________
> cells-gtk-devel site list
> cells-gtk-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/cells-gtk-devel

-- 
- Best regards,
   Peter



More information about the cells-gtk-devel mailing list