glib 2.16.6 problem



I am trying to get gtkmm-2.14.3 installed on my development system. I
have installed glib-2.18.2, which is required for gtk+-2.14.4. However,
when I try to build gtk+, it fails the configure step with the message 

'pkg-config --modversion ... returned 2.18.2, but GLIB (2.16.6) was
found!

I first ran into that a couple of weeks ago. Eventually I did install
2.16.6 just so that I could uninstall it, but that didn't help. Then I
did install it. I have since installed 2.18.2 (I forgot to uninstall
2.16.6 first) and am still encountering that problem.

I looked at the configure.in script and am confused about where it is
getting the bad release number. It calls g_strdup() to get a version
number. It then parses that number (sscanf) into major, minor and micro
but uses different variables (memory escapes me at the moment) for
comparison. As far as I can see, those variables that are used are never
initialized. However, I am a Linux newbie and am *VERY* weak on
scripting, so I may be wrong on that point.

Just for grins I uninstalled glib-2.18.2, then tried to build gtk+
again. It failed the configure step, but the message suggested that it
couldn't find ANY glib-2.0 (>= 2.17.6). That seems to suggest to me that
SOMEHOW the 2.18.2 is masquerading as 2.16.6.

Can anyone please help me get this straightened out? TIA!

Chuck Crisler




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]