Re: cannot build gtk_-2.0.9

George Strauss <george gnome org> writes:

> Hi,
> I hope someone can help. I am trying to build gtk+-2.0.9 without
> libpng, libjpeg and libtiff.
> It configures but refuses to build. The following error message is
> generated.
> GDK_PIXBUF_MODULEDIR=../../gdk-pixbuf
> ../../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 >
> ./gtkstockpixbufs.h ||    \
>            ( rm -f ./gtkstockpixbufs.h && false )
> failed to load "./stock_add_16.png": Image type 'png' is not supported
> make[3]: *** [gtkstockpixbufs.h] Error 1
> make[3]: Leaving directory
> `/export/home/george2/temp/gtk+-2.0.9/gtk/stock-icons'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/export/home/george2/temp/gtk+-2.0.9/gtk'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/export/home/george2/temp/gtk+-2.0.9'
> make: *** [all-recursive-am] Error 2
> I do not know if I am doing something wrong or if the --without-libpng
> configure option is meaningless.  Any help is greatly
> appreciated. Thanks in advance.

It's meant for people building GTK+ in very specialized circumstances,
and not recommended; PNG is the recommended image format that most
apps expect to be present. It isn't expected to work without some special 
work. If you compile GTK+ twice, once with libpng, then a second
time disabling libpng, you'll probably get a working GTK+ without the


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