On 23 Apr 2005, at 9:36 AM, Jean-Fran�ois Mertens wrote:


On 23 Apr 2005, at 11:38, Djun Kim wrote:

make all-recursive
Making all in glade
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"libglade\" -I.. -I/sw/include/libxml2 -I/sw/include -I/sw/include/atk-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/gtk-2.0 -I/sw/lib/gtk-2.0/include -I/usr/X11R6/include -I/sw/include/pango-1.0 -I/usr/X11R6/include/freetype2 -DGLADE_LIBDIR=\""/sw/lib"\" -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -no-cpp-precomp -I/sw/include -O3 -funroll-loops -fstrict-aliasing -Wall -std=c9x -MT glade-init.lo -MD -MP -MF ".deps/glade-init.Tpo" \
-c -o glade-init.lo `test -f 'glade-init.c' || echo './'`glade-init.c; \
then mv -f ".deps/glade-init.Tpo" ".deps/glade-init.Plo"; \
else rm -f ".deps/glade-init.Tpo"; exit 1; \
fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"libglade\" -I.. -I/sw/include/libxml2 -I/sw/include -I/sw/include/atk-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/gtk-2.0 -I/sw/lib/gtk-2.0/include -I/usr/X11R6/include -I/sw/include/pango-1.0 -I/usr/X11R6/include/freetype2 -DGLADE_LIBDIR=\"/sw/lib\" -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -no-cpp-precomp -I/sw/include -O3 -funroll-loops -fstrict-aliasing -Wall -std=c9x -MT glade-init.lo -MD -MP -MF .deps/glade-init.Tpo -c glade-init.c -fno-common -DPIC -o .libs/glade-init.o
In file included from /sw/include/gtk-2.0/gdk/gdkcursor.h:5,
from /sw/include/gtk-2.0/gdk/gdk.h:31,
from /sw/include/gtk-2.0/gtk/gtkwidget.h:30,
from ../glade/glade-xml.h:26,
from glade-build.h:28,
from glade-init.c:33:
/sw/include/gdk-pixbuf/gdk-pixbuf.h:136: error: parse error before "GdkRgbDither"
/sw/include/gdk-pixbuf/gdk-pixbuf.h:145: error: parse error before "GdkRgbDither"

I don't have this file _ gdk-pixbuf installs only /sw/include/gdk-pixbuf-1.0/gdk-pixbuf/gdk-pixbuf.h. What yields
dpkg -S /sw/include/gdk-pixbuf/gdk-pixbuf.h
???

Hmm, I don't know how this file got here either:

    %  dpkg -S /sw/include/gdk-pixbuf/gdk-pixbuf.h
    dpkg: /sw/include/gdk-pixbuf/gdk-pixbuf.h not found.

I've just removed the gdk-pixbuf package via fink and re-installed it, and now I get:

    % dpkg -S /sw/include/gdk-pixbuf-1.0/gdk-pixbuf/gdk-pixbuf.h
    gdk-pixbuf: /sw/include/gdk-pixbuf-1.0/gdk-pixbuf/gdk-pixbuf.h

There was a previously installed symlink /sw/include/gdk-pixbuf -> /sw/include/gdk-pixbuf-1.0,
which was removed, and is no longer present.


    This seems to have fixed the problems - thanks!

    Djun


And it is clearly /sw/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h (from gtk+2-dev) that should be included here.
It wasn't because -I/sw/include comes before -I/sw/include/gtk-2.0 in the command ...


JF Mertens


--
Djun M. Kim, Director [EMAIL PROTECTED]
Cielo Systems Inc. http://www.cielosystems.com
Strategic Software Research Tel: (604) 739-3941
302 - 1298 10th Avenue West FAX: (604) 739-3943
Vancouver, BC, V6H 1J4 Mobile:(778) 895-1379




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to