Building gtk+ fails with "Couldn't recognize the image file format ...png"



Hello.  I am actually using jhbuild (for the first time), but I did not
find a jhbuild mailing list, so I hope that garnome-list is OK.

I have a fresh install of Fedora 4, and have followed the instructions
that I found on live.gnome.org re jhbuild.  When it gets to building gtk
+, I get:

-------------------------
make[4]: Entering directory `/home/ntao/cvs/gtk+/gtk/stock-icons'
GDK_PIXBUF_MODULE_FILE=../../gdk-pixbuf/gdk-pixbuf.loaders ../../gdk-pixbuf/gdk-pixbuf-csource                                          \
   --raw --build-list stock_about_16          ./stock_about_16.png
stock_about_24          ./stock_about_24.png
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_about_16.png": Couldn't recognize the image file
format for file './stock_about_16.png'
-------------------------

And I think that I have all the right png libraries (but does gdk roll
its own anyway!?)

-------------------------
15:05:31 asterix:~ yum list *png*
Setting up repositories
Reading repository metadata in from local files
Installed Packages
libpng.i386                  2:1.2.8-2      installed
libpng-devel.i386            2:1.2.8-2      installed
libpng10.i386                1.0.18-2       installed
libpng10-devel.i386          1.0.18-2       installed
-------------------------

What should I do from here?  Is this a gtk+ problem, a jhbuild problem,
a configuration problem on my machine (it's a *fresh* install), or am I
missing other packages?  I found an old, open bug at
http://bugzilla.gnome.org/show_bug.cgi?id=108718 , but I don't know
enough Makefile or gcc magic to grok what some of the comments are
suggesting as a fix.

Thanks for any help,
Nigel.




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