Subject: problems building gnome_print
To: None <netbsd-help@netbsd.org>
From: Bjorn Schothuis <plonnie@home.nl>
List: netbsd-help
Date: 09/25/2002 13:23:09
Hi, Iv'e got some problems building packages. I was trying to make update gnome_core lately. Eventualy it arived at /usr/pkgsrc/print/gnome_print en it stopped with:

cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl -I../intl -I/usr/pkgsrc/print/gnome-print/work/.buildlink/include/gnome-1.0 -DNEED_GNOMESUPPORT_H
 -I/usr/pkgsrc/print/gnome-print/work/.buildlink/lib/gnome-libs/include -I/usr/pkgsrc/print/gnome-print/work/.buildlink/include/gtk-1.2 -I/usr/p
kgsrc/print/gnome-print/work/.buildlink/include/glib/glib-1.2 -I/usr/pkgsrc/print/gnome-print/work/.buildlink/lib/glib/include -I/usr/pkg/share/
x11-links/include -I/usr/pkgsrc/print/gnome-print/work/.buildlink/include/gdk-pixbuf-1.0 -I/usr/pkgsrc/print/gnome-print/work/.buildlink/include
/ -I/usr/pkgsrc/print/gnome-print/work/.buildlink/include/gnome-xml -I/usr/pkgsrc/print/gnome-print/work/.buildlink/include -DPROFILEDIR=\"/usr/
pkg/share/gnome-print/profiles/\" -DGNOMEPRINT_LIBDIR=\"/usr/pkg/lib\" -I/usr/pkgsrc/print/gnome-print/work/.buildlink/include -I/usr/pkg/share/
x11-links/include -I/usr/pkgsrc/print/gnome-print/work/.buildlink/include/gtk-1.2 -I/usr/pkgsrc/print/gnome-print/work/.buildlink/include/glib/g
lib-1.2 -I/usr/pkgsrc/print/gnome-print/work/.buildlink/lib/glib/include -I/usr/pkg/share/x11-links/include -DGNOMELOCALEDIR=\"/usr/pkg/share/lo
cale\" -DBINDIR=\"/usr/pkg/bin\" -DDATADIR=\"/usr/pkg/share\" -DFONTMAPDIR_STATIC=\"/usr/pkg/share/gnome/fonts\" -DFONTMAPDIR_DYNAMIC=\"/usr/pkg
/etc/gnome/fonts\" -I/usr/pkgsrc/print/gnome-print/work/.buildlink/include -O2 -I/usr/pkg/share/x11-links/include -Wall -Wunused -c gnome-print-
ps2.c  -fPIC -DPIC -o .libs/gnome-print-ps2.o
In file included from gnome-print-ps2.c:51:
../libgnomeprint/gnome-font-private.h:25: freetype/freetype.h: No such file or directory
*** Error code 1

Stop.

make: stopped in /usr/pkgsrc/print/gnome-print/work/gnome-print-0.35/libgnomeprint


Now I've cheked if freetype2 is there and it is (installed with xfree86) also when I check the work dir it has

root@gonzo /usr/pkgsrc/print/gnome-print/work/.buildlink/include/freetype2/freetype>
lrwxr-xr-x  1 root  wheel   48 Sep 23 20:37 freetype.h -> /usr/X11R6/include/freetype2/freetype/freetype.h

And I also checked that 

root@gonzo /usr/X11R6/include/freetype2/freetype>
-r--r--r--  1 root  35  162017 Mar  1  2002 freetype.h

is there (and as you see it is).

Now I've tried everything I could think of (make clean from /usr/pkgsrc) pkg_delete's and I also updated to 1.6 with a brandnew /usr/pkgsrc but everytime it comes back with the same error.

So it looks like I have to look somewhere else :) But I haven't got Aa clue where to look.

Also. this is not the only pakages wich I encounterd problems with. There these days (on my system) many packages which stop make 'cause of some link says it looks like to be moved durin the build. ala:

libtool: link: warning: `/usr/pkgsrc/devel/pango/work/.buildlink/lib/libgobject-2.0.la' seems to be moved
libtool: link: warning: `/usr/pkgsrc/devel/pango/work/.buildlink/lib/libgmodule-2.0.la' seems to be moved
libtool: link: warning: `/usr/pkgsrc/devel/pango/work/.buildlink/lib/libglib-2.0.la' seems to be moved
libtool: link: warning: `/usr/pkgsrc/devel/pango/work/.buildlink/lib/libiconv.la' seems to be moved
libtool: link: warning: `/usr/pkgsrc/devel/pango/work/.buildlink/lib/libintl.la' seems to be moved


But On the other hand I also experienced the perfect building of mozilla (I know. Not wise) which also depends on freetype2.

Can anyone give me a clue of where to look, what to check or anything?

Bjorn Schothuis