build problem
To: Juan RP <juan@xtraeme.unixbsd.org>
From: Chuck Cranor <chuck@ece.cmu.edu>
List: tech-pkg
Date: 01/06/2004 15:46:20
On Tue, Jan 06, 2004 at 08:42:27PM +0100, Juan RP wrote:
> > In file included from gdk-pixbuf.c:30:
> > gdk-pixbuf.h:29:21: gdk/gdk.h: No such file or directory
> Do you have installed gtk in ${X11BASE}?
> I had some strange problems when gtk was installed without xpkgwedge, later when
> already had installed xpkgwedge, dependents packages did fail complaining about
> missing headers, perhaps that's the problem.
i have gtk+-1.2.10nb5 installed, it appears to be in ${X11BASE}.
i didn't do anything with xpkgwedge... basically i started with a
fresh pkgsrc checkout and no third party software installed, then
i started doing "make update" various pkgsrc directories (e.g.
www/MozillaFirebird which has this graphics/gdk-pixbuf as a requirement).
> What's the output for make show-var VARNAME=CFLAGS ?
% make show-var VARNAME=CFLAGS
-O2 -I/usr/pkg/include -I/usr/X11R6/include
%
> Err, gtk-config --cflags I mean.
% gtk-config --cflags
-I/usr/X11R6/include/gtk-1.2 -I/usr/X11R6/include
%
in fact, i have a file /usr/X11R6/include/gtk-1.2/gdk/gdk.h on my system
as well.
looking at the make output, it looks like it maybe should be adding an
"-I/usr/home/netbsd/cur/pkgsrc/graphics/gdk-pixbuf/work/.buildlink/include/gtk-1.2"
to the 'cc' command, but it is not.
chuck