From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14327 invoked by alias); 6 Feb 2002 13:24:38 -0000 Mailing-List: contact guile-gtk-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: guile-gtk-owner@sources.redhat.com Received: (qmail 14216 invoked from network); 6 Feb 2002 13:24:28 -0000 Received: from unknown (HELO www.elogos.de) (212.18.192.92) by sources.redhat.com with SMTP; 6 Feb 2002 13:24:28 -0000 Received: by www.elogos.de (Postfix, from userid 5001) id 7928F1049A3; Wed, 6 Feb 2002 14:35:21 +0100 (CET) Date: Wed, 06 Feb 2002 05:24:00 -0000 To: "Neil W. Van Dyke" Cc: guile-gtk@sourceware.cygnus.com, guile-user@gnu.org, guile-devel@gnu.org Subject: Taming the beast [was: Re: guile-gobject 0.3.0 Released] Message-ID: <20020206133521.GA3525@www> References: <1012242485.705.3.camel@soleil> <15455.2102.116139.730545@winona.neilvandyke.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15455.2102.116139.730545@winona.neilvandyke.org> User-Agent: Mutt/1.3.24i From: rm@fabula.de X-SW-Source: 2002-q1/txt/msg00020.txt.bz2 On Mon, Feb 04, 2002 at 05:16:22PM -0500, Neil W. Van Dyke wrote: > In case anyone else has trouble building guile-gobject 0.3.0, here's the > minor changes I needed. Haven't actually run it, but it compiled. > > 1. File "gobject/guile-gnome-gobject-primitives.c": Renamed identifiers > beginning with "g_param_get_" to begin with "g_param_spec_get_", per > http://mail.gnome.org/archives/gnome-2-0-list/2001-November/msg00121.html > > 2. File "corba/Makefile.in": Added "$(GUILE_CFLAGS)" to "INCLUDES". > > 3. File "corba/guile-gnome-corba-types.c": Temporarily added explicit cast to > get it to compile: g_message (G_STRLOC ": %d", (int)gtype); > > 4. Dependency on "libxml2" devel library does not seem to be checked by > configure script. Other libraries might also need checking; this one > noticed only because this particular box happened to be missing that > library. Thanks for this info, it saved some time. Even after applying your changes i couldn't compile guile-gobject with my CVS guile . It seems that the code uses some deprecated/removed features. To get a more or less error free compile i had to do the following: - change type 'scm_bits_t' to 'scm_t_bits' (see file NEWS in guile-core). - change 'LIST1, LIST2 ... LISTN' to 'scm_list_1 ... scm_list_n' (again, see file NEWS in guile-core). With these modifications i can at least compile the shared library part. Now, during 'make' i get the following errror: | make[2]: Entering directory `/home/ralf/projects/guile-gobject-0.3.0/gobject' | FLAVOR=gnome guile -c \ | "(set! %load-path (cons \"..\" %load-path)) \ | (primitive-load \"./gnome-gobject.gwp\")" | ERROR: Unbound variable: nil | make[2]: *** [gnomegobject.h] Error 2 | make[2]: Leaving directory `/home/ralf/projects/guile-gobject-0.3.0/gobject' | make[1]: *** [all-recursive] Error 1 | make[1]: Leaving directory `/home/ralf/projects/guile-gobject-0.3.0' | make: *** [all-recursive-am] Error 2 | Hmm, no idea where 'nil' is supposed to come from. A quick grep didn't reveal anything. Ariel, any hints? Ralf Mattes