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

Re: gEDA-user: Problem Compiling geda/gaf



Same output here:

:~$ pkg-config --errors-to-stdout --print-errors "glib-2.0 >= 2.4.0"
:~$ echo $?
0


Same stuff after updating right now:

checking for GLIB24... configure: error: Cannot find glib 2.4.x,
install it and rerun ./configure.




On 4/24/07, Dan McMahill <dan@xxxxxxxxxxxx> wrote:
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



--
Best Regards,

Felipe Balbi
felipebalbi@xxxxxxxxxxxxxxxxxxxxx


_______________________________________________ geda-user mailing list geda-user@xxxxxxxxxxxxxx http://www.seul.org/cgi-bin/mailman/listinfo/geda-user