Re: Building without png



lucy brophy <lucy brophy ireland sun com> writes:

> I was trying to build without png and encountered the following error:
> 
> make[3]: Entering directory
> `/export/home/Accessibility/CVS0105/gtk+/gtk/stock-icons'
> GDK_PIXBUF_MODULEDIR=../../gdk-pixbuf/.libs \
>    ../../gdk-pixbuf/make-inline-pixbuf ./gtkstockpixbufs.h dialog_error
> ./dialog_error.png dialog_info ./dialog_info.png dialog_question
> ./dialog_question.png dialog_warning ./dialog_warning.png
> stock_button_apply ./stock_button_apply.png stock_button_cancel
> ./stock_button_cancel.png stock_button_close ./stock_button_close.png
> stock_button_no ./stock_button_no.png stock_button_ok
> ./stock_button_ok.png stock_button_yes ./stock_button_yes.png
> stock_close ./stock_close.png stock_exit ./stock_exit.png stock_help
> ./stock_help.png stock_new ./stock_new.png stock_open ./stock_open.png
> stock_save ./stock_save.png
> Unable to load image-loading module:
> ../../gdk-pixbuf/.libs/libpixbufloader-png.so: couldn't open libtool
> archive
> make[3]: *** [gtkstockpixbufs.h] Error 1
> make[3]: Leaving directory
> `/export/home/Accessibility/CVS0105/gtk+/gtk/stock-icons'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/export/home/Accessibility/CVS0105/gtk+/gtk'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/export/home/Accessibility/CVS0105/gtk+'
> make: *** [all-recursive-am] Error 2
> 
> I thought that it wasn't supposed to build with anything needing png if
> I didn't have it?

It currently doesn't work because the source format of the stock
icons is PNG files.

In fact, it probably never will work without libpng out of CVS, but we
need to fix it so that the conversion of the stock icons from PNG
files is done when making a tarball, so libpng isn't needed when
building from a tarball.

You might want to file a bug report on bugzilla.gnome.org to this
effect.

(Note: building without libpng is only recommended for specialized
applications such as embedded applications. Support for loading
PNG files is a facility that GTK+-based applications should be
able to depend upon.)

Regards,
                                        Owen




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