Re: G2.12 with jhbuild



C�ic Marcone wrote:

>Le lundi 13 juin 2005 �9:48 +0200, C�ic Marcone a �it :
>  
>
>>eog from CVS doesn't build with jhbuild :
>>
>>configure: error: Package requirements (gtk+-2.0 >= 2.6.0 gdk-pixbuf-2.0
>>    
>>
>>>= 2.4.0 gnome-vfs-2.0 >= 2.5.91 libgnomeui-2.0 >= 2.5.92 libglade-2.0
>>>= 2.3.6 libart-2.0 >= 2.3.16 libexif >= 0.5.12 libexif = 0.5.12) were
>>>      
>>>
>>not met.
>>
>>The only thing that was not built using jhbuild is libexif an I
>>installed libexif-dev 0.6.9.
>>
>>Any idea ?
>>    
>>
>
>
>I tracked that down to the following piece of code in configure.in :
>
>PKG_CHECK_MODULES(EXIF, libexif = $LIBEXIF_REQUIRED,
>have_old_libexif=yes, have_old_libexif=no)
>
>I don't know why but it sets have_old_libexif to "yes"
>
>If I manually do :
>
>#jhbuild shell
>
>#pkg-config --exists "libexif >= 0.5.12"
>#echo $?
>0
>
>#pkg-config --exists "libexif = 0.5.12"
>#echo $?
>1
>
>#pkg-config libexif --modversion
>0.6.9
>
>So my temporary solution is to disable the "old exif lib test"... and it
>works...
>
>If anyone with more insight could guide me I would be very happy ;)
>  
>
This bug is relevant:
    http://bugzilla.gnome.org/show_bug.cgi?id=300449

The problem is that newer pkg-config's pkg.m4 caches PKG_CHECK_MODULES()
results based on the variable name given, so the two consecutive
PKG_CHECK_MODULES() calls in the configure script both succeed, even
though they check for different things and the second one should fail.

James.



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