Jim Henderson wrote:
On Tue, 16 May 2006 16:30:58 +0100, Brad Rogers wrote:
On Tue, 16 May 2006 09:31:39 -0500
Charles Kerr <[EMAIL PROTECTED]> wrote:
Hello Charles,
What version of glib do you have installed?
It seems I have two versions;
glib1 1.2.10
glib2 2.8.0
This is entirely a valid installation - but note your glib2 version is
2.8.0, Charles indicated that the call in question was introduced in a
later version, 2.10 - you need to update glib2.
No, that shouldn't be necessary -- Pan works with older versions too.
At compile time, Pan uses preprocessor #if statements to work either
way, like this:
#if GLIB_CHECK_VERSION(2,10,0)
int * new_order = (int*) g_slice_alloc (n * sizeof(int));
#else
int * new_order = g_new (gint, n);
#endif
If Mandriva's layout isn't too different from RH,
GLIB_CHECK_VERSION(2,10,0) will be looking at
/usr/include/glib-2.0/include/glibconfig.h,
which has lines like these:
#define GLIB_MAJOR_VERSION 2
#define GLIB_MINOR_VERSION 10
#define GLIB_MICRO_VERSION 0
So my first thought is that somehow that glibconfig.h is from 2.10
but the glib library that /usr/lib/pkg-config/glib-2.0.pc is pointing
to is 2.8.
This could be the case if the glib2 rpm is 2.8 and glib2-devel is 2.10,
or if the files have been tweaked by hand. Otherwise I'm not sure how
it could happen.
What does your glibconfig.h say your major/minor/micro versions are?
Charles
_______________________________________________
Pan-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/pan-users