[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Taming the beast [was: Re: guile-gobject 0.3.0 Released]
From: |
rm |
Subject: |
Taming the beast [was: Re: guile-gobject 0.3.0 Released] |
Date: |
Wed, 6 Feb 2002 14:35:21 +0100 |
User-agent: |
Mutt/1.3.24i |
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