[ann] [beep-announce] mostly successful installation on SBCL / Linux

pjm at spe.com pjm at spe.com
Sat Mar 4 15:08:26 UTC 2006


     I just installed cells-gtk-2006-02-16 on Fedora Core 4 using SBCL
0.9.10.  I originally tried SBCL 0.9.3 but got fatal errors.  I did
get one condition raised regarding redefinition of a constant, but
allowing it didn't seem to cause a problem.

     When I ran (test-gtk::gtk-demo) I got the following error:

* (test-gtk::gtk-demo)

debugger invoked on a CFFI:LOAD-FOREIGN-LIBRARY-ERROR in thread
#<THREAD "initial thread" {A68C4C9}>:
  Unable to load foreign library: libcellsgtk.so

Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [RETRY    ] Try loading the foreign library again.
  1: [USE-VALUE] Use another library instead.
  2: [ABORT    ] Exit debugger, returning to top level.

(CFFI::HANDLE-LOAD-FOREIGN-LIBRARY-ERROR
 "libcellsgtk.so"
 "Unable to load foreign library: ~A"
 "libcellsgtk.so")
0] 2

Attempting to build libcellsgtk.so as described in INSTALL.TXT
resulted in another error:

~> cd src/build/cells-gtk-2006-02-16/root/gtk-ffi/
~/<2>cells-gtk-2006-02-16/root/gtk-ffi> make
gcc -c gtk-adds.c `pkg-config --cflags --libs gtk+-2.0`
gtk-adds.c: In function 'gtk_adds_color_new':
gtk-adds.c:75: warning: incompatible implicit declaration of built-in function 'malloc'
gcc: -lgtk-x11-2.0: linker input file unused because linking not done
gcc: -lgdk-x11-2.0: linker input file unused because linking not done
gcc: -latk-1.0: linker input file unused because linking not done
gcc: -lgdk_pixbuf-2.0: linker input file unused because linking not done
gcc: -lm: linker input file unused because linking not done
gcc: -lpangoxft-1.0: linker input file unused because linking not done
gcc: -lpangox-1.0: linker input file unused because linking not done
gcc: -lpango-1.0: linker input file unused because linking not done
gcc: -lgobject-2.0: linker input file unused because linking not done
gcc: -lgmodule-2.0: linker input file unused because linking not done
gcc: -ldl: linker input file unused because linking not done
gcc: -lglib-2.0: linker input file unused because linking not done
gcc -shared -o libcellsgtk.so gtk-adds.o `pkg-config --cflags --libs gtk+-2.0`

     I downloaded the pre-built library from the cells-gtk site,
copied it to /usr/lib, and reran (test-gtk::gtk-demo) successfully.

Regards,

Patrick

------------------------------------------------------------------------
S P Engineering, Inc.    | The experts in large scale distributed OO
                         | systems design and implementation.
          pjm at spe.com    | (C++, Java, Common Lisp, Jini, CORBA, UML)

_______________________________________________
beep-announce mailing list
beep-announce at common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/cells-gtk-devel



More information about the announcements mailing list