Compiling gtk error - png ???



Hello again,

When I try to compile gtk+-2.2.1, I have the following error
message :

gmake[3]: Entering directory
`/export/private/sources/gtk/gtk+-2.2.1/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'
gmake[3]: *** [gtkstockpixbufs.h] Error 1
gmake[3]: Leaving directory
`/export/private/sources/gtk/gtk+-2.2.1/gtk/stock-icons'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/export/private/sources/gtk/gtk+-2.2.1/gtk'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/private/sources/gtk/gtk+-2.2.1'
gmake: *** [all-recursive-am] Error 2
martins paris-new:sources/gtk/gtk+-2.2.1> 

I'm using the following command to configure gtk :

#! /bin/sh

PREFIX=/usr/local/gtk-2.2.1
export PREFIX

PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:/usr/local/lib/pkgconfig"
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
export PKG_CONFIG_PATH

./configure \
        --enable-static=yes \
        --enable-shared=no \
        --prefix=$PREFIX \
        --disable-gtk-doc \
        --disable-modules \
        --with-x
 
libpng is correctly (I think) installed.

Maybe someone have an idea...

Thanks


-- 
 ---------------------------------------------------------------
 Jose Marcio MARTINS DA CRUZ           Tel. :(33) 01.40.51.93.41
 Ecole Nationale Superieure des Mines de Paris   
 Centre de Calcul                      http://j-chkmail.ensmp.fr
 60, bd Saint Michel                http://www.ensmp.fr/~martins
 75272 - PARIS CEDEX 06      mailto:Jose-Marcio Martins ensmp fr        
 ---------------------------------------------------------------



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