Re: Compiling gtk error - png ???



Hi,

Sylvain ARNAUD <s_arnaud yahoo com> writes:

> I have exactly the same problem as Jose Marcio Martins
> da Cruz posted on Tue, 18 Mar 2003 while compiling GTK
> under Solairs 8 myself.
> It fails with the error:
> 
> make[3]: Entering directory
> `/local/Softs/SRC/tmp/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'
> 
> My configure options do not talk about static or
> dynamic library, I just tried "./configure
> --prefix=...", with the following variable set:
> PKG_CONFIG_PATH=/_TOOLS_/dist/libpng-1.2.5/sparc32-sun-solaris2.8/lib/pkgconfig:/_TOOLS_/dist/gnu-glib-2.2.1/sparc64-sun-solaris2.8/lib/pkgconfig:/_TOOLS_/dist/gnu-atk-1.3.0/sparc32-sun-solaris2.8/lib/pkgconfig:/_TOOLS_/dist/gnu-pango-1.2.1/sparc32-sun-solaris2.8/lib/pkgconfig
> LD_LIBRARY_PATH=/_TOOLS_/dist/gnu-glib-2.2.1/sparc64-sun-solaris2.8/lib:/_TOOLS_/dist/gnu-gcc-3.0.4-binutils-2.11.2/sparc64-sun-solaris2.8/lib:/usr/lib:/usr/openwin/lib:/usr/dt/lib
> LDFLAGS=-L/_TOOLS_/dist/libtiff-3.5.7/sparc32-sun-solaris2.8/lib
> -L/_TOOLS_/dist/jpeg6b/sparc64-sun-solaris2.8/lib
> -L/_TOOLS_/dist/libpng-1.2.5/sparc32-sun-solaris2.8/lib
> -L/_TOOLS_/dist/zlib-1.1.4/sparc64-sun-solaris2.8/lib
> CPPFLAGS=-I/_TOOLS_/dist/libtiff-3.5.7/sparc32-sun-solaris2.8/include
> -I/_TOOLS_/dist/jpeg6b/sparc64-sun-solaris2.8/include
> -I/_TOOLS_/dist/libpng-1.2.5/sparc32-sun-solaris2.8/include
> -I/_TOOLS_/dist/zlib-1.1.4/sparc64-sun-solaris2.8/include

Is libpng in your LD_LIBRARY_PATH at all? gdk-pixbuf-csource needs
this library and you can't just hide it somewhere on your disk and
expect this to work.


Sven



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