|
From: | Mark Brand |
Subject: | Re: [Mingw-cross-env-list] gdk-pixbuf error in librsvg |
Date: | Mon, 27 Sep 2010 21:27:05 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100914 SUSE/3.1.4 Thunderbird/3.1.4 |
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 tolibtool: 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... yeschecking for gdk-pixbuf-query-loaders... /usr/bin/gdk-pixbuf-query-loadersThe 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/13b4bec191d2This builds OK for me. Could you give it a try? I hope somebody can try this with non-trivial librsvg and gtk applications.
Mark
[Prev in Thread] | Current Thread | [Next in Thread] |