[CM] CM and CM-GTK (newbie)

christopher melen chris_melen@yahoo.com
Mon, 14 Aug 2006 17:59:08 +0100 (BST)


Tried setting cl-user::*gtk-libdir* to "/usr/lib/",
but no luck.

I have libgtk-x11-2.0.so.0 (and
libgtk-x11-2.0.so.2.1.0) in /usr/lib (gtk-2.0 itself
is also there). But gtkffi-cmusbcl.lisp asks for
libgtk-x11-2.0... Same thing? Or should I edit it to
include the 'so.0'?

--- Ken <renueden@earthlink.net> wrote:

> I'm getting the same error on Ubuntu Dapper, though
> the libs are all in
> "/usr/lib".
> 
> On Mon, 2006-08-14 at 07:10 -0500, Rick Taube wrote:
> > hello, the code in gtkffi-cmusbcl.lisp is
> signaling an error because  
> > it cannot find one or more of the actual .lib
> files to load. here are  
> > their names:
> >      '("libgtk-x11-2.0" "libgdk-x11-2.0"
> "libatk-1.0"
> >        "libgdk_pixbuf-2.0"
> >        #-:darwin "libm" #+:darwin "/usr/lib/libm"
> >        "libpangoxft-1.0" "libpangox-1.0"
> "libpango-1.0"
> >        "libgobject-2.0" "libgmodule-2.0"
> >        #-:darwin "libdl"
> >        "libglib-2.0"
> >        #+:darwin "libintl"
> >        #+:darwin "libiconv")
> > 
> > find the dir where these reside on your machine
> and then use that  
> > pathname as the value of cl-user::*gtk-libdir*
> > you can set the variable in that file if you want
> > 
> > 
> > 
> > On Aug 14, 2006, at 12:43 AM, christopher melen
> wrote:
> > 
> > > Hi,
> > >
> > > I've got CM up and running nicely in CMUCL on
> Debian
> > > (Sarge), but I'm having difficulty with CM-GTK.
> When I
> > > attempt to load it with (use-system :cm-gtk) I
> get the
> > > following -
> > >
> > > ((FLET LIBPATH
> > >    )
> > >  "libgtk-x11-2.0")
> > > Source: (ERROR
> > >          "Library ~S not found. Either GTK is
> not
> > > installed or else cl-user:*gtk-libdir* needs to
> be set
> > > to the directory containing GTK on your
> machine."
> > >
> > > I have tried using -
> > >
> > > (defparameter cl-user::*gtk-libdir*
> > > "/path/to/gtk2/libs/")
> > >
> > > with various path variations before loading CM,
> but no
> > > luck...
> > >
> > > I have a feeling I'm probably going to have to
> edit a
> > > configuration file somewhere(!), but I'm not
> sure
> > > exactly where. Any suggestions as to how to
> solve this
> > > problem would be greatly appreciated!
> > >
> > > BTW, I'm a relative newbie to both linux and
> lisp.
> > >
> > > Thanks,
> > > Chris
> > >
> > >
> > >
> > > 	
> > > 	
> > > 		
> > >
>
___________________________________________________________
> > > All new Yahoo! Mail "The new Interface is
> stunning in its  
> > > simplicity and ease of use." - PC Magazine
> > > http://uk.docs.yahoo.com/nowyoucan.html
> > >
> > > _______________________________________________
> > > Cmdist mailing list
> > > Cmdist@ccrma.stanford.edu
> > >
>
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
> > 
> > _______________________________________________
> > Cmdist mailing list
> > Cmdist@ccrma.stanford.edu
> >
>
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
> 
> _______________________________________________
> Cmdist mailing list
> Cmdist@ccrma.stanford.edu
>
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
> 



		
___________________________________________________________ 
All New Yahoo! Mail – Tired of Vi@gr@! come-ons? Let our SpamGuard protect you. http://uk.docs.yahoo.com/nowyoucan.html