[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 1.9.6 has problems with glib :(
From: |
Ludovic Courtès |
Subject: |
Re: 1.9.6 has problems with glib :( |
Date: |
Mon, 03 Apr 2006 13:43:29 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) |
Hi,
Priit Laes <address@hidden> writes:
> During the build it complained about the missing glib.h file.
>
> I had to do this:
>
> box770 g-wrap-1.9.6 # diff -u configure.ac.orig configure.ac
> --- configure.ac.orig 2006-03-08 14:49:54.000000000 +0200
> +++ configure.ac 2006-03-08 15:13:05.000000000 +0200
> @@ -95,7 +95,7 @@
> AM_CONDITIONAL(HAVE_SRFI_35, test "$HAVE_SRFI_35" = yes)
>
> dnl Check for optional libraries
> -PKG_CHECK_MODULES(GLIB, glib, [have_glib=yes], [have_glib=no])
> +PKG_CHECK_MODULES(GLIB, glib-2.0, [have_glib=yes], [have_glib=no])
> AM_CONDITIONAL(HAVE_GLIB, test "$have_glib" = yes)
I am not a GLib expert, but on my system, I have both `glib.pc' and
`glib-2.0.pc' in `/usr/lib/pkgconfig'. Of course, they are different
(i.e., the former actually describes GLib 1.2) but according to my
G-Wrap's `config.log', it chose GLib 1.2 at configure-time and
everything worked fine. This means, I guess, that G-Wrap may be built
with either 1.2 or 2.x.
Maybe more and more people now have only GLib 2 installed, so it would
make sense to apply your patch for this very reason. Or to augment your
patch in order to keep supporting both versions.
Andreas?
Thanks,
Ludovic.
- Re: 1.9.6 has problems with glib :(,
Ludovic Courtès <=