[cells-gtk-devel] problem with setting up cells-gtk (on debian)
Peter Hildebrandt
peter.hildebrandt at gmail.com
Mon Jul 9 17:42:30 UTC 2007
Hi Daniel,
I remember similar issues when installing cells-gtk on my lab machine.
After reading in the gtk+ docs for a while I realized that the reason was
simply that my gtk was too old and thus did not provide all funcs which
test-gtk needs.
Hence, which version of gtk comes with your debian? Compare this to the
current version on http://www.gtk.org/ - 2.10.13.
You do not have to upgrade your distro if this is the reason -- I just
downloaded gtk+ and its dependencies from their website and built it from
source in my $home. After adding the respective paths, (lib and include)
to the corresponding variables, it worked fine.
HTH,
Peter
On Mon, 09 Jul 2007 10:20:44 -0700, Daniel Albuschat
<d.albuschat at gmail.com> wrote:
> Hello,
>
> I tried to install cells-gtk on debian, and strictly followed the
> instructions.
> Here are the exact steps:
> I downloaded cells-gtk-2006-06-30.tgz to
> /pub/packages/tar/cells-gtk-2006-06-30.tgz
> and unpacked it, so the extracted directory is
> /pub/packages/tar/cells-gtk-2006-06-30
>
> I cd'd to that dir, started emacs, executed slime, and executed
> (load "load"). I then noticed that I need to specify the correct path in
> load.lisp, as stated in INSTALL.TXT. I did that, did a second (load
> "load")
> and it went on to install cells-gtk. Half way thru it told me about not
> finding some libgobject*.so. I then apt-get installed the necessary
> libraries for gtk (mostly libgtk2.0-dev), changed into the root/gtk-ffi
> dir
> and did a 'make'. After copying the resulting libcellsgtk.so to ~/lib
> (which is
> in my LD_LIBRARY_PATH) I changed back into the install-rootdir, opened
> up emacs and slime, and ran (load "load") again.
> It compiled smoothly, and stated me to test itself with
> (test-gtk:gtk-demo)
>
> Running (test-gtk:gtk-demo) yields this result:
>
> FUNCALL: undefined function NIL
> [Condition of type SYSTEM::SIMPLE-UNDEFINED-FUNCTION]
>
> Restarts:
> 0: [USE-VALUE] You may input a value to be used instead of
> (FDEFINITION 'NIL).
> 1: [RETRY] Retry
> 2: [STORE-VALUE] You may input a new value for (FDEFINITION 'NIL).
> 3: [ABORT-REQUEST] Abort handling SLIME request.
> 4: [CLOSE-CONNECTION] Close SLIME connection
> 5: [ABORT] ABORT
>
> Backtrace:
> 0: #<COMPILED-FUNCTION SYSTEM::CHECK-VALUE>
> 1: #<COMPILED-FUNCTION GTK-FFI::G_THREAD_INIT>
> 2: #<COMPILED-FUNCTION GTK-FFI:G-THREAD-INIT>
> 3: #<COMPILED-FUNCTION CELLS-GTK:START-APP>
> 4: #<COMPILED-FUNCTION TEST-GTK:GTK-DEMO>
> 5: #<SYSTEM-FUNCTION EVAL>
> 6: #<COMPILED-FUNCTION SWANK::EVAL-REGION>
> 7: #<COMPILED-FUNCTION SWANK::LISTENER-EVAL-1>
> 8: #<COMPILED-FUNCTION #:|324 326 (DEFINTERFACE
> CALL-WITH-SYNTAX-HOOKS (FN) ...)-34-3-1|>
> 9: #<COMPILED-FUNCTION SWANK-BACKEND:CALL-WITH-SYNTAX-HOOKS>
> 10: #<COMPILED-FUNCTION SWANK::CALL-WITH-BUFFER-SYNTAX>
> 11: #<COMPILED-FUNCTION SWANK:LISTENER-EVAL>
> 12: #<SYSTEM-FUNCTION EVAL>
> 13: #<COMPILED-FUNCTION SWANK::EVAL-FOR-EMACS-1-4>
> 14: #<COMPILED-FUNCTION SWANK::EVAL-FOR-EMACS-1>
> 15: #<COMPILED-FUNCTION #:|567 572 (DEFINTERFACE
> CALL-WITH-DEBUGGER-HOOK (HOOK FUN) ...)-58-3-1|>
> 16: #<COMPILED-FUNCTION SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK>
> 17: #<COMPILED-FUNCTION SWANK::EVAL-FOR-EMACS>
> 18: #<COMPILED-FUNCTION SWANK::READ-FROM-EMACS>
> 19: #<COMPILED-FUNCTION SWANK::HANDLE-REQUEST-1>
> --more--
>
> This looks like some shared-object could not be loaded, imho.
> I don't understand what is going wrong exactly -- can you help me debug
> this issue further?
>
> Kind regards,
>
> Daniel Albuschat
>
More information about the cells-gtk-devel
mailing list