Subject: graphics/gdk-pixbuf can't find build problem
To: None <tech-pkg@netbsd.org>
From: Chuck Cranor <chuck@ece.cmu.edu>
List: tech-pkg
Date: 01/06/2004 14:26:24
hi-

     i have a fresh system i'm trying to build up with -current and 
a newly updated pkgsrc.  graphics/gdk-pixbuf won't compile:

===> Building for gdk-pixbuf-0.22.0nb2
/usr/pkg/bin/gmake  all-recursive
gmake[1]: Entering directory `/usr/home/netbsd/cur/pkgsrc/graphics/gdk-pixbuf/work/gdk-pixbuf-0.22.0'
Making all in gdk-pixbuf
gmake[2]: Entering directory `/usr/home/netbsd/cur/pkgsrc/graphics/gdk-pixbuf/work/gdk-pixbuf-0.22.0/gdk-pixbuf'
Making all in pixops
gmake[3]: Entering directory `/usr/home/netbsd/cur/pkgsrc/graphics/gdk-pixbuf/work/gdk-pixbuf-0.22.0/gdk-pixbuf/pixops'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/usr/home/netbsd/cur/pkgsrc/graphics/gdk-pixbuf/work/gdk-pixbuf-0.22.0/gdk-pixbuf/pixops'
gmake[3]: Entering directory `/usr/home/netbsd/cur/pkgsrc/graphics/gdk-pixbuf/work/gdk-pixbuf-0.22.0/gdk-pixbuf'
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf  -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include   "-DPIXBUF_LIBDIR=\"/usr/X11R6/lib/gdk-pixbuf/loaders\"" -I/usr/pkg/include -I/usr/X11R6/include  -O2 -I/usr/pkg/include -I/usr/X11R6/include -c gdk-pixbuf.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf -I/usr/home/netbsd/cur/pkgsrc/graphics/gdk-pixbuf/work/.buildlink/include/glib/glib-1.2 -I/usr/home/netbsd/cur/pkgsrc/graphics/gdk-pixbuf/work/.buildlink/lib/glib/include -DPIXBUF_LIBDIR=\"/usr/X11R6/lib/gdk-pixbuf/loaders\" -I/usr/home/netbsd/cur/pkgsrc/graphics/gdk-pixbuf/work/.buildlink/include -I/usr/home/netbsd/cur/pkgsrc/graphics/gdk-pixbuf/work/.buildlink-x11/include -O2 -I/usr/home/netbsd/cur/pkgsrc/graphics/gdk-pixbuf/work/.buildlink/include -I/usr/home/netbsd/cur/pkgsrc/graphics/gdk-pixbuf/work/.buildlink-x11/include -c gdk-pixbuf.c  -fPIC -DPIC -o .libs/gdk-pixbuf.o
In file included from gdk-pixbuf.c:30:
gdk-pixbuf.h:29:21: gdk/gdk.h: No such file or directory

then you get a lot of compile errors due to the missing gdk/gdk.h and
the compile dies.


there appears to be a gdk/gdk.h, but i guess it isn't being found.

xxxcdc> find . -name gdk.h
./work/.buildlink/include/gtk-1.2/gdk/gdk.h
xxxcdc> 


how can this problem be fixed?

chuck