Re: Static compile of gtk+-2.2.4 on RH7.3



On Mon, 2 Feb 2004, Aaron Neerenberg wrote:
> OK.  If you are using --enable-static, then you will probably want to
> tell the build system what types of image loaders to compile in
> statically.  I use the following, but if you are only worried about png
> support, you can trim the list down to just png:
>
> --with-included-loaders=ani,bmp,gif,ico,png,pnm,ras,tga,tiff,wbmp,xpm

Hrm. After doing a "make distclean", and then "./configure --enable-static
--with-included-loaders=png", it seems to be blowing up in exactly the
same way:

Making all in stock-icons
make[3]: Entering directory `/usr/local/src/voip/gtk+-2.2.4/gtk/stock-icons'
GDK_PIXBUF_MODULE_FILE=../../gdk-pixbuf/gdk-pixbuf.loaders ../../gdk-pixbuf/gdk-pixbuf-csource                                                  \
   --raw --build-list stock_add_16 ./stock_add_16.png stock_add_24 ./stock_add_24.png stock_align_center_16 ./stock_align_center_16.png stock_align_center_24 ./stock_align_center_24.png stock_align_justify_16 ./stock_align_justify_16.png stock_align_justify_24 ./stock_align_justify_24.png stock_align_left_16 ./stock_align_left_16.png stock_align_left_24 ./stock_align_left_24.png stock_align_right_16 ./stock_align_right_16.png stock_align_right_24 ./stock_align_right_24.png stock_apply_20 ./stock_apply_20.png stock_cancel_20 ./stock_cancel_20.png stock_dnd_multiple_32 ./stock_dnd_multiple_32.png stock_bottom_16 ./stock_bottom_16.png stock_bottom_24 ./stock_bottom_24.png stock_cdrom_16 ./stock_cdrom_16.png stock_cdrom_24 ./stock_cdrom_24.png stock_clear_24 ./stock_clear_24.png stock_close_20 ./stock_close_20.png stock_close_24 ./stock_close_24.png stock_colorselector_24 ./stock_colorselector_24.png stock_color_picker_25 ./stock_color_picker_25.png > ./gtkstockpixbufs.h ||        \
           ( rm -f ./gtkstockpixbufs.h && false )
failed to load "./stock_add_16.png": Couldn't recognize the image file format for file './stock_add_16.png'
make[3]: *** [gtkstockpixbufs.h] Error 1
make[3]: Leaving directory `/usr/local/src/voip/gtk+-2.2.4/gtk/stock-icons'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/voip/gtk+-2.2.4/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/voip/gtk+-2.2.4'
make: *** [all-recursive-am] Error 2

cheers!

> On Mon, 2004-02-02 at 07:50, Gwendolynn ferch Elydyr wrote:
> > Hola!
> >
> > I'm trying to compile a static version of gtk+ 2.2.4 under RedHat 7.3,
> > using gcc 2.9.6. I've used "./configure --enable-static=gtk+", and have
> >
> > 	PKG_CONFIG=/usr/local/bin/pkg-config
> > 	PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig/:/usr/X11R6/lib/pkgconfig
> > 	LDFLAGS=-lsasl -lssl -lcrypto -ldl -lpng -lz -static
> > 	CFLAGS=-static
> >
> > set in my environment.
> >
> > While I thought that I'd resolved all of the usual dependancies for gtk,
> > I'm running into a problem halfway through my make:
> >
> > [snippage for size]
> > Making all in stock-icons
> > make[3]: Entering directory `/usr/local/src/voip/gtk+-2.2.4/gtk/stock-icons'
> > GDK_PIXBUF_MODULE_FILE=../../gdk-pixbuf/gdk-pixbuf.loaders ../../gdk-pixbuf/gdk-pixbuf-csource                                                  \
> >    --raw --build-list stock_add_16 ./stock_add_16.png stock_add_24 ./stock_add_24.png stock_align_center_16 ./stock_align_center_16.png stock_align_center_24 ./stock_align_center_24.png stock_align_justify_16 ./stock_align_justify_16.png stock_align_justify_24 ./stock_align_justify_24.png stock_align_left_16 ./stock_align_left_16.png stock_align_left_24 ./stock_align_left_24.png stock_align_right_16 ./stock_align_right_16.png stock_align_right_24 ./stock_align_right_24.png stock_apply_20 ./stock_apply_20.png stock_cancel_20 ./stock_cancel_20.png stock_dnd_multiple_32 ./stock_dnd_multiple_32.png stock_bottom_16 ./stock_bottom_16.png stock_bottom_24 ./stock_bottom_24.png stock_cdrom_16 ./stock_cdrom_16.png stock_cdrom_24 ./stock_cdrom_24.png stock_clear_24 ./stock_clear_24.png stock_close_20 ./stock_close_20.png stock_close_24 ./stock_close_24.png stock_colorselector_24 ./stock_colorselector_24.png stock_color_picker_25 ./stock_color_picker_25.png > ./gtkstockpixbufs.h ||
> >    \
> >            ( rm -f ./gtkstockpixbufs.h && false )
> > failed to load "./stock_add_16.png": Couldn't recognize the image file format for file './stock_add_16.png'
> > make[3]: *** [gtkstockpixbufs.h] Error 1
> > make[3]: Leaving directory `/usr/local/src/voip/gtk+-2.2.4/gtk/stock-icons'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/usr/local/src/voip/gtk+-2.2.4/gtk'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/usr/local/src/voip/gtk+-2.2.4'
> > make: *** [all-recursive-am] Error 2
> >
> > I thought that this might be a result of my pixbufloader being the wrong
> > version, so I upgraded that, but the error message didn't change. Pointers
> > would be very much appreciated - I'm rather out of inspiration.
> >
> > cheers!
> > ==========================================================================
> > "A cat spends her life conflicted between a deep, passionate and profound
> > desire for fish and an equally deep, passionate and profound desire to
> > avoid getting wet.  This is the defining metaphor of my life right now."
> >
> > _______________________________________________
> > gtk-list mailing list
> > gtk-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gtk-list
> --
>

==========================================================================
"A cat spends her life conflicted between a deep, passionate and profound
desire for fish and an equally deep, passionate and profound desire to
avoid getting wet.  This is the defining metaphor of my life right now."




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