Re: Compiling gtk error - png ???
- From: John Cupitt ng-london org uk
- To: Jose-Marcio Martins ensmp fr
- Cc: gtk-list gnome org
- Subject: Re: Compiling gtk error - png ???
- Date: Mon, 24 Mar 2003 20:28:28 -0000
Hi, you don't say which version of libpng you have, could that be the
problem?
I know on SuSE I had to build my own libpng, since they only ship 1.0, and
gtk needs 1.2 or later (I think).
John
Jose Marcio Martins da Cruz wrote:
>
> 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
>
>
==========================================================
Current Exhibition:
T I T I A N
Until 18 May 2003
Advance Booking Recommended
Open every day
Wed-Sat late opening until 9pm
For information and tickets:
http://www.nationalgallery.org.uk/exhibitions/titian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]