mingw-cross-env-list
[Top][All Lists]
Advanced

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

Re: [Mingw-cross-env-list] gdk-pixbuf error in librsvg


From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] gdk-pixbuf error in librsvg
Date: Tue, 28 Sep 2010 23:41:12 +1000

On 28 September 2010 05:27, Mark Brand <address@hidden> wrote:
>
>>> I'm getting the following error with librsvg on Ubuntu:
>>>
>>> checking whether to build the GDK-Pixbuf SVG loader... yes
>>> checking for GDK_PIXBUF... yes
>>> checking for gdk-pixbuf-query-loaders... none
>>> configure: error: gdk-pixbuf-query-loaders not found in path
>>>
>>> Looking through the gdk-pixbuf log, there's lots of these warnings:
>>>
>>> libtool: link: Could not determine host path corresponding to
>>> libtool: link:
>>> `/home/tonytheodore/mingw-cross-env/usr/i686-pc-mingw32/bin'
>>> libtool: link: Continuing, but uninstalled executables may not work.
>>>
>>> The --disable-pixbuf-loader option fixes it, but it's been explicitly
>>> enabled so I'm not sure if that's the best thing. Maybe we need a
>>> native build step in gdk-pixbuf?
>>
>> Hmm. I didn't see that error, obviously because I have a native
>> gdk-pixbuf-query-loaders:
>>
>> checking whether to build the GDK-Pixbuf SVG loader... yes
>> checking for GDK_PIXBUF... yes
>> checking for gdk-pixbuf-query-loaders... /usr/bin/gdk-pixbuf-query-loaders
>>
>> The documentation [1] says that this utility "..collects information about
>> loadable modules for gdk-pixbuf and writes it to the default cache file
>> location..".  I wonder if these modules are some kind of shared library like
>> plugins in Qt. In that case, maybe this utility isn't really relevant to our
>> static situation. This suggests that --disable-pixbuf-loader (which is the
>> default) is the right choice, but my understanding of this is meager.
>>
>> I also wonder about what happens to these "modules" in our static build.
>>
>> Does anybody know about the option "--disable-modules       disable
>> dynamic module loading" in gdk-pixbuf and gtk?
>>
>> [1]
>> http://library.gnome.org/devel/gdk-pixbuf/stable/gdk-pixbuf-query-loaders.html
>>
>>
>
>
> I decided to go with this idea and disable gdk-pixbuf dynamic module
> loading, assuming it doesn't make sense for static libs anyway. This means
> that librsvg cannot build its loadable module for gdk-pixbuf, but that's
> probably nothing new.
>
> http://hg.savannah.gnu.org/hgweb/mingw-cross-env/rev/13b4bec191d2
>
> This builds OK for me. Could you give it a try? I hope somebody can try this
> with non-trivial librsvg and gtk applications.

Building OK here - no app to test it with though.

Thanks,

Tony



reply via email to

[Prev in Thread] Current Thread [Next in Thread]