From owner-freebsd-gnome@FreeBSD.ORG Fri May 30 21:25:32 2003 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8015E37B401 for ; Fri, 30 May 2003 21:25:32 -0700 (PDT) Received: from kiwi-computer.com (megan.kiwi-computer.com [63.224.10.3]) by mx1.FreeBSD.org (Postfix) with SMTP id 74F5D43F93 for ; Fri, 30 May 2003 21:25:29 -0700 (PDT) (envelope-from rick@kiwi-computer.com) Received: (qmail 5592 invoked by uid 2001); 31 May 2003 04:25:24 -0000 Message-ID: <20030531042524.5591.qmail@kiwi-computer.com> From: rick@kiwi-computer.com To: gnome@freebsd.org Date: Fri, 30 May 2003 23:25:24 -0500 (CDT) X-Mailer: ELM [version 2.4ME+ PL99b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Subject: guile-gobject problems X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 May 2003 04:25:32 -0000 Hello. Not too long ago I requested the addition the port for GNOME-2 bindings to GUILE, and rather quickly I saw guile-gobject-0.4.0 port available. I thank you again for this. However I am having a problem getting it to work and was wondering if anybody else has had any luck with it. Likely the problem is with gui-egobject and not with the port, but someone might be able to help anyway :-P I know the ports tree is frozen right now but if you happen upon a patch to make this work, please send it my way. If not, I guess I will try to contact the authors. If I try the following source code: (use-modules (gnome gobject)) I get the following error message: ERROR: In procedure make-instance: ERROR: Bad getter and setter for slot `gtype' in #< 808f4d0>: (# # 27) ABORT: (goops-error) I have limited knowledge of GUILE and the goops system so it's rather difficult to locate the problem. Perhaps I'm doing something wrong; there doesn't seem to be any documentation on using guile-gobject, and it looks like a GObject-specific problem (GType). After hours of reading the code, I can't seem to fix this. My last resort is to use just plain GUILE and manually bind Scheme functions to those referenced in C, without using goops. Any suggestions are appreciated! Thanks again for all the GNOME & related ports to FreeBSD. I'm exclusively using FreeBSD/GNOME-2 for application development now, -- Rick C. Petty Senior Software Engineer, KIWI Computer --------------------------------------------------------------- rick@kiwi-computer.com http://www.kiwi-computer.com/