Re: error compiling gtk-2.10.11



On Fri, Apr 27, 2007 at 10:56:22AM -0500, Yevgen Muntyan wrote:
> >----------8<----------
> >/bin/sh ../libtool --mode=link arm-iwmmx-linux-gnueabi-gcc  -g -O2 -Wall  
> >-L/some/path/local/arm-iwmmx-linux-gnueabi/lib 
> >-L/some/path/local/arm-iwmmx-linux-gnueabi/usr/lib -Wl,-rpath-link 
> >-Wl,/some/path/local/arm-iwmmx-linux-gnueabi/usr/lib -o 
> >gtk-update-icon-cache  updateiconcache.o 
> >../gdk-pixbuf/libgdk_pixbuf-2.0.la mkdir .libs
> >arm-iwmmx-linux-gnueabi-gcc -g -O2 -Wall -Wl,-rpath-link 
> >-Wl,/some/path/local/arm-iwmmx-linux-gnueabi/usr/lib -o 
> >.libs/gtk-update-icon-cache updateiconcache.o  
> >-L/some/path/local/arm-iwmmx-linux-gnueabi/lib 
> >-L/some/path/local/arm-iwmmx-linux-gnueabi/usr/lib 
> >../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so -lm
> >creating gtk-update-icon-cache
> >make[4]: Leaving directory `/some/path/build-target/gtk+-2.10.11/gtk'
> >/usr/bin/gtk-update-icon-cache --force --ignore-theme-index             \
> >           --source builtin_icons stock-icons > gtkbuiltincache.h.tmp &&   
> >           \
> >        mv gtkbuiltincache.h.tmp gtkbuiltincache.h
> >No theme index file in '--force'.
> >If you really want to create an icon cache here, use --ignore-theme-index.
> >make[3]: *** [gtkbuiltincache.h] Error 1
> >----------8<----------
> >  
> Using debian with gtk-2.8 as host system?

Yup. Bad enough, but gtk is not very cross compilation friendly in this
regard. I'd have to build gtk-update-icon-cache for the host, but in
order to even configure it in a separate directory, it is necessary to
install glib/atk/pango/cairo/fontconfig/half-of-X, although it would
probably only need glib. I've no real idea for a good solution, probably
something like a '--enable-tools' and '--enable-libs' switches, which
default to the current case, but make it possible to build only these
tools necessary for a cross build.

> You need gtk-update-icon-cache from gtk-2.10.

The code that hardcodes argv[1] to be the filename is equal in both
versions, so I don't see why it shoud work differently. But maybe I'm
missing something. Did you test it, or is it just an assumption?

Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9




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