Felipe Balbi wrote:
>
> On 4/24/07, Ales Hvezda <ahvezda@xxxxxxxx> wrote:
>> Hi,
>>
>> >
>> > checking for GLIB24... configure: error: Cannot find glib 2.4.x,
>> > install it and rerun ./configure.
>> > make: *** [libgeda/config.h] Error 1
>> >
>>
>> What version of glib do you have installed?
>>
>> pkg-config glib-2.0 --modversion
>>
>> The test in libgeda's configure is:
>>
>> glib-2.0 >= 2.4.0
>>
>> -Ales
> This version
>
> $ pkg-config glib-2.0 --modversion
> 2.12.4
>
> :-p
What does this show:
pkg-config --errors-to-stdout --print-errors "glib-2.0 >= 2.4.0"
echo $?
For reference, I get nothing for the pkg-config output and 0 for the
return code. If I change 2.4.0 to 2.14.0 (just some made up number
which is newer than what I have installed) I get:
Requested 'glib-2.0 >= 2.14.0' but version of GLib is 2.4.8
and a return code of 1.
Also I just checked in a change to configure.ac for libgeda to provide
some more verbose output when/if this check fails so that may help in
debugging.
-Dan
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user